PsiViewer Exception

While editing an HTML file, PsiViewer window closed:
(IDEA 5.0.1, PsiViewer 2.25.4)

Should not be called on Chameleons
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:46)
at
com.intellij.psi.impl.source.tree.ChameleonElement.getPsi(ChameleonElement.java:14)
at
com.intellij.psi.impl.source.SourceTreeToPsiMap.treeElementToPsi(SourceTreeToPsiMap.java:3)
at
com.intellij.psi.impl.source.tree.CompositeElement.getChildrenAsPsiElements(CompositeElement.java:96)
at
com.intellij.psi.impl.source.tree.CompositePsiElement.getChildren(CompositePsiElement.java:81)
at
idea.plugin.psiviewer.model.PsiViewerTreeModel.isLeaf(PsiViewerTreeModel.java:71)
at
javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2653)
at
javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:475)
at
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1342)
at
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1478)
at
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(VariableHeightLayoutCache.java:1270)
at
javax.swing.tree.VariableHeightLayoutCache.ensurePathIsExpanded(VariableHeightLayoutCache.java:966)
at
javax.swing.tree.VariableHeightLayoutCache.setExpandedState(VariableHeightLayoutCache.java:164)
at
javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants(BasicTreeUI.java:1542)
at
javax.swing.plaf.basic.BasicTreeUI$Handler.treeExpanded(BasicTreeUI.java:3588)
at javax.swing.JTree.fireTreeExpanded(JTree.java:2235)
at javax.swing.JTree.setExpandedState(JTree.java:3006)
at javax.swing.JTree.expandPath(JTree.java:1742)
at javax.swing.JTree.makeVisible(JTree.java:1601)
at javax.swing.JTree.scrollPathToVisible(JTree.java:1669)
at
idea.plugin.psiviewer.view.PsiViewerPanel.changeTreeSelection(PsiViewerPanel.java:314)
at
idea.plugin.psiviewer.view.PsiViewerPanel.setSelectedElement(PsiViewerPanel.java:284)
at
idea.plugin.psiviewer.view.PsiViewerPanel.selectElementAtCaret(PsiViewerPanel.java:371)
at
idea.plugin.psiviewer.controller.project.EditorListener$2.actionPerformed(EditorListener.java:149)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
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:25)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:128)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:62)
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)


2 comments
Comment actions Permalink

Hi Vince,

Can I get you to turn on some debug logging and email it to me please? Put the following in IDEA's ../bin/log.xml file:

]]>
<param name="ConversionPattern" value="+%7r %5.5p %30.30c - %m%n"/>
]]>

It will create psiviewer.log in your ~/.IntelliJIdea50/system/log directory.

If you like you can turn logging off later by changing the priority values to "NULL".

Cheers,
A.

0
Comment actions Permalink

Hi Andrew,

I'll turn on logging and send you logs if I see it happen again. I was
disconnected for the past two weeks so I haven't seen it again yet.

Thanks,

Vince.

"Andrew Armstrong" <andrew_armstrong@unwired.com.au> wrote in message
news:21130886.1125119261700.JavaMail.javamailuser@localhost...

Hi Vince,

>

Can I get you to turn on some debug logging and email it to me please? Put
the following in IDEA's ../bin/log.xml file:

>

<appender name="PSIVIEWER" >
<param name="Append" value="false"/>
<param name="file" value="$SYSTEM_DIR$/log/psiviewer.log"/>
<layout >
<param name="ConversionPattern" value="+%7r %5.5p %30.30c -
%m%n"/>
</layout>
</appender>

>

<category name="idea.plugin.psiviewer">
<priority value="DEBUG"/>
<appender-ref ref="PSIVIEWER"/>
</category>

>

<category name="idea.util.IntrospectionUtil">
<priority value="DEBUG"/>
<appender-ref ref="PSIVIEWER"/>
</category>

>

It will create psiviewer.log in your ~/.IntelliJIdea50/system/log
directory.

>

If you like you can turn logging off later by changing the priority values
to "NULL".

>

Cheers,
A.



0

Please sign in to leave a comment.