java.lang.NullPointerException

GitHub | NumberFourAG | 9 months 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 eu.numberfour.n4js.validation.validators.N4JSAccessModifierValidator.polyfilledOrOwnCtor()
    2. eu.numberfour.n4js
      N4JSAccessModifierValidator.checkFieldFinalInitialization
      1. eu.numberfour.n4js.validation.validators.N4JSAccessModifierValidator.polyfilledOrOwnCtor(N4JSAccessModifierValidator.java:614)
      2. eu.numberfour.n4js.validation.validators.N4JSAccessModifierValidator.filterFieldsInitializedViaSpecConstructor(N4JSAccessModifierValidator.java:505)
      3. eu.numberfour.n4js.validation.validators.N4JSAccessModifierValidator.checkFieldFinalInitialization(N4JSAccessModifierValidator.java:470)
      3 frames
    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:497)
      4 frames
    4. org.eclipse.xtext
      AbstractDeclarativeValidator$MethodWrapper.invoke
      1. org.eclipse.xtext.validation.AbstractDeclarativeValidator$MethodWrapper.invoke(AbstractDeclarativeValidator.java:118)
      1 frame
    5. eu.numberfour.n4js
      N4JSValidator$1.invoke
      1. eu.numberfour.n4js.validation.N4JSValidator$1.invoke(N4JSValidator.java:96)
      1 frame
    6. org.eclipse.xtext
      CompositeEValidator.validate
      1. org.eclipse.xtext.validation.AbstractDeclarativeValidator.internalValidate(AbstractDeclarativeValidator.java:312)
      2. org.eclipse.xtext.validation.AbstractInjectableValidator.validate(AbstractInjectableValidator.java:71)
      3. org.eclipse.xtext.validation.CompositeEValidator.validate(CompositeEValidator.java:151)
      3 frames
    7. org.eclipse.emf.ecore
      Diagnostician.validate
      1. org.eclipse.emf.ecore.util.Diagnostician.doValidate(Diagnostician.java:171)
      2. org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:158)
      2 frames
    8. eu.numberfour.n4js
      PrePostDiagnostician.validate
      1. eu.numberfour.n4js.utils.validation.PrePostDiagnostician.validate(PrePostDiagnostician.java:56)
      1 frame
    9. org.eclipse.emf.ecore
      Diagnostician.doValidateContents
      1. org.eclipse.emf.ecore.util.Diagnostician.doValidateContents(Diagnostician.java:181)
      1 frame
    10. org.eclipse.xtext
      CancelableDiagnostician.doValidateContents
      1. org.eclipse.xtext.validation.CancelableDiagnostician.doValidateContents(CancelableDiagnostician.java:70)
      1 frame
    11. org.eclipse.emf.ecore
      Diagnostician.validate
      1. org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:161)
      1 frame
    12. eu.numberfour.n4js
      PrePostDiagnostician.validate
      1. eu.numberfour.n4js.utils.validation.PrePostDiagnostician.validate(PrePostDiagnostician.java:56)
      1 frame
    13. org.eclipse.emf.ecore
      Diagnostician.doValidateContents
      1. org.eclipse.emf.ecore.util.Diagnostician.doValidateContents(Diagnostician.java:181)
      1 frame
    14. org.eclipse.xtext
      CancelableDiagnostician.doValidateContents
      1. org.eclipse.xtext.validation.CancelableDiagnostician.doValidateContents(CancelableDiagnostician.java:70)
      1 frame
    15. org.eclipse.emf.ecore
      Diagnostician.validate
      1. org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:161)
      1 frame
    16. eu.numberfour.n4js
      PrePostDiagnostician.validate
      1. eu.numberfour.n4js.utils.validation.PrePostDiagnostician.validate(PrePostDiagnostician.java:56)
      1 frame
    17. org.eclipse.emf.ecore
      Diagnostician.validate
      1. org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:120)
      1 frame
    18. org.eclipse.xtext
      ResourceValidatorImpl.validate
      1. org.eclipse.xtext.validation.ResourceValidatorImpl.validate(ResourceValidatorImpl.java:146)
      1 frame
    19. eu.numberfour.n4js
      N4JSResourceValidator.validate
      1. eu.numberfour.n4js.validation.N4JSResourceValidator.validate(N4JSResourceValidator.java:57)
      1 frame
    20. org.eclipse.xtext
      ResourceValidatorImpl.validate
      1. org.eclipse.xtext.validation.ResourceValidatorImpl.validate(ResourceValidatorImpl.java:90)
      1 frame
    21. eu.numberfour.n4js
      IssuesProvider.get
      1. eu.numberfour.n4js.ui.validation.ManifestAwareResourceValidator.validate(ManifestAwareResourceValidator.java:43)
      2. eu.numberfour.n4js.validation.helper.IssuesProvider.get(IssuesProvider.java:59)
      3. eu.numberfour.n4js.validation.helper.IssuesProvider.get(IssuesProvider.java:1)
      3 frames
    22. org.eclipse.xtext
      OnChangeEvictingCache.get
      1. org.eclipse.xtext.util.OnChangeEvictingCache.get(OnChangeEvictingCache.java:77)
      1 frame
    23. eu.numberfour.n4js
      N4JSLabelProvider.doGetImage
      1. eu.numberfour.n4js.resource.N4JSCache.getOrElseUpdateIssues(N4JSCache.java:77)
      2. eu.numberfour.n4js.ui.labeling.helper.ImageDescriptionHelper.getOrElseUpdateSummary(ImageDescriptionHelper.java:387)
      3. eu.numberfour.n4js.ui.labeling.helper.ImageDescriptionHelper.getMaxSeverityAtOrBelow(ImageDescriptionHelper.java:368)
      4. eu.numberfour.n4js.ui.labeling.helper.ImageDescriptionHelper.createValidationAwareImageDescriptor(ImageDescriptionHelper.java:297)
      5. eu.numberfour.n4js.ui.labeling.helper.ImageCalculationHelper._dispatchDoGetImage(ImageCalculationHelper.java:433)
      6. eu.numberfour.n4js.ui.labeling.helper.ImageCalculationHelper.dispatchDoGetImage(ImageCalculationHelper.java:505)
      7. eu.numberfour.n4js.ui.labeling.N4JSLabelProvider.doGetImage(N4JSLabelProvider.java:120)
      8. eu.numberfour.n4js.ui.labeling.N4JSLabelProvider.doGetImage(N4JSLabelProvider.java:1)
      8 frames
    24. org.eclipse.xtext
      DefaultOutlineTreeProvider._image
      1. org.eclipse.xtext.ui.label.AbstractLabelProvider.getImage(AbstractLabelProvider.java:49)
      2. org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider._image(DefaultOutlineTreeProvider.java:263)
      2 frames
    25. 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:497)
      4 frames
    26. org.eclipse.xtext
      DefaultOutlineTreeProvider._createNode
      1. org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:296)
      2. org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider._createNode(DefaultOutlineTreeProvider.java:153)
      2 frames
    27. 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:497)
      4 frames
    28. org.eclipse.xtext
      DefaultOutlineTreeProvider._createChildren
      1. org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:296)
      2. org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider.createNode(DefaultOutlineTreeProvider.java:142)
      3. org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider._createChildren(DefaultOutlineTreeProvider.java:118)
      3 frames
    29. 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:497)
      4 frames
    30. org.eclipse.xtext
      OutlineRefreshJob.run
      1. org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:296)
      2. org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider.createChildren(DefaultOutlineTreeProvider.java:114)
      3. org.eclipse.xtext.ui.editor.outline.impl.AbstractOutlineNode$1.process(AbstractOutlineNode.java:102)
      4. org.eclipse.xtext.ui.editor.outline.impl.AbstractOutlineNode$1.process(AbstractOutlineNode.java:1)
      5. org.eclipse.xtext.util.concurrent.IUnitOfWork$Void.exec(IUnitOfWork.java:37)
      6. org.eclipse.xtext.ui.editor.outline.impl.DocumentRootNode$1.exec(DocumentRootNode.java:63)
      7. org.eclipse.xtext.ui.editor.outline.impl.DocumentRootNode$1.exec(DocumentRootNode.java:1)
      8. org.eclipse.xtext.resource.OutdatedStateManager.exec(OutdatedStateManager.java:121)
      9. org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.internalReadOnly(XtextDocument.java:520)
      10. org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.readOnly(XtextDocument.java:492)
      11. org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:133)
      12. org.eclipse.xtext.ui.editor.outline.impl.DocumentRootNode.readOnly(DocumentRootNode.java:59)
      13. org.eclipse.xtext.ui.editor.outline.impl.AbstractOutlineNode.getChildren(AbstractOutlineNode.java:99)
      14. org.eclipse.xtext.ui.editor.outline.impl.OutlineRefreshJob.restoreChildrenSelectionAndExpansion(OutlineRefreshJob.java:120)
      15. org.eclipse.xtext.ui.editor.outline.impl.OutlineRefreshJob$2.exec(OutlineRefreshJob.java:93)
      16. org.eclipse.xtext.ui.editor.outline.impl.OutlineRefreshJob$2.exec(OutlineRefreshJob.java:1)
      17. org.eclipse.xtext.util.concurrent.CancelableUnitOfWork.exec(CancelableUnitOfWork.java:26)
      18. org.eclipse.xtext.resource.OutdatedStateManager.exec(OutdatedStateManager.java:121)
      19. org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.internalReadOnly(XtextDocument.java:520)
      20. org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.readOnly(XtextDocument.java:492)
      21. org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:133)
      22. org.eclipse.xtext.ui.editor.outline.impl.OutlineRefreshJob.internalRefreshOutlineModel(OutlineRefreshJob.java:89)
      23. org.eclipse.xtext.ui.editor.outline.impl.OutlineRefreshJob.refreshOutlineModel(OutlineRefreshJob.java:73)
      24. org.eclipse.xtext.ui.editor.outline.impl.OutlineRefreshJob.run(OutlineRefreshJob.java:55)
      24 frames
    31. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      1 frame