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
ceylon run: null
java.lang.NullPointerException
at com.redhat.ceylon.compiler.java.runtime.metamodel.Metamodel.getProducedType(Metamodel.java:245)
at com.redhat.ceylon.compiler.java.runtime.metamodel.Metamodel.checkReifiedTypeArgument(Metamodel.java:1405)
at com.redhat.ceylon.compiler.java.runtime.metamodel.FreeValue.apply(FreeValue.java:95)
at test.obj_.<init>(run.ceylon:3)
at test.obj_.<clinit>(run.ceylon:3)
at test.run_.run(run.ceylon:8)
at test.run_.main(run.ceylon)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
The text was updated successfully, but these errors were encountered:
This was a compiler bug. The value of the object was computed eagerly in a static block which occurs before the initialization of the $TypeDescriptor$, thus the $TypeDescriptor$ is null at the point obj is instantiated.
Not sure whether it belongs in the language or compiler module. Given the following in a module:
Error stack:
The text was updated successfully, but these errors were encountered: