evgeniysharapov / coffee-bytes

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

Exception occurred in listener of Java element change notification #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Saving anyJava file results in an NPE on Eclipse 3.3 which extremely slows
down Eclipse

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Coffee Bytes Code Folding 1.0.6, Eclipse 3.3

Please provide any additional information below.

Two exceptions are written to the error log:

java.lang.NullPointerException
    at
com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider$ElementChangedL
istener.isValidEvent(EnhancedJavaFoldingStructureProvider.java:172)
    at
com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider$ElementChangedL
istener.elementChanged(EnhancedJavaFoldingStructureProvider.java:152)
    at
org.eclipse.jdt.internal.core.DeltaProcessor$3.run(DeltaProcessor.java:1552)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at
org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java
:1542)
    at
org.eclipse.jdt.internal.core.DeltaProcessor.fireReconcileDelta(DeltaProcessor.j
ava:1395)
    at org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:1350)
    at
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:761
)
    at
org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation
.java:780)
    at
org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:116
9)
    at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcil
ingStrategy.java:101)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReco
ncilingStrategy.java:82)
    at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReco
ncilingStrategy.java:149)
    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:378)
    at
org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(Abstra
ctReconciler.java:204)

java.lang.NullPointerException
    at
com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider$ElementChangedL
istener.isValidEvent(EnhancedJavaFoldingStructureProvider.java:172)
    at
com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider$ElementChangedL
istener.elementChanged(EnhancedJavaFoldingStructureProvider.java:152)
    at
org.eclipse.jdt.internal.core.DeltaProcessor$3.run(DeltaProcessor.java:1552)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at
org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java
:1542)
    at
org.eclipse.jdt.internal.core.DeltaProcessor.fireReconcileDelta(DeltaProcessor.j
ava:1395)
    at org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:1350)
    at
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:761
)
    at
org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation
.java:780)
    at
org.eclipse.jdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:116
9)
    at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy$1.run(JavaReconcil
ingStrategy.java:101)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReco
ncilingStrategy.java:82)
    at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrategy.reconcile(JavaReco
ncilingStrategy.java:149)
    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:378)
    at
org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(Abstra
ctReconciler.java:204)

Original issue reported on code.google.com by johann.g...@gmail.com on 9 Oct 2007 at 11:30