Quote: "1. Open a .java source file and enter a comment line
like: // Comment with invalid unicode char: \uxyz
2. Without correcting the invalid unicode character,
save the file and close it,
3. Reopen the file
4. The following error message is displayed:.
(In order to edit the .java file you have to disable
Coffee Bytes Java Folding)
Unable to create this part due to an internal error.
Reason for the failure: An unexpected exception was thrown.
Details:
java.lang.NullPointerException
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.filterAndNorm
alizePositions(ProjectionChangeReconciler.java:252)
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.reconstructAn
notations(ProjectionChangeReconciler.java:160)
at
com.cb.eclipse.folding.java.calculation.ProjectionChangeReconciler.initialize(Pr
ojectionChangeReconciler.java:96)
at
com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider.initialize(Enha
ncedJavaFoldingStructureProvider.java:114)
at
com.cb.eclipse.folding.java.EnhancedJavaFoldingStructureProvider$ProjectionListe
ner.projectionEnabled(EnhancedJavaFoldingStructureProvider.java:172)
at
org.eclipse.jface.text.source.projection.ProjectionViewer.fireProjectionEnabled(
ProjectionViewer.java:480)
at
org.eclipse.jface.text.source.projection.ProjectionViewer.enableProjection(Proje
ctionViewer.java:528)
at
org.eclipse.jdt.internal.ui.javaeditor.JavaSourceViewer.setVisibleDocument(JavaS
ourceViewer.java:602)
at [...]"
RJL: Probably something simple and stupid the code is doing. Should
investigate.
Original issue reported on code.google.com by rjlori...@gmail.com on 20 Oct 2006 at 9:27
Original issue reported on code.google.com by
rjlori...@gmail.com
on 20 Oct 2006 at 9:27