#98 Update SVDBFile exceptions

open
nobody
SV Database (6)
5
2013-01-16
2011-08-16
VaughanB
No

I sometimes get exceptions when opening files (0.6.1.ea01)...I believe this generally occurs after opening a project, or after external file changes due to switching a source repository branch, etc...at the point of re-indexing the source, I guess.

Here is a stack trace:

!ENTRY org.eclipse.core.jobs 4 2 2011-08-17 09:29:25.166
!MESSAGE An internal error occurred during: "Update SVDBFile".
!STACK 0
java.lang.NullPointerException
at net.sf.sveditor.ui.editor.SVEditor$UpdateSVDBFileJob.run(SVEditor.java:124)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.core.jobs 4 2 2011-08-17 09:32:39.833
!MESSAGE An internal error occurred during: "Update SVDBFile".
!STACK 0
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:810)
at java.util.HashMap$KeyIterator.next(HashMap.java:845)
at org.eclipse.jface.text.source.OverviewRuler.isCovered(OverviewRuler.java:1224)
at org.eclipse.jface.text.source.OverviewRuler.contains(OverviewRuler.java:1203)
at org.eclipse.jface.text.source.OverviewRuler.skip(OverviewRuler.java:1172)
at org.eclipse.jface.text.source.OverviewRuler.access$5(OverviewRuler.java:1171)
at org.eclipse.jface.text.source.OverviewRuler$InternalListener.modelChanged(OverviewRuler.java:108)
at org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:612)
at org.eclipse.jface.text.source.AnnotationModel$InternalModelListener.modelChanged(AnnotationModel.java:261)
at org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:612)
at org.eclipse.jface.text.source.AnnotationModel.fireModelChanged(AnnotationModel.java:578)
at org.eclipse.jface.text.source.AnnotationModel.addAnnotation(AnnotationModel.java:447)
at org.eclipse.jface.text.source.AnnotationModel.addAnnotation(AnnotationModel.java:375)
at net.sf.sveditor.ui.editor.SVEditor.addErrorMarkers(SVEditor.java:714)
at net.sf.sveditor.ui.editor.SVEditor.access$7(SVEditor.java:690)
at net.sf.sveditor.ui.editor.SVEditor$UpdateSVDBFileJob.run(SVEditor.java:137)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks