java.lang.NullPointerException

Exception #2569768

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • Stack trace

    • java.lang.NullPointerException at eu.numberfour.n4js.validation.validators.N4JSAccessModifierValidator.polyfilledOrOwnCtor(N4JSAccessModifierValidator.java:614) at eu.numberfour.n4js.validation.validators.N4JSAccessModifierValidator.filterFieldsInitializedViaSpecConstructor(N4JSAccessModifierValidator.java:505) at eu.numberfour.n4js.validation.validators.N4JSAccessModifierValidator.checkFieldFinalInitialization(N4JSAccessModifierValidator.java:470) 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:497) at org.eclipse.xtext.validation.AbstractDeclarativeValidator$MethodWrapper.invoke(AbstractDeclarativeValidator.java:118) at eu.numberfour.n4js.validation.N4JSValidator$1.invoke(N4JSValidator.java:96) at org.eclipse.xtext.validation.AbstractDeclarativeValidator.internalValidate(AbstractDeclarativeValidator.java:312) at org.eclipse.xtext.validation.AbstractInjectableValidator.validate(AbstractInjectableValidator.java:71) at org.eclipse.xtext.validation.CompositeEValidator.validate(CompositeEValidator.java:151) at org.eclipse.emf.ecore.util.Diagnostician.doValidate(Diagnostician.java:171) at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:158) at eu.numberfour.n4js.utils.validation.PrePostDiagnostician.validate(PrePostDiagnostician.java:56) at org.eclipse.emf.ecore.util.Diagnostician.doValidateContents(Diagnostician.java:181) at org.eclipse.xtext.validation.CancelableDiagnostician.doValidateContents(CancelableDiagnostician.java:70) at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:161) at eu.numberfour.n4js.utils.validation.PrePostDiagnostician.validate(PrePostDiagnostician.java:56) at org.eclipse.emf.ecore.util.Diagnostician.doValidateContents(Diagnostician.java:181) at org.eclipse.xtext.validation.CancelableDiagnostician.doValidateContents(CancelableDiagnostician.java:70) at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:161) at eu.numberfour.n4js.utils.validation.PrePostDiagnostician.validate(PrePostDiagnostician.java:56) at org.eclipse.emf.ecore.util.Diagnostician.validate(Diagnostician.java:120) at org.eclipse.xtext.validation.ResourceValidatorImpl.validate(ResourceValidatorImpl.java:146) at eu.numberfour.n4js.validation.N4JSResourceValidator.validate(N4JSResourceValidator.java:57) at org.eclipse.xtext.validation.ResourceValidatorImpl.validate(ResourceValidatorImpl.java:90) at eu.numberfour.n4js.ui.validation.ManifestAwareResourceValidator.validate(ManifestAwareResourceValidator.java:43) at eu.numberfour.n4js.validation.helper.IssuesProvider.get(IssuesProvider.java:59) at eu.numberfour.n4js.validation.helper.IssuesProvider.get(IssuesProvider.java:1) at org.eclipse.xtext.util.OnChangeEvictingCache.get(OnChangeEvictingCache.java:77) at eu.numberfour.n4js.resource.N4JSCache.getOrElseUpdateIssues(N4JSCache.java:77) at eu.numberfour.n4js.ui.labeling.helper.ImageDescriptionHelper.getOrElseUpdateSummary(ImageDescriptionHelper.java:387) at eu.numberfour.n4js.ui.labeling.helper.ImageDescriptionHelper.getMaxSeverityAtOrBelow(ImageDescriptionHelper.java:368) at eu.numberfour.n4js.ui.labeling.helper.ImageDescriptionHelper.createValidationAwareImageDescriptor(ImageDescriptionHelper.java:297) at eu.numberfour.n4js.ui.labeling.helper.ImageCalculationHelper._dispatchDoGetImage(ImageCalculationHelper.java:433) at eu.numberfour.n4js.ui.labeling.helper.ImageCalculationHelper.dispatchDoGetImage(ImageCalculationHelper.java:505) at eu.numberfour.n4js.ui.labeling.N4JSLabelProvider.doGetImage(N4JSLabelProvider.java:120) at eu.numberfour.n4js.ui.labeling.N4JSLabelProvider.doGetImage(N4JSLabelProvider.java:1) at org.eclipse.xtext.ui.label.AbstractLabelProvider.getImage(AbstractLabelProvider.java:49) at org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider._image(DefaultOutlineTreeProvider.java:263) 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:497) at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:296) at org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider._createNode(DefaultOutlineTreeProvider.java:153) 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:497) at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:296) at org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider.createNode(DefaultOutlineTreeProvider.java:142) at org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider._createChildren(DefaultOutlineTreeProvider.java:118) 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:497) at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:296) at org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider.createChildren(DefaultOutlineTreeProvider.java:114) at org.eclipse.xtext.ui.editor.outline.impl.AbstractOutlineNode$1.process(AbstractOutlineNode.java:102) at org.eclipse.xtext.ui.editor.outline.impl.AbstractOutlineNode$1.process(AbstractOutlineNode.java:1) at org.eclipse.xtext.util.concurrent.IUnitOfWork$Void.exec(IUnitOfWork.java:37) at org.eclipse.xtext.ui.editor.outline.impl.DocumentRootNode$1.exec(DocumentRootNode.java:63) at org.eclipse.xtext.ui.editor.outline.impl.DocumentRootNode$1.exec(DocumentRootNode.java:1) at org.eclipse.xtext.resource.OutdatedStateManager.exec(OutdatedStateManager.java:121) at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.internalReadOnly(XtextDocument.java:520) at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.readOnly(XtextDocument.java:492) at org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:133) at org.eclipse.xtext.ui.editor.outline.impl.DocumentRootNode.readOnly(DocumentRootNode.java:59) at org.eclipse.xtext.ui.editor.outline.impl.AbstractOutlineNode.getChildren(AbstractOutlineNode.java:99) at org.eclipse.xtext.ui.editor.outline.impl.OutlineRefreshJob.restoreChildrenSelectionAndExpansion(OutlineRefreshJob.java:120) at org.eclipse.xtext.ui.editor.outline.impl.OutlineRefreshJob$2.exec(OutlineRefreshJob.java:93) at org.eclipse.xtext.ui.editor.outline.impl.OutlineRefreshJob$2.exec(OutlineRefreshJob.java:1) at org.eclipse.xtext.util.concurrent.CancelableUnitOfWork.exec(CancelableUnitOfWork.java:26) at org.eclipse.xtext.resource.OutdatedStateManager.exec(OutdatedStateManager.java:121) at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.internalReadOnly(XtextDocument.java:520) at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.readOnly(XtextDocument.java:492) at org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:133) at org.eclipse.xtext.ui.editor.outline.impl.OutlineRefreshJob.internalRefreshOutlineModel(OutlineRefreshJob.java:89) at org.eclipse.xtext.ui.editor.outline.impl.OutlineRefreshJob.refreshOutlineModel(OutlineRefreshJob.java:73) at org.eclipse.xtext.ui.editor.outline.impl.OutlineRefreshJob.run(OutlineRefreshJob.java:55) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    No Bugmate found.