java.lang.NullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.NullPointerException:
at jetbrains.mps.lang.smodel.generator.baseLanguage.template.main.QueriesGenerated.propertyMacro_GetPropertyValue_1219355399537(QueriesGenerated.java:258)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at jetbrains.mps.util.QueryMethodGenerated$2.invoke(QueryMethodGenerated.java:222)
at jetbrains.mps.generator.impl.interpreted.ReflectiveQueryProvider$PropMacro.evaluate(ReflectiveQueryProvider.java:400)
at jetbrains.mps.generator.template.DefaultQueryExecutionContext.evaluate(DefaultQueryExecutionContext.java:117)
at jetbrains.mps.generator.impl.TemplateNode$PropertyMacro.expand(TemplateNode.java:295)
at jetbrains.mps.generator.impl.TemplateNode.apply(TemplateNode.java:103)
at jetbrains.mps.generator.impl.TemplateProcessor.applyTemplate(TemplateProcessor.java:124)
at jetbrains.mps.generator.impl.TemplateProcessor.applyTemplate(TemplateProcessor.java:134)
at jetbrains.mps.generator.impl.TemplateProcessor.apply(TemplateProcessor.java:93)
at jetbrains.mps.generator.impl.TemplateContainer.processRuleConsequence(TemplateContainer.java:79)
at jetbrains.mps.generator.runtime.ReductionRuleBase.tryToApply(ReductionRuleBase.java:59)
at jetbrains.mps.generator.template.DefaultQueryExecutionContext.tryToApply(DefaultQueryExecutionContext.java:256)
at jetbrains.mps.generator.impl.TemplateExecutionEnvironmentImpl.tryToReduce(TemplateExecutionEnvironmentImpl.java:348)
at jetbrains.mps.generator.impl.TemplateExecutionEnvironmentImpl.tryToReduce(TemplateExecutionEnvironmentImpl.java:303)
at jetbrains.mps.generator.impl.TemplateGenerator.copyNodes(TemplateGenerator.java:496)
at jetbrains.mps.generator.impl.TemplateExecutionEnvironmentImpl.copyNodes(TemplateExecutionEnvironmentImpl.java:144)
at jetbrains.mps.generator.impl.TemplateProcessor$CopySrcMacros.apply(TemplateProcessor.java:426)
at jetbrains.mps.generator.impl.TemplateProcessor.applyMacro(TemplateProcessor.java:107)
at jetbrains.mps.generator.impl.TemplateProcessor.applyTemplate(TemplateProcessor.java:132)
at jetbrains.mps.generator.impl.TemplateProcessor.apply(TemplateProcessor.java:93)
at jetbrains.mps.generator.impl.TemplateContainer.processRuleConsequence(TemplateContainer.java:79)
at jetbrains.mps.generator.impl.RuleConsequenceProcessor$TemplateDeclarationReference.processRuleConsequence(RuleConsequenceProcessor.java:175)
at jetbrains.mps.generator.runtime.ReductionRuleBase.tryToApply(ReductionRuleBase.java:59)
at jetbrains.mps.generator.template.DefaultQueryExecutionContext.tryToApply(DefaultQueryExecutionContext.java:256)
at jetbrains.mps.generator.impl.TemplateExecutionEnvironmentImpl.tryToReduce(TemplateExecutionEnvironmentImpl.java:348)
at jetbrains.mps.generator.impl.TemplateExecutionEnvironmentImpl.tryToReduce(TemplateExecutionEnvironmentImpl.java:303)
at jetbrains.mps.generator.impl.TemplateGenerator.copyNodes(TemplateGenerator.java:496)
at jetbrains.mps.generator.impl.TemplateExecutionEnvironmentImpl.copyNodes(TemplateExecutionEnvironmentImpl.java:144)
at jetbrains.mps.generator.impl.TemplateProcessor$CopySrcMacros.apply(TemplateProcessor.java:426)
at jetbrains.mps.generator.impl.TemplateProcessor.applyMacro(TemplateProcessor.java:107)
at jetbrains.mps.generator.impl.TemplateProcessor.apply(TemplateProcessor.java:91)
at jetbrains.mps.generator.impl.TemplateContainer.processRuleConsequence(TemplateContainer.java:79)
at jetbrains.mps.generator.runtime.ReductionRuleBase.tryToApply(ReductionRuleBase.java:59)
at jetbrains.mps.generator.template.DefaultQueryExecutionContext.tryToApply(DefaultQueryExecutionContext.java:256)
at jetbrains.mps.generator.impl.TemplateExecutionEnvironmentImpl.tryToReduce(TemplateExecutionEnvironmentImpl.java:348)
at jetbrains.mps.generator.impl.TemplateExecutionEnvironmentImpl.tryToReduce(TemplateExecutionEnvironmentImpl.java:303)
at jetbrains.mps.generator.impl.TemplateGenerator$PartialCopyFacility.visitInputNode(TemplateGenerator.java:765)
at jetbrains.mps.generator.impl.TemplateGenerator$PartialCopyFacility.visitInputNode(TemplateGenerator.java:770)
at jetbrains.mps.generator.impl.TemplateGenerator$PartialCopyFacility.visitInputNode(TemplateGenerator.java:770)
at jetbrains.mps.generator.impl.TemplateGenerator$PartialCopyFacility.visitInputNode(TemplateGenerator.java:770)
at jetbrains.mps.generator.impl.TemplateGenerator$PartialCopyFacility.visitInputNode(TemplateGenerator.java:770)
at jetbrains.mps.generator.impl.TemplateGenerator$PartialCopyFacility.visitInputNode(TemplateGenerator.java:770)
at jetbrains.mps.generator.impl.TemplateGenerator$PartialCopyFacility.visitInputNode(TemplateGenerator.java:770)
at jetbrains.mps.generator.impl.TemplateGenerator$PartialCopyFacility.visitInputNode(TemplateGenerator.java:770)
at jetbrains.mps.generator.impl.TemplateGenerator$PartialCopyFacility.copyRootInputNode(TemplateGenerator.java:748)
at jetbrains.mps.generator.impl.TemplateGenerator.copyRootInputNode(TemplateGenerator.java:403)
at jetbrains.mps.generator.impl.TemplateGenerator.applyReductions(TemplateGenerator.java:288)
at jetbrains.mps.generator.impl.TemplateGenerator.apply(TemplateGenerator.java:158)
at jetbrains.mps.generator.impl.GenerationSession.applyRules(GenerationSession.java:462)
at jetbrains.mps.generator.impl.GenerationSession.executeMajorStepInternal(GenerationSession.java:361)
at jetbrains.mps.generator.impl.GenerationSession.executeMajorStep(GenerationSession.java:320)
at jetbrains.mps.generator.impl.GenerationSession.generateModel(GenerationSession.java:224)
at jetbrains.mps.generator.impl.GenerationController.generateModel(GenerationController.java:189)
at jetbrains.mps.generator.impl.GenerationController.generateModelsInModule(GenerationController.java:148)
at jetbrains.mps.generator.impl.GenerationController.generate(GenerationController.java:101)
at jetbrains.mps.generator.GenerationFacade$2$1.compute(GenerationFacade.java:252)
at jetbrains.mps.generator.GenerationFacade$2$1.compute(GenerationFacade.java:249)
at jetbrains.mps.ide.undo.WorkbenchUndoHandler.runNonUndoableAction(WorkbenchUndoHandler.java:46)
at jetbrains.mps.smodel.UndoHelper.runNonUndoableAction(UndoHelper.java:61)
at jetbrains.mps.generator.GenerationFacade$2.run(GenerationFacade.java:249)
at jetbrains.mps.ide.smodel.WorkbenchModelAccess$6.compute(WorkbenchModelAccess.java:308)
at jetbrains.mps.ide.smodel.WorkbenchModelAccess.tryRead(WorkbenchModelAccess.java:303)
at jetbrains.mps.ide.smodel.WorkbenchModelAccess.requireRead(WorkbenchModelAccess.java:340)
at jetbrains.mps.generator.GenerationFacade.process(GenerationFacade.java:246)
at jetbrains.mps.generator.GenerationFacade.generateModels(GenerationFacade.java:213)
at jetbrains.mps.lang.core.plugin.Generate_Facet$Target_generate$1.execute(Generate_Facet.java:470)
at jetbrains.mps.internal.make.runtime.script.Script$3.invoke(Script.java:292)
at jetbrains.mps.internal.make.runtime.script.Script$3.invoke(Script.java:235)
at jetbrains.mps.ide.make.WorkbenchMakeService$Controller.runJobWithMonitor(WorkbenchMakeService.java:318)
at jetbrains.mps.internal.make.runtime.script.Script.executeTargets(Script.java:235)
at jetbrains.mps.internal.make.runtime.script.Script.execute(Script.java:213)
at jetbrains.mps.make.service.CoreMakeTask$1.invoke(CoreMakeTask.java:104)
at jetbrains.mps.make.dependencies.MakeSequence.iterate(MakeSequence.java:51)
at jetbrains.mps.make.service.CoreMakeTask.doRun(CoreMakeTask.java:78)
at jetbrains.mps.ide.make.MakeTask$WorkbenchMakeTask.doRun(MakeTask.java:135)
at jetbrains.mps.make.service.CoreMakeTask.run(CoreMakeTask.java:58)
at java.lang.Thread.run(Thread.java:744)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.