eclipse / Xpect

This repository has been rewritten to move to the Eclipse Foundation. Find the old history here: https://github.com/TypeFox/Xpect
http://www.xpect-tests.org/
Eclipse Public License 2.0
32 stars 28 forks source link

potential NPE #122

Closed meysholdt closed 10 years ago

meysholdt commented 10 years ago

java.lang.NullPointerException at org.xpect.util.JvmAnnotationUtil.newInstance(JvmAnnotationUtil.java:115) at org.xpect.util.JvmAnnotationUtil.newInstancesViaMetaAnnotation(JvmAnnotationUtil.java:193) at org.xpect.model.XjmXpectMethodImplCustom.findSingleParameterProvider(XjmXpectMethodImplCustom.java:33) at org.xpect.model.XjmXpectMethodImplCustom.getSingleParameterProviders(XjmXpectMethodImplCustom.java:88) at org.xpect.model.XpectInvocationImplCustom.collectClaimedRegions(XpectInvocationImplCustom.java:76) at org.xpect.model.XpectInvocationImplCustom.getParameters(XpectInvocationImplCustom.java:167) at org.xpect.ui.highlighting.XtHighlightingCalculator.provideHighlightingForXpect(XtHighlightingCalculator.java:111) at org.xpect.ui.highlighting.XtHighlightingCalculator.provideHighlightingFor(XtHighlightingCalculator.java:61) at org.eclipse.xtext.ui.editor.syntaxcoloring.MergingHighlightedPositionAcceptor.provideHighlightingFor(MergingHighlightedPositionAcceptor.java:51) at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler.reconcilePositions(HighlightingReconciler.java:93) at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler.modelChanged(HighlightingReconciler.java:293) at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler$1$1.process(HighlightingReconciler.java:260) at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler$1$1.process(HighlightingReconciler.java:1) at org.eclipse.xtext.util.concurrent.IUnitOfWork$Void.exec(IUnitOfWork.java:36) at org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.readOnly(AbstractReadWriteAcces.java:62) at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.readOnly(XtextDocument.java:246) at org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:84) at org.eclipse.xtext.ui.editor.syntaxcoloring.HighlightingReconciler$1.run(HighlightingReconciler.java:257) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)