o973797475 / coffee-bytes

Automatically exported from code.google.com/p/coffee-bytes
0 stars 0 forks source link

NPE in ProjectionChangeReconciler.filterAndNormailzePosition #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Going through eclipse log I've identified 3 NPEs thrown
by the plugin. I will report all 3 giving the stack
traces. I am sorry I am not able to give you also a
scenario :-).

Config: Eclipse 3.0; Coffee-Bytes 1.0.4c

Note: the method name is a typo ;-)

com.cb.eclipse.folding.calculation.ProjectionChangeReconciler.filterAndNormailze
Positions(ProjectionChangeReconciler.java:252)
at
com.cb.eclipse.folding.calculation.ProjectionChangeReconciler.reconstructAnnotat
ions(ProjectionChangeReconciler.java:160)
at
com.cb.eclipse.folding.calculation.ProjectionChangeReconciler.reconcile(Projecti
onChangeReconciler.java:138)
at
com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider$ElementChangedL
istener.elementChanged(EnhancedJavaFoldingStructureProvider.java:156)
at
org.eclipse.jdt.internal.core.DeltaProcessor$2.run(DeltaProcessor.java:1470)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615
)
at
org.eclipse.core.runtime.Platform.run(Platform.java:747)
at
org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java
:1465)
at
org.eclipse.jdt.internal.core.DeltaProcessor.fireReconcileDelta(DeltaProcessor.j
ava:1332)
at
org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:1290)
at
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:720
)
at
org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation
.java:739)
at
org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:109
8)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReco
ncilingStrategy.java:88)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReco
ncilingStrategy.java:129)
at
org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(Composit
eReconcilingStrategy.java:86)
at
org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(Java
CompositeReconcilingStrategy.java:96)
at
org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:75)
at
org.eclipse.jdt.internal.ui.text.JavaReconciler.process(JavaReconciler.java:315)
at
org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(Abstra
ctReconciler.java:204)

Original issue reported on code.google.com by the.mind...@gmail.com on 21 Oct 2006 at 8:40

GoogleCodeExporter commented 8 years ago
The scenario I have is that when saving a java source file, not always, but at 
least
about above 95% it happens, in other words, it seldom disappears :(

Original comment by iusr.jar on 17 Mar 2008 at 9:21