You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but doing anything with the bytestring results in error at some point.
I can print the bytestream but stack traces will print afterwords.
Trying something like this:
LBS.length myLBS
will exception immediatelly
The error looks like this:
Caused by: eta.runtime.exception.EtaException: Exception was thrown in rendering exception of type class java.lang.NullPointerException
at base.foreign.c.Error$throwErrnoIfMinus1RetryMayBlock2.enter(Unknown Source)
at base.ghc.io.FD$$wa5.enter(Unknown Source)
at base.ghc.io.handle.Text$sat_sGLFS.enter(Unknown Source)
at eta.runtime.apply.Function.applyPV(Function.java:120)
at base.ghc.io.handle.Internals$wantReadableHandle2.enter(Unknown Source)
at base.ghc.io.handle.Internals$sat_sG0K9.enter(Unknown Source)
at eta.runtime.apply.PAP.apply(PAP.java:31)
at eta.runtime.apply.PAP.applyV(PAP.java:41)
at eta.runtime.thunk.Thunk.applyV(Thunk.java:121)
at eta.runtime.exception.Exception.catch_(Exception.java:136)
Corresponding code works fine if compiled and executed with stack.
The file is read
but doing anything with the bytestring results in error at some point.
I can print the bytestream but stack traces will print afterwords.
Trying something like this:
will exception immediatelly
The error looks like this:
Corresponding code works fine if compiled and executed with stack.
Example code reproducing the issue:
https://github.com/rpeszek/eta-misc-test/tree/eta-hackage-issue-54
I am at current head commit on eta master
1dbe87b19f815ba12ec33f558cb7b572a74e03c1
The text was updated successfully, but these errors were encountered: