Very annoying "end"
I get the following, when I try to open a specific class:
./idea.sh
ModuleComponent.ModuleComponent Module:idea
regexPlugin.ModuleComponent.initComponent called
regexPlugin.ModuleComponent.getComponentName called
ModuleComponent.ModuleComponent Module:netbeans
regexPlugin.ModuleComponent.initComponent called
regexPlugin.ModuleComponent.getComponentName called
regexPlugin.ModuleComponent.moduleAdded called
regexPlugin.ModuleComponent.moduleAdded called
regexPlugin.ModuleComponent.projectOpened called
regexPlugin.ModuleComponent.projectOpened called
java.lang.NullPointerException
at
com.intellij.psi.impl.source.tree.TreeUtil.addChildren(TreeUtil.java:155)
at
com.intellij.psi.impl.source.PsiReferenceListImpl.getReferencedTypes(PsiRe
ferenceListImpl.java:26)
at
com.intellij.psi.impl.PsiClassImplUtil.getExtendsListTypes(PsiClassImplUti
l.java:326)
at
com.intellij.psi.impl.source.PsiClassImpl.getExtendsListTypes(PsiClassImpl
.java:364)
at
com.intellij.psi.impl.PsiClassImplUtil.b(PsiClassImplUtil.java:346)
at
com.intellij.psi.impl.PsiClassImplUtil.getSupers(PsiClassImplUtil.java:418 )
at
com.intellij.psi.impl.source.PsiClassImpl.getSupers(PsiClassImpl.java:184)
at
com.intellij.psi.impl.InheritanceImplUtil.b(InheritanceImplUtil.java:27)
at
com.intellij.psi.impl.InheritanceImplUtil.a(InheritanceImplUtil.java:3)
at
com.intellij.psi.impl.InheritanceImplUtil.isInheritor(InheritanceImplUtil.
java:13)
at
com.intellij.psi.impl.source.PsiClassImpl.isInheritor(PsiClassImpl.java:38 )
at
com.intellij.psi.util.InheritanceUtil.isInheritorOrSelf(InheritanceUtil.ja
va:35)
at com.intellij.psi.impl.ElementBase.a(ElementBase.java:75)
at
com.intellij.psi.impl.ElementBase.access$000(ElementBase.java:176)
at com.intellij.psi.impl.ElementBase$1.compute(ElementBase.java:1)
at
com.intellij.psi.impl.CachedValueImpl.getValue(CachedValueImpl.java:74)
at
com.intellij.psi.impl.ElementBase.getClassKind(ElementBase.java:92)
at com.intellij.psi.impl.ElementBase.b(ElementBase.java:114)
at com.intellij.psi.impl.ElementBase.getIcon(ElementBase.java:15)
at
com.intellij.ide.projectView.impl.nodes.BasePsiNode.update(BasePsiNode.jav
a:8)
at
com.intellij.ide.util.treeView.AbstractTreeNode.getUpdatedData(AbstractTre
eNode.java:81)
at
com.intellij.ide.util.treeView.AbstractTreeNode.update(AbstractTreeNode.ja
va:49)
at
com.intellij.ide.util.treeView.AbstractTreeBuilder.b(AbstractTreeBuilder.j
ava:15)
at
com.intellij.ide.util.treeView.AbstractTreeBuilder.updateSubtree(AbstractT
reeBuilder.java:106)
at
com.intellij.ide.util.treeView.AbstractTreeUpdater.updateSubtree(AbstractT
reeUpdater.java:11)
at
com.intellij.ide.util.treeView.AbstractTreeUpdater.performUpdate(AbstractT
reeUpdater.java:42)
at
com.intellij.ide.util.treeView.AbstractTreeBuilder.expandNodeChildren(Abst
ractTreeBuilder.java:67)
at
com.intellij.ide.projectView.BaseProjectTreeBuilder.expandNodeChildren(Bas
eProjectTreeBuilder.java:46)
at
com.intellij.ide.util.treeView.AbstractTreeBuilder$MyExpansionListener.tre
eExpanded(AbstractTreeBuilder.java:11)
at javax.swing.JTree.fireTreeExpanded(JTree.java:2245)
at javax.swing.JTree.setExpandedState(JTree.java:3006)
at javax.swing.JTree.expandPath(JTree.java:1742)
at
com.intellij.ide.util.treeView.AbstractTreeBuilder$MyExpansionListener.tre
eExpanded(AbstractTreeBuilder.java:41)
at javax.swing.JTree.fireTreeExpanded(JTree.java:2245)
at javax.swing.JTree.setExpandedState(JTree.java:3006)
at javax.swing.JTree.expandPath(JTree.java:1742)
at
com.intellij.ide.util.treeView.TreeState.applyTo(TreeState.java:276)
at
com.intellij.ide.util.treeView.TreeState.applyTo(TreeState.java:285)
at
com.intellij.ide.util.treeView.TreeState.applyTo(TreeState.java:285)
at
com.intellij.ide.util.treeView.TreeState.applyTo(TreeState.java:285)
at
com.intellij.ide.util.treeView.TreeState.applyTo(TreeState.java:219)
at
com.intellij.ide.util.treeView.TreeState.applyExpanded(TreeState.java:201)
at
com.intellij.ide.util.treeView.TreeState.applyTo(TreeState.java:196)
at
com.intellij.ide.projectView.impl.AbstractProjectViewPane.restoreState(Abs
tractProjectViewPane.java:98)
at
com.intellij.ide.projectView.impl.AbstractProjectViewPSIPane.initTree(Abst
ractProjectViewPSIPane.java:62)
at
com.intellij.ide.projectView.impl.AbstractProjectViewPSIPane$5.run(Abstrac
tProjectViewPSIPane.java:3)
at
com.intellij.ide.startup.impl.StartupManagerImpl.a(StartupManagerImpl.java
:51)
at
com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivities(
StartupManagerImpl.java:27)
at
com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectMa
nagerImpl.java:264)
at
com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(Pr
ojectManagerImpl.java:24)
at
com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:44)
at com.intellij.idea.IdeaApplication.c(IdeaApplication.java:51)
at
com.intellij.idea.IdeaApplication.access$400(IdeaApplication.java:9)
at
com.intellij.idea.IdeaApplication$IdeStarter$2.run(IdeaApplication.java:5)
at
com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(Late
rInvocatorEx.java:8)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:45)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:175)
at
com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:77)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.
java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.ja
va: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)
ERROR - tartup.impl.StartupManagerImpl -
ERROR - tartup.impl.StartupManagerImpl - IntelliJ IDEA 5.0
RC1 #3419 Buil d #3419
ERROR - tartup.impl.StartupManagerImpl - JDK: 1.5.0_03
ERROR - tartup.impl.StartupManagerImpl - VM: Java HotSpot(TM)
Client VM
ERROR - tartup.impl.StartupManagerImpl - Vendor: Sun
Microsystems Inc.
ERROR - tartup.impl.StartupManagerImpl - OS: Linux
ERROR - tartup.impl.StartupManagerImpl - Last Action:
ERROR - tartup.impl.StartupManagerImpl -
java.lang.NullPointerException
at
com.intellij.psi.impl.source.tree.TreeUtil.addChildren(TreeUtil.java:155)
at
com.intellij.psi.impl.source.PsiReferenceListImpl.getReferencedTypes(PsiRe
ferenceListImpl.java:26)
at
com.intellij.psi.impl.PsiClassImplUtil.getExtendsListTypes(PsiClassImplUti
l.java:326)
at
com.intellij.psi.impl.source.PsiClassImpl.getExtendsListTypes(PsiClassImpl
.java:364)
at
com.intellij.psi.impl.PsiClassImplUtil.b(PsiClassImplUtil.java:346)
at
com.intellij.psi.impl.PsiClassImplUtil.getSupers(PsiClassImplUtil.java:418 )
at
com.intellij.psi.impl.source.PsiClassImpl.getSupers(PsiClassImpl.java:184)
at
com.intellij.psi.impl.InheritanceImplUtil.b(InheritanceImplUtil.java:27)
at
com.intellij.psi.impl.InheritanceImplUtil.a(InheritanceImplUtil.java:3)
at
com.intellij.psi.impl.InheritanceImplUtil.isInheritor(InheritanceImplUtil.
java:13)
at
com.intellij.psi.impl.source.PsiClassImpl.isInheritor(PsiClassImpl.java:38 )
at
com.intellij.psi.util.InheritanceUtil.isInheritorOrSelf(InheritanceUtil.ja
va:35)
at com.intellij.psi.impl.ElementBase.a(ElementBase.java:75)
at
com.intellij.psi.impl.ElementBase.access$000(ElementBase.java:176)
at com.intellij.psi.impl.ElementBase$1.compute(ElementBase.java:1)
at
com.intellij.psi.impl.CachedValueImpl.getValue(CachedValueImpl.java:74)
at
com.intellij.psi.impl.ElementBase.getClassKind(ElementBase.java:92)
at com.intellij.psi.impl.ElementBase.b(ElementBase.java:114)
at com.intellij.psi.impl.ElementBase.getIcon(ElementBase.java:15)
at
com.intellij.ide.projectView.impl.nodes.BasePsiNode.update(BasePsiNode.jav
a:8)
at
com.intellij.ide.util.treeView.AbstractTreeNode.getUpdatedData(AbstractTre
eNode.java:81)
at
com.intellij.ide.util.treeView.AbstractTreeNode.update(AbstractTreeNode.ja
va:49)
at
com.intellij.ide.util.treeView.AbstractTreeBuilder.b(AbstractTreeBuilder.j
ava:15)
at
com.intellij.ide.util.treeView.AbstractTreeBuilder.updateSubtree(AbstractT
reeBuilder.java:106)
at
com.intellij.ide.util.treeView.AbstractTreeUpdater.updateSubtree(AbstractT
reeUpdater.java:11)
at
com.intellij.ide.util.treeView.AbstractTreeUpdater.performUpdate(AbstractT
reeUpdater.java:42)
at
com.intellij.ide.util.treeView.AbstractTreeBuilder.expandNodeChildren(Abst
ractTreeBuilder.java:67)
at
com.intellij.ide.projectView.BaseProjectTreeBuilder.expandNodeChildren(Bas
eProjectTreeBuilder.java:46)
at
com.intellij.ide.util.treeView.AbstractTreeBuilder$MyExpansionListener.tre
eExpanded(AbstractTreeBuilder.java:11)
at javax.swing.JTree.fireTreeExpanded(JTree.java:2245)
at javax.swing.JTree.setExpandedState(JTree.java:3006)
at javax.swing.JTree.expandPath(JTree.java:1742)
at
com.intellij.ide.util.treeView.AbstractTreeBuilder$MyExpansionListener.tre
eExpanded(AbstractTreeBuilder.java:41)
at javax.swing.JTree.fireTreeExpanded(JTree.java:2245)
at javax.swing.JTree.setExpandedState(JTree.java:3006)
at javax.swing.JTree.expandPath(JTree.java:1742)
at
com.intellij.ide.util.treeView.TreeState.applyTo(TreeState.java:276)
at
com.intellij.ide.util.treeView.TreeState.applyTo(TreeState.java:285)
at
com.intellij.ide.util.treeView.TreeState.applyTo(TreeState.java:285)
at
com.intellij.ide.util.treeView.TreeState.applyTo(TreeState.java:285)
at
com.intellij.ide.util.treeView.TreeState.applyTo(TreeState.java:219)
at
com.intellij.ide.util.treeView.TreeState.applyExpanded(TreeState.java:201)
at
com.intellij.ide.util.treeView.TreeState.applyTo(TreeState.java:196)
at
com.intellij.ide.projectView.impl.AbstractProjectViewPane.restoreState(Abs
tractProjectViewPane.java:98)
at
com.intellij.ide.projectView.impl.AbstractProjectViewPSIPane.initTree(Abst
ractProjectViewPSIPane.java:62)
at
com.intellij.ide.projectView.impl.AbstractProjectViewPSIPane$5.run(Abstrac
tProjectViewPSIPane.java:3)
at
com.intellij.ide.startup.impl.StartupManagerImpl.a(StartupManagerImpl.java
:51)
at
com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivities(
StartupManagerImpl.java:27)
at
com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectMa
nagerImpl.java:264)
at
com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(Pr
ojectManagerImpl.java:24)
at
com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:44)
at com.intellij.idea.IdeaApplication.c(IdeaApplication.java:51)
at
com.intellij.idea.IdeaApplication.access$400(IdeaApplication.java:9)
at
com.intellij.idea.IdeaApplication$IdeStarter$2.run(IdeaApplication.java:5)
at
com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(Late
rInvocatorEx.java:8)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:45)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:175)
at
com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:77)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.
java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.ja
va: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)
LibraryManager.saveLibrary User Preference Node:
/regexPlugin/Library/Current Regex
regexPlugin.ModuleComponent.projectClosed called
regexPlugin.ModuleComponent.projectClosed called
regexPlugin.ModuleComponent.disposeComponent called
regexPlugin.ModuleComponent.disposeComponent called
ModuleComponent.ModuleComponent Module:XoreSports
regexPlugin.ModuleComponent.initComponent called
regexPlugin.ModuleComponent.getComponentName called
regexPlugin.ModuleComponent.moduleAdded called
regexPlugin.ModuleComponent.projectOpened called
#
An unexpected error has been detected by HotSpot Virtual Machine:
#
SIGSEGV (0xb) at pc=0x7bdb87dd, pid=9751, tid=344086
#
#
An error report file with more information is saved as
/tmp/hs_err_pid9751.log
#
If you would like to submit a bug report, please visit:
#
Getötet
johannes@moria64:[/opt/Intellij-Idea-5.0/current/bin]$ ./idea.sh
ModuleComponent.ModuleComponent Module:XoreSports
regexPlugin.ModuleComponent.initComponent called
regexPlugin.ModuleComponent.getComponentName called
regexPlugin.ModuleComponent.moduleAdded called
regexPlugin.ModuleComponent.projectOpened called
#
An unexpected error has been detected by HotSpot Virtual Machine:
#
SIGSEGV (0xb) at pc=0x7bdb87dd, pid=10280, tid=327701
#
#
An error report file with more information is saved as
/tmp/hs_err_pid10280.log
#
If you would like to submit a bug report, please visit:
#
Getötet
I've attached the error log.
Do u have any ideas?
Johannes Schneider
Attachment(s):
hs_err_pid10280.log
Please sign in to leave a comment.
Is it reproducible?
"Johannes Schneider" <shake@web.de> wrote in message
news:dbtfb4$ku3$1@is.intellij.net...
>I get the following, when I try to open a specific class:
>
>
>
>
>
>
>
>
>
>
-
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
Eugene Vigdorchik (JetBrains) wrote:
Yes definitly! I cannot open the specific file. So I ended up editing
this file with gedit...
I think it might be caused by some "special characters". I think I have
messed with the file encodings and now the german "umlauts" cause those
problems.
I had the same problem with another file too, removing all special chars
removed the problem...
But on large files it is not the way to go...
Btw: Eclipse has no problems opening those files. Yeah - I know, it is
not Swing so maybe I try Jedit this evening...
Johannes Schneider
One more information - I use "ProFont" as editor font. But even if I
change this to another one, idea still disappears...
Johannes Schneider
Johannes Schneider wrote:
>> Is it reproducible?
>>
Johannes Schneider wrote:
Looks very much like a font problem indeed. It could be your editor font
does not contain the necessary character to display your file and
IDEA/the jvm goes looking for another font to use. It then probably
finds a broken font it can't handle. For example the gsfonts-x11 package
for Debian is known to crash the vm.
Bas
Bas Leijdekkers wrote:
Sound really great. I have a few fonts installed. Don't want to search
for the one that is broken...
And I think we are at version 5.0 of Java... Why don't they fix such
*##/%$ bugs...
Johannes Schneider
Johannes Schneider wrote:
>> Looks very much like a font problem indeed. It could be your editor font
>> does not contain the necessary character to display your file and
>> IDEA/the jvm goes looking for another font to use. It then probably
>> finds a broken font it can't handle. For example the gsfonts-x11 package
>> for Debian is known to crash the vm.
I suppose you could write your own small program which prints out font
names and calls Font.canDisplay() on the problematic characters or all
characters in the problematic files and see where the vm crashes.
Every java release fixes some font bugs, but apparently they're never
able to fix all of them. This crash seems to happen on a Type1 font
which is only supported since 1.5 I believe, so maybe it's a new bug?
Bas
I just found out that there is a vm property you could use:
-Dsun.java2d.debugfonts=true
This should print font names to the console as they are loaded. You
might want to try that and see if you can find the offending font(s).
Bas
Bas Leijdekkers wrote:
Thanks for the suggestion. Will try it out this evening.
Johannes Schneider
Johannes Schneider wrote:
Hmpf - did not help!
I get a
#
An unexpected error has been detected by HotSpot Virtual Machine:
#
SIGSEGV (0xb) at pc=0x7bde97dd, pid=8936, tid=327701
#
Java VM: Java HotSpot(TM) Client VM (1.5.0_03-b07 mixed mode)
Problematic frame:
C
#
An error report file with more information is saved as
/tmp/hs_err_pid8936.log
#
If you would like to submit a bug report, please visit:
http://java.sun.com/webapps/bugreport/crash.jsp
#
without any debug informations...
Johannes Schneider
The JVM crashes immediately? The IDEA window is never visible?
Bas
Bas Leijdekkers wrote:
No- idea starts fine - but opening the "special" file or the Appearence
Dialog crashs Idea...
Johannes Schneider
Bas Leijdekkers wrote:
Well,
made an error when adding the debug parameter - so now the debug output
is floatnig my console ;)
I found the following errors:
WARNUNG: Unusable font:
/opt/sun-jdk-1.5.0.03_32/jre/lib/fonts/LucidaSansDemiBold.ttf
java.awt.FontFormatException: java.lang.NullPointerException
25.07.2005 23:36:56 sun.font.FontManager initialiseDeferredFont
INFO: Opening deferred font file
/opt/sun-jdk-1.5.0.03_32/jre/lib/fonts/LucidaSansRegular.ttf
25.07.2005 23:36:56 sun.font.FontManager registerFontFile
WARNUNG: Unusable font:
/opt/sun-jdk-1.5.0.03_32/jre/lib/fonts/LucidaSansRegular.ttf
java.awt.FontFormatException: java.lang.NullPointerException
25.07.2005 23:36:56 sun.font.FontManager initialiseDeferredFont
INFO: Opening deferred font file
/opt/sun-jdk-1.5.0.03_32/jre/lib/fonts/LucidaBrightDemiBold.ttf
25.07.2005 23:36:56 sun.font.FontManager registerFontFile
WARNUNG: Unusable font:
/opt/sun-jdk-1.5.0.03_32/jre/lib/fonts/LucidaBrightDemiBold.ttf
But idea did not crash afterwards. Event removing those fonts does
not help.
Maybe there are other fonts elsewere...
Johannes Schneider
The JVM does not die when the debug parameter is enabled? And those fonts you mention are default jdk fonts. This is getting pretty strange.
Perhaps you could leave font debug enabled as a workaround? Did you try the font test program Sascha posted in the "IDEA crashing when choosing Appearance in the Settings menu?" thread?
Bas Leijdekkers wrote:
I'm writing rubbish...
Sorry for writing so ambiguous.
I will continue to post my problems/solutions on the other thread.
Thanks for you help.
Johannes Schneider
No problem, English is not my native language either. I'm glad you seemed to have solved your problems. Apparently Sun has fixed the bug in the jvm too. Hopefully the fix will be in the next minor 1.5 release.
Bas