IntelliLang exception

Hi Sascha,

I get the exception below on startup, and idea reckons it's from
IntelliLang. Any ideas?

Cheers,
N.

No message
java.lang.NullPointerException
at com.intellij.util.ImageLoader.loadFromStream(ImageLoader.java:80)
at
com.intellij.openapi.util.IconLoader$CachedImageIcon.getRealIcon(IconLoader.java:229)
at
com.intellij.openapi.util.IconLoader$CachedImageIcon.getIconWidth(IconLoader.java:249)
at com.intellij.ui.LayeredIcon.recalculateSize(LayeredIcon.java:110)
at com.intellij.ui.LayeredIcon.setIcon(LayeredIcon.java:73)
at com.intellij.ui.LayeredIcon.setIcon(LayeredIcon.java:63)
at com.intellij.ide.IconUtilEx.createLayeredIcon(IconUtilEx.java:28)
at org.intellij.lang.regexp.RegExpFileType.(RegExpFileType.java:35) at org.intellij.lang.regexp.RegExpFileType.(RegExpFileType.java:28) at org.intellij.lang.regexp.RegExpSupportLoader.]]>(RegExpSupportLoader.java:29)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at
com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:68)
at
com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:0)
at
com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.access$100(ComponentManagerImpl.java:72)
at
com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:130)
at
com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:110)
at
com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:11)
at
com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:272)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:63)
at com.intellij.idea.MainImpl$3.run(MainImpl.java:1)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:167)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:125)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:142)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

3 comments
Comment actions Permalink

Hi Nathan,

this is actually a bug in IDEA (http://www.jetbrains.net/jira/browse/IDEA-11603)
which will be fixed in the next EAP.

Sascha

Nathan Brown wrote:

Hi Sascha,

I get the exception below on startup, and idea reckons it's from
IntelliLang. Any ideas?

Cheers,
N.

No message
java.lang.NullPointerException
at com.intellij.util.ImageLoader.loadFromStream(ImageLoader.java:80)
at
com.intellij.openapi.util.IconLoader$CachedImageIcon.getRealIcon(IconLoader.java:229)

at
com.intellij.openapi.util.IconLoader$CachedImageIcon.getIconWidth(IconLoader.java:249)

at com.intellij.ui.LayeredIcon.recalculateSize(LayeredIcon.java:110)
at com.intellij.ui.LayeredIcon.setIcon(LayeredIcon.java:73)
at com.intellij.ui.LayeredIcon.setIcon(LayeredIcon.java:63)
at com.intellij.ide.IconUtilEx.createLayeredIcon(IconUtilEx.java:28)
at
org.intellij.lang.regexp.RegExpFileType.<init>(RegExpFileType.java:35)
at
org.intellij.lang.regexp.RegExpFileType.<clinit>(RegExpFileType.java:28)
at
org.intellij.lang.regexp.RegExpSupportLoader.<clinit>(RegExpSupportLoader.java:29)

at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at
com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:68)

at
com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:0)

at
com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.access$100(ComponentManagerImpl.java:72)

at
com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:130)

at
com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:110)

at
com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:11)

at
com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:272)

at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:63)
at com.intellij.idea.MainImpl$3.run(MainImpl.java:1)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:167)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:125)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:142)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)

at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)

at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

0
Comment actions Permalink

Ah ok, thanks. Would this stop IntelliLang working in any way?

Cheers,
N.

Sascha Weinreuter wrote:

Hi Nathan,

this is actually a bug in IDEA (http://www.jetbrains.net/jira/browse/IDEA-11603)
which will be fixed in the next EAP.

Sascha

Nathan Brown wrote:

>> Hi Sascha,
>>
>> I get the exception below on startup, and idea reckons it's from
>> IntelliLang. Any ideas?
>>
>> Cheers,
>> N.
>>
>> No message
>> java.lang.NullPointerException
>> at com.intellij.util.ImageLoader.loadFromStream(ImageLoader.java:80)
>> at
>> com.intellij.openapi.util.IconLoader$CachedImageIcon.getRealIcon(IconLoader.java:229)
>>
>> at
>> com.intellij.openapi.util.IconLoader$CachedImageIcon.getIconWidth(IconLoader.java:249)
>>
>> at com.intellij.ui.LayeredIcon.recalculateSize(LayeredIcon.java:110)
>> at com.intellij.ui.LayeredIcon.setIcon(LayeredIcon.java:73)
>> at com.intellij.ui.LayeredIcon.setIcon(LayeredIcon.java:63)
>> at com.intellij.ide.IconUtilEx.createLayeredIcon(IconUtilEx.java:28)
>> at
>> org.intellij.lang.regexp.RegExpFileType.(RegExpFileType.java:35) >> at >> org.intellij.lang.regexp.RegExpFileType.(RegExpFileType.java:28) >> at >> org.intellij.lang.regexp.RegExpSupportLoader.(RegExpSupportLoader.java:29) >> >> at java.lang.Class.forName0(Native Method) >> at java.lang.Class.forName(Class.java:242) >> at >> com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:68) >> >> at >> com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:0) >> >> at >> com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.access$100(ComponentManagerImpl.java:72) >> >> at >> com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:130) >> >> at >> com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:110) >> >> at >> com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:11) >> >> at >> com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:272) >> >> at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:63) >> at com.intellij.idea.MainImpl$3.run(MainImpl.java:1) >> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) >> at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) >> at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:167) >> at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:125) >> at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:142) >> at >> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) >> >> at >> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) >> >> at >> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) >> at >> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) >>]]> at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

0
Comment actions Permalink

Nathan Brown wrote:

Ah ok, thanks. Would this stop IntelliLang working in any way?


No, it doesn't cause any problems other than some messed up icons (e.g. in the
settings dialog, the plugin gets an IDEA icon).

Sascha

0

Please sign in to leave a comment.