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
# Example
There is an Object with name some-object.
Output
// failed to execute phase 'NameResolver' due to exception:
// java.lang.NullPointerException: position
// (1 internal call)
// at org.fulib.scenarios.diagnostic.Marker.<init>(Marker.java:29)
// at org.fulib.scenarios.diagnostic.Marker.error(Marker.java:60)
// at org.fulib.scenarios.visitor.resolve.SentenceResolver.visit(SentenceResolver.java:308)
// at org.fulib.scenarios.visitor.resolve.SentenceResolver.visit(SentenceResolver.java:39)
// at org.fulib.scenarios.ast.sentence.HasSentence.accept(HasSentence.java:24)
// at org.fulib.scenarios.visitor.resolve.SentenceResolver.visit(SentenceResolver.java:55)
// at org.fulib.scenarios.visitor.resolve.SentenceResolver.visit(SentenceResolver.java:39)
// at org.fulib.scenarios.ast.sentence.SentenceList.accept(SentenceList.java:20)
// at org.fulib.scenarios.visitor.resolve.SentenceResolver.visit(SentenceResolver.java:73)
// at org.fulib.scenarios.visitor.resolve.SentenceResolver.visit(SentenceResolver.java:39)
// at org.fulib.scenarios.ast.sentence.ThereSentence.accept(ThereSentence.java:20)
// at org.fulib.scenarios.visitor.resolve.SentenceResolver.visit(SentenceResolver.java:55)
// at org.fulib.scenarios.visitor.resolve.SentenceResolver.visit(SentenceResolver.java:39)
// at org.fulib.scenarios.ast.sentence.SentenceList.accept(SentenceList.java:20)
// at org.fulib.scenarios.visitor.resolve.NameResolver.visit(NameResolver.java:131)
// at org.fulib.scenarios.visitor.resolve.NameResolver.visit(NameResolver.java:19)
// at org.fulib.scenarios.ast.Scenario.accept(Scenario.java:24)
// at org.fulib.scenarios.visitor.resolve.NameResolver.visit(NameResolver.java:105)
// at org.fulib.scenarios.visitor.resolve.NameResolver.visit(NameResolver.java:19)
// at org.fulib.scenarios.ast.ScenarioFile.accept(ScenarioFile.java:30)
// at org.fulib.scenarios.visitor.resolve.NameResolver.visit(NameResolver.java:58)
// at org.fulib.scenarios.visitor.resolve.NameResolver.visit(NameResolver.java:19)
// at org.fulib.scenarios.ast.ScenarioGroup.accept(ScenarioGroup.java:26)
// at org.fulib.scenarios.visitor.resolve.NameResolver.lambda$visit$0(NameResolver.java:43)
// (13 internal calls)
// at org.fulib.scenarios.visitor.resolve.NameResolver.visit(NameResolver.java:43)
// at org.fulib.scenarios.ast.CompilationContext.accept(CompilationContext.java:24)
// (3 internal calls)
// at org.fulib.webapp.tool.Tools.scenarioc(Tools.java:83)
// at org.fulib.webapp.tool.Tools.genCompileRun(Tools.java:161)
// at org.fulib.webapp.tool.RunCodeGen.run(RunCodeGen.java:148)
// at org.fulib.webapp.tool.RunCodeGen.handle(RunCodeGen.java:50)
// (21 internal calls)
The text was updated successfully, but these errors were encountered:
Clashsoft
changed the title
java.lang.NullPointerException: position
Primitive object creation with There Sentence causes NullPointerException
Sep 26, 2020
Clashsoft
changed the title
Primitive object creation with There Sentence causes NullPointerException
Primitive object creation with There Sentence and attributes causes NullPointerException
Sep 26, 2020
Clashsoft
changed the title
Primitive object creation with There Sentence and attributes causes NullPointerException
Primitive object creation with There Sentence and attributes causes exception
Sep 26, 2020
Example
Output
The text was updated successfully, but these errors were encountered: