java.lang.NullPointerException

YouTrack | 2 years ago
  1. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at jetbrains.mps.lang.smodel.generator.baseLanguage.template.main.QueriesGenerated.propertyMacro_GetPropertyValue_1219355399537()
    2. jetbrains.mps.lang
      QueriesGenerated.propertyMacro_GetPropertyValue_1219355399537
      1. jetbrains.mps.lang.smodel.generator.baseLanguage.template.main.QueriesGenerated.propertyMacro_GetPropertyValue_1219355399537(QueriesGenerated.java:258)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    4. JetBrains mps
      QueryExecutionContextWithDependencyRecording.evaluate
      1. jetbrains.mps.util.QueryMethodGenerated$2.invoke(QueryMethodGenerated.java:222)
      2. jetbrains.mps.generator.impl.interpreted.ReflectiveQueryProvider$PropMacro.evaluate(ReflectiveQueryProvider.java:400)
      3. jetbrains.mps.generator.template.DefaultQueryExecutionContext.evaluate(DefaultQueryExecutionContext.java:117)
      4. jetbrains.mps.generator.impl.template.QueryExecutionContextWithDependencyRecording.evaluate(QueryExecutionContextWithDependencyRecording.java:110)
      4 frames
    5. jetbrains.mps.generator
      TemplateContainer.processRuleConsequence
      1. jetbrains.mps.generator.impl.TemplateNode$PropertyMacro.expand(TemplateNode.java:295)
      2. jetbrains.mps.generator.impl.TemplateNode.apply(TemplateNode.java:103)
      3. jetbrains.mps.generator.impl.TemplateProcessor.applyTemplate(TemplateProcessor.java:124)
      4. jetbrains.mps.generator.impl.TemplateProcessor.applyTemplate(TemplateProcessor.java:134)
      5. jetbrains.mps.generator.impl.TemplateProcessor.apply(TemplateProcessor.java:93)
      6. jetbrains.mps.generator.impl.TemplateContainer.processRuleConsequence(TemplateContainer.java:79)
      6 frames
    6. JetBrains mps
      TemplateReductionRuleInterpreted.doApply
      1. jetbrains.mps.generator.impl.interpreted.TemplateReductionRuleInterpreted.doApply(TemplateReductionRuleInterpreted.java:68)
      1 frame
    7. jetbrains.mps.generator
      ReductionRuleBase.tryToApply
      1. jetbrains.mps.generator.runtime.ReductionRuleBase.tryToApply(ReductionRuleBase.java:59)
      1 frame
    8. JetBrains mps
      QueryExecutionContextWithDependencyRecording.tryToApply
      1. jetbrains.mps.generator.template.DefaultQueryExecutionContext.tryToApply(DefaultQueryExecutionContext.java:256)
      2. jetbrains.mps.generator.impl.template.QueryExecutionContextWithDependencyRecording.tryToApply(QueryExecutionContextWithDependencyRecording.java:228)
      2 frames
    9. jetbrains.mps.generator
      RuleConsequenceProcessor$TemplateDeclarationReference.processRuleConsequence
      1. jetbrains.mps.generator.impl.TemplateExecutionEnvironmentImpl.tryToReduce(TemplateExecutionEnvironmentImpl.java:348)
      2. jetbrains.mps.generator.impl.TemplateExecutionEnvironmentImpl.tryToReduce(TemplateExecutionEnvironmentImpl.java:303)
      3. jetbrains.mps.generator.impl.TemplateGenerator.copyNodes(TemplateGenerator.java:496)
      4. jetbrains.mps.generator.impl.TemplateExecutionEnvironmentImpl.copyNodes(TemplateExecutionEnvironmentImpl.java:144)
      5. jetbrains.mps.generator.impl.TemplateProcessor$CopySrcMacros.apply(TemplateProcessor.java:426)
      6. jetbrains.mps.generator.impl.TemplateProcessor.applyMacro(TemplateProcessor.java:107)
      7. jetbrains.mps.generator.impl.TemplateProcessor.applyTemplate(TemplateProcessor.java:132)
      8. jetbrains.mps.generator.impl.TemplateProcessor.apply(TemplateProcessor.java:93)
      9. jetbrains.mps.generator.impl.TemplateContainer.processRuleConsequence(TemplateContainer.java:79)
      10. jetbrains.mps.generator.impl.RuleConsequenceProcessor$TemplateDeclarationReference.processRuleConsequence(RuleConsequenceProcessor.java:175)
      10 frames
    10. JetBrains mps
      TemplateReductionRuleInterpreted.doApply
      1. jetbrains.mps.generator.impl.interpreted.TemplateReductionRuleInterpreted.doApply(TemplateReductionRuleInterpreted.java:68)
      1 frame
    11. jetbrains.mps.generator
      ReductionRuleBase.tryToApply
      1. jetbrains.mps.generator.runtime.ReductionRuleBase.tryToApply(ReductionRuleBase.java:59)
      1 frame
    12. JetBrains mps
      QueryExecutionContextWithDependencyRecording.tryToApply
      1. jetbrains.mps.generator.template.DefaultQueryExecutionContext.tryToApply(DefaultQueryExecutionContext.java:256)
      2. jetbrains.mps.generator.impl.template.QueryExecutionContextWithDependencyRecording.tryToApply(QueryExecutionContextWithDependencyRecording.java:228)
      2 frames
    13. jetbrains.mps.generator
      TemplateContainer.processRuleConsequence
      1. jetbrains.mps.generator.impl.TemplateExecutionEnvironmentImpl.tryToReduce(TemplateExecutionEnvironmentImpl.java:348)
      2. jetbrains.mps.generator.impl.TemplateExecutionEnvironmentImpl.tryToReduce(TemplateExecutionEnvironmentImpl.java:303)
      3. jetbrains.mps.generator.impl.TemplateGenerator.copyNodes(TemplateGenerator.java:496)
      4. jetbrains.mps.generator.impl.TemplateExecutionEnvironmentImpl.copyNodes(TemplateExecutionEnvironmentImpl.java:144)
      5. jetbrains.mps.generator.impl.TemplateProcessor$CopySrcMacros.apply(TemplateProcessor.java:426)
      6. jetbrains.mps.generator.impl.TemplateProcessor.applyMacro(TemplateProcessor.java:107)
      7. jetbrains.mps.generator.impl.TemplateProcessor.apply(TemplateProcessor.java:91)
      8. jetbrains.mps.generator.impl.TemplateContainer.processRuleConsequence(TemplateContainer.java:79)
      8 frames
    14. JetBrains mps
      TemplateReductionRuleInterpreted.doApply
      1. jetbrains.mps.generator.impl.interpreted.TemplateReductionRuleInterpreted.doApply(TemplateReductionRuleInterpreted.java:68)
      1 frame
    15. jetbrains.mps.generator
      ReductionRuleBase.tryToApply
      1. jetbrains.mps.generator.runtime.ReductionRuleBase.tryToApply(ReductionRuleBase.java:59)
      1 frame
    16. JetBrains mps
      QueryExecutionContextWithDependencyRecording.tryToApply
      1. jetbrains.mps.generator.template.DefaultQueryExecutionContext.tryToApply(DefaultQueryExecutionContext.java:256)
      2. jetbrains.mps.generator.impl.template.QueryExecutionContextWithDependencyRecording.tryToApply(QueryExecutionContextWithDependencyRecording.java:228)
      2 frames
    17. jetbrains.mps.generator
      GenerationController.generate
      1. jetbrains.mps.generator.impl.TemplateExecutionEnvironmentImpl.tryToReduce(TemplateExecutionEnvironmentImpl.java:348)
      2. jetbrains.mps.generator.impl.TemplateExecutionEnvironmentImpl.tryToReduce(TemplateExecutionEnvironmentImpl.java:303)
      3. jetbrains.mps.generator.impl.TemplateGenerator$PartialCopyFacility.visitInputNode(TemplateGenerator.java:765)
      4. jetbrains.mps.generator.impl.TemplateGenerator$PartialCopyFacility.visitInputNode(TemplateGenerator.java:770)
      5. jetbrains.mps.generator.impl.TemplateGenerator$PartialCopyFacility.visitInputNode(TemplateGenerator.java:770)
      6. jetbrains.mps.generator.impl.TemplateGenerator$PartialCopyFacility.visitInputNode(TemplateGenerator.java:770)
      7. jetbrains.mps.generator.impl.TemplateGenerator$PartialCopyFacility.visitInputNode(TemplateGenerator.java:770)
      8. jetbrains.mps.generator.impl.TemplateGenerator$PartialCopyFacility.visitInputNode(TemplateGenerator.java:770)
      9. jetbrains.mps.generator.impl.TemplateGenerator$PartialCopyFacility.visitInputNode(TemplateGenerator.java:770)
      10. jetbrains.mps.generator.impl.TemplateGenerator$PartialCopyFacility.visitInputNode(TemplateGenerator.java:770)
      11. jetbrains.mps.generator.impl.TemplateGenerator$PartialCopyFacility.copyRootInputNode(TemplateGenerator.java:748)
      12. jetbrains.mps.generator.impl.TemplateGenerator.copyRootInputNode(TemplateGenerator.java:403)
      13. jetbrains.mps.generator.impl.TemplateGenerator.applyReductions(TemplateGenerator.java:288)
      14. jetbrains.mps.generator.impl.TemplateGenerator.apply(TemplateGenerator.java:158)
      15. jetbrains.mps.generator.impl.GenerationSession.applyRules(GenerationSession.java:462)
      16. jetbrains.mps.generator.impl.GenerationSession.executeMajorStepInternal(GenerationSession.java:361)
      17. jetbrains.mps.generator.impl.GenerationSession.executeMajorStep(GenerationSession.java:320)
      18. jetbrains.mps.generator.impl.GenerationSession.generateModel(GenerationSession.java:224)
      19. jetbrains.mps.generator.impl.GenerationController.generateModel(GenerationController.java:189)
      20. jetbrains.mps.generator.impl.GenerationController.generateModelsInModule(GenerationController.java:148)
      21. jetbrains.mps.generator.impl.GenerationController.generate(GenerationController.java:101)
      21 frames
    18. JetBrains mps
      WorkbenchModelAccess$6.compute
      1. jetbrains.mps.generator.GenerationFacade$2$1.compute(GenerationFacade.java:252)
      2. jetbrains.mps.generator.GenerationFacade$2$1.compute(GenerationFacade.java:249)
      3. jetbrains.mps.ide.undo.WorkbenchUndoHandler.runNonUndoableAction(WorkbenchUndoHandler.java:46)
      4. jetbrains.mps.smodel.UndoHelper.runNonUndoableAction(UndoHelper.java:61)
      5. jetbrains.mps.generator.GenerationFacade$2.run(GenerationFacade.java:249)
      6. jetbrains.mps.ide.smodel.WorkbenchModelAccess$6.compute(WorkbenchModelAccess.java:308)
      7. jetbrains.mps.ide.smodel.WorkbenchModelAccess$6.compute(WorkbenchModelAccess.java:303)
      7 frames
    19. IDEA
      ApplicationImpl.runReadAction
      1. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:917)
      1 frame
    20. JetBrains mps
      CoreMakeTask$1.invoke
      1. jetbrains.mps.ide.smodel.WorkbenchModelAccess.tryRead(WorkbenchModelAccess.java:303)
      2. jetbrains.mps.ide.smodel.WorkbenchModelAccess.requireRead(WorkbenchModelAccess.java:340)
      3. jetbrains.mps.generator.GenerationFacade.process(GenerationFacade.java:246)
      4. jetbrains.mps.generator.GenerationFacade.generateModels(GenerationFacade.java:213)
      5. jetbrains.mps.lang.core.plugin.Generate_Facet$Target_generate$1.execute(Generate_Facet.java:470)
      6. jetbrains.mps.internal.make.runtime.script.Script$3.invoke(Script.java:292)
      7. jetbrains.mps.internal.make.runtime.script.Script$3.invoke(Script.java:235)
      8. jetbrains.mps.ide.make.WorkbenchMakeService$Controller.runJobWithMonitor(WorkbenchMakeService.java:318)
      9. jetbrains.mps.internal.make.runtime.script.Script.executeTargets(Script.java:235)
      10. jetbrains.mps.internal.make.runtime.script.Script.execute(Script.java:213)
      11. jetbrains.mps.make.service.CoreMakeTask$1.invoke(CoreMakeTask.java:104)
      12. jetbrains.mps.make.service.CoreMakeTask$1.invoke(CoreMakeTask.java:78)
      12 frames
    21. jetbrains.mps.make
      MakeSequence.iterate
      1. jetbrains.mps.make.dependencies.MakeSequence.iterate(MakeSequence.java:51)
      1 frame
    22. JetBrains mps
      MakeTask$2.run
      1. jetbrains.mps.make.service.CoreMakeTask.doRun(CoreMakeTask.java:78)
      2. jetbrains.mps.ide.make.MakeTask$WorkbenchMakeTask.doRun(MakeTask.java:135)
      3. jetbrains.mps.make.service.CoreMakeTask.run(CoreMakeTask.java:58)
      4. jetbrains.mps.ide.make.MakeTask$2.run(MakeTask.java:64)
      4 frames
    23. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:744)
      1 frame