Syntaxhighlighter bugs

Hi, just wondering if anyone else uses Syntaxhighlighter, cause it's throws a lot of exception in combination with IntelliJ 8.

An example:

Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent$1@bb8b9c,notifier=null,catchExceptions=false,when=1221550489247] on apple.awt.CToolkit@8cbf8a
java.lang.NullPointerException
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.findChildIdentifier(IdentifierHighlighterEditorComponent.java:307)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.findChildIdentifier(IdentifierHighlighterEditorComponent.java:316)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.findChildIdentifier(IdentifierHighlighterEditorComponent.java:316)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.findChildIdentifier(IdentifierHighlighterEditorComponent.java:316)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.findChildIdentifier(IdentifierHighlighterEditorComponent.java:316)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.findChildIdentifier(IdentifierHighlighterEditorComponent.java:316)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.handleCaretPositionChanged(IdentifierHighlighterEditorComponent.java:191)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent$1.run(IdentifierHighlighterEditorComponent.java:76)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:123)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:109)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:220)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

3 comments
Comment actions Permalink

or this:

Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent$1@fdcf72,notifier=null,catchExceptions=false,when=1221551617810] on apple.awt.CToolkit@8cbf8a: com.intellij.psi.search.PsiSearchHelper.findIdentifiers(Ljava/lang/String;Lcom/intellij/psi/search/SearchScope;S)[Lcom/intellij/psi/PsiIdentifier;
java.lang.NoSuchMethodError: com.intellij.psi.search.PsiSearchHelper.findIdentifiers(Ljava/lang/String;Lcom/intellij/psi/search/SearchScope;S)[Lcom/intellij/psi/PsiIdentifier;
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.handleCaretPositionChanged(IdentifierHighlighterEditorComponent.java:236)
at com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent$1.run(IdentifierHighlighterEditorComponent.java:76)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:123)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:109)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:220)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

0
Comment actions Permalink

I find it throws quite a lot of exceptions in IDEA 7 too :( Plus it's a
little buggy when highlighted text is edited - the highlights are no longer
applied accurately. A shame because otherwise I find it to be a very useful
plugin.

or this:

Error during dispatching of
java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.lgc.ide
ntifierhighlighter.IdentifierHighlighterEditorComponent$1@fdcf72,notif
ier=null,catchExceptions=false,when=1221551617810] on
apple.awt.CToolkit@8cbf8a:
com.intellij.psi.search.PsiSearchHelper.findIdentifiers(Ljava/lang/Str
ing;Lcom/intellij/psi/search/SearchScope;S)[Lcom/intellij/psi/PsiIdent
ifier;
java.lang.NoSuchMethodError:
com.intellij.psi.search.PsiSearchHelper.findIdentifiers(Ljava/lang/Str
ing;Lcom/intellij/psi/search/SearchScope;S)[Lcom/intellij/psi/PsiIdent
ifier;
at
com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent.han
dleCaretPositionChanged(IdentifierHighlighterEditorComponent.java:236)
at
com.lgc.identifierhighlighter.IdentifierHighlighterEditorComponent$1.r
un(IdentifierHighlighterEditorComponent.java:76)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:123)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:109)
at
com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:220)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThr
ead.java:269)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
d.java:190)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



0
Comment actions Permalink

This is answered by making syntax highlighting part of the core of IntelliJ 8.

0

Please sign in to leave a comment.