mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
NullPointerException when leveraging Module.text
#121
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ffluk3 on GitHub (Mar 21, 2024).
I received the following exception as a one-off when running
evalPkl:Here is my effective gradle configuration:
This issue was transient - only seen once thus far, but thought I would surface!
@bioball commented on GitHub (Mar 21, 2024):
Thanks for the report. Are you able to share the contents of
default.pklandproduction.pkl?@ffluk3 commented on GitHub (Mar 22, 2024):
Sure! They are quite simple, this is a toy model 😄:
default.pklproduction.pkl@ffluk3 commented on GitHub (Apr 19, 2024):
@bioball have y'all had a chance to look at this? We are still seeing this once in a while when leveraging the gradle plugin.
@bioball commented on GitHub (Apr 20, 2024):
I haven't been able to reproduce this; this is passing pretty consistently for me.
How often does this happen for you?
Also, what Java version and Gradle version are you on?
@ffluk3 commented on GitHub (Apr 20, 2024):
Here are the versions. I would say this happens 1-2% of the time at most, quite infrequent.
@bioball commented on GitHub (Apr 26, 2024):
Hm... this is pretty weird. I wrote a small script to call
evalPklover and over again, ran it for over an hour, and it didn't fail a single time.Also, nothing about the code that you shared does anything that would cause consecutive executions to fail. There's no I/O asides from reading/writing to disk.