Hi!
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.filterAndNormailzePositions(ProjectionChangeReconciler.java:252)
at
com.cb.eclipse.folding.calculation.ProjectionChangeReconciler.reconstructAnnotations(ProjectionChangeReconciler.java:160)
at
com.cb.eclipse.folding.calculation.ProjectionChangeReconciler.reconcile(ProjectionChangeReconciler.java:138)
at
com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider$ElementChangedListener.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.java: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:1098)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:88)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReconcilingStrategy.java:129)
at
org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:86)
at
org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStrategy.reconcile(JavaCompositeReconcilingStrategy.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(AbstractReconciler.java:204)
Logged In: YES
user_id=1064205
This exception is still thrown (even if you changed the
signature :-) ). I think it occurs from 2 different
scenarios as it presents from time to time 2 different traces.
The real problem is that it occurs too often and it gives me
the impression of slowing down the editor.
If you want I will try to dig deeper into the code and see
what is really happening.
Logged In: YES
user_id=360457
I always welcome assistance, but have no fear, I didn't get
a chance to focus on these for the 1.0.5 release. I will
double my efforts however as I get the impression that it is
happening more frequently than I anticipated. I will do some
test passes and see if I can localize what is causing the
error. Thanks for the diligent feedback.