Below is an ant file that I tried to add in the "Ant Build" panel
and it generated the exceptions shown at the bottom.
--------------------------------------------------------------------
<?xml version="1.0"?>
<project name="APT" default="main" basedir=".">
<property name="websource" location="./Web"/>
<target name="APTServer">
<echo message="Jar-jar Binksing"/>
<jar jarfile="${dist}/data.jar" basedir="${seasource}"
includes="datafiles/**"/>
<javac srcdir="${seasource}"
destdir="${aptobj}"
includes="**/*.java"/>
<jar jarfile="${dist}/apt.jar" basedir="${aptobj}"
includes="**/*.class"/>
<copy todir="${dist}/webapps/aptServer">
<fileset dir="${websource}/etc/" includes="*.html,*.jsp"/>
</copy>
</target>
<target>
<jar jarfile="Utilities.jar" basedir="Utilities"
includes="**/*.class"/>
</target>
</project>
---------------------------------------------------------------------------
Exception occurred during event dispatching:
java.lang.NullPointerException
at
com.intellij.ant.explorer.be.getTreeCellRendererComponent(be.java:4)
at
javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimen
sions(BasicTreeUI.java:2611)
at
javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayout
Cache.java:406)
at
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePrefer
redSize(VariableHeightLayoutCache.java:1293)
at
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Varia
bleHeightLayoutCache.java:1429)
at
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Varia
bleHeightLayoutCache.java:1221)
at
javax.swing.tree.VariableHeightLayoutCache.ensurePathIsExpanded(Varia
bleHeightLayoutCache.java:917)
at
javax.swing.tree.VariableHeightLayoutCache.setExpandedState(VariableH
eightLayoutCache.java:162)
at
javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants(BasicTre
eUI.java:1428)
at
javax.swing.plaf.basic.BasicTreeUI$TreeExpansionHandler.treeExpanded(
BasicTreeUI.java:2239)
at javax.swing.JTree.fireTreeExpanded(JTree.java:2114)
at javax.swing.JTree.setExpandedState(JTree.java:2794)
at javax.swing.JTree.expandPath(JTree.java:1646)
at com.intellij.ide.util.b.g.run(g.java:4)
at com.intellij.ide.util.b.b.c(b.java:100)
at com.intellij.ide.util.b.b.e(b.java:184)
at com.intellij.ant.explorer.s.b(s.java:41)
at com.intellij.ant.explorer.e.b(e.java)
at com.intellij.ant.AntConfiguration.g(AntConfiguration.java:134)
at com.intellij.ant.AntConfiguration.c(AntConfiguration.java:111)
at com.intellij.ant.AntConfiguration.b(AntConfiguration.java:47)
at com.intellij.ant.explorer.bf.d(bf.java:66)
at com.intellij.ant.explorer.bf.c(bf.java:1)
at com.intellij.ant.explorer.bb.actionPerformed(bb.java:6)
at com.intellij.jd.actions.z.f(z.java:159)
at com.intellij.jd.actions.z.processMouseEvent(z.java:127)
at java.awt.Component.processEvent(Component.java:3544)
at java.awt.Container.processEvent(Container.java:1164)
at java.awt.Component.dispatchEventImpl(Component.java:2593)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Component.dispatchEvent(Component.java:2497)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451
)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
at java.awt.Container.dispatchEventImpl(Container.java:1200)
at java.awt.Window.dispatchEventImpl(Window.java:914)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:131)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:98)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Exception occurred during event dispatching:
java.lang.NullPointerException
at
com.intellij.ant.explorer.be.getTreeCellRendererComponent(be.java:4)
at
javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimen
sions(BasicTreeUI.java:2611)
at
javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayout
Cache.java:406)
at
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePrefer
redSize(VariableHeightLayoutCache.java:1293)
at
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.getXOrigin(V
ariableHeightLayoutCache.java:1076)
at
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.getNodeBound
s(VariableHeightLayoutCache.java:1059)
at
javax.swing.tree.VariableHeightLayoutCache.getBounds(VariableHeightLa
youtCache.java:194)
at
javax.swing.plaf.basic.BasicTreeUI.getPathBounds(BasicTreeUI.java:410
)
at
javax.swing.plaf.basic.BasicTreeUI.paintVerticalPartOfLeg(BasicTreeUI
.java:1203)
at
javax.swing.plaf.metal.MetalTreeUI.paintVerticalPartOfLeg(MetalTreeUI
.java:181)
at javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1092)
at javax.swing.plaf.metal.MetalTreeUI.paint(MetalTreeUI.java:139)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:39)
at javax.swing.JComponent.paintComponent(JComponent.java:395)
at javax.swing.JComponent.paint(JComponent.java:687)
at javax.swing.JComponent.paintChildren(JComponent.java:498)
at javax.swing.JComponent.paint(JComponent.java:696)
at javax.swing.JViewport.paint(JViewport.java:668)
at javax.swing.JComponent.paintWithBuffer(JComponent.java:3878)
at javax.swing.JComponent._paintImmediately(JComponent.java:3821)
at javax.swing.JComponent.paintImmediately(JComponent.java:3672)
at
javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:370)
at
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(System
EventQueueUtilities.java:124)
at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:131)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:98)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Exception occurred during event dispatching:
java.lang.NullPointerException
at
com.intellij.ant.explorer.be.getTreeCellRendererComponent(be.java:4)
at
javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimen
sions(BasicTreeUI.java:2611)
at
javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayout
Cache.java:406)
at
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePrefer
redSize(VariableHeightLayoutCache.java:1293)
at
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.getXOrigin(V
ariableHeightLayoutCache.java:1076)
at
javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.getNodeBound
s(VariableHeightLayoutCache.java:1059)
at
javax.swing.tree.VariableHeightLayoutCache.getBounds(VariableHeightLa
youtCache.java:194)
at
javax.swing.plaf.basic.BasicTreeUI.getPathBounds(BasicTreeUI.java:410
)
at
javax.swing.plaf.basic.BasicTreeUI.paintVerticalPartOfLeg(BasicTreeUI
.java:1203)
at
javax.swing.plaf.metal.MetalTreeUI.paintVerticalPartOfLeg(MetalTreeUI
.java:181)
at javax.swing.plaf.basic.BasicTreeUI.paint(BasicTreeUI.java:1092)
at javax.swing.plaf.metal.MetalTreeUI.paint(MetalTreeUI.java:139)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:39)
at javax.swing.JComponent.paintComponent(JComponent.java:395)
at javax.swing.JComponent.paint(JComponent.java:687)
at javax.swing.JComponent.paintChildren(JComponent.java:498)
at javax.swing.JComponent.paint(JComponent.java:696)
at javax.swing.JViewport.paint(JViewport.java:668)
at javax.swing.JComponent.paintChildren(JComponent.java:498)
at javax.swing.JComponent.paint(JComponent.java:696)
at javax.swing.JComponent.paintChildren(JComponent.java:498)
at javax.swing.JComponent.paint(JComponent.java:696)
at javax.swing.JComponent.paintChildren(JComponent.java:498)
at javax.swing.JComponent.paint(JComponent.java:696)
at javax.swing.JComponent.paintChildren(JComponent.java:498)
at javax.swing.JComponent.paint(JComponent.java:696)
at javax.swing.JComponent.paintChildren(JComponent.java:498)
at javax.swing.JComponent.paint(JComponent.java:696)
at javax.swing.JComponent.paintChildren(JComponent.java:498)
at javax.swing.JComponent.paint(JComponent.java:696)
at javax.swing.JComponent.paintChildren(JComponent.java:498)
at javax.swing.JComponent.paint(JComponent.java:696)
at javax.swing.JComponent.paintChildren(JComponent.java:498)
at javax.swing.JComponent.paint(JComponent.java:696)
at javax.swing.JComponent.paintChildren(JComponent.java:498)
at javax.swing.JComponent.paint(JComponent.java:696)
at javax.swing.JComponent.paintChildren(JComponent.java:498)
at javax.swing.JComponent.paint(JComponent.java:696)
at javax.swing.JComponent.paintChildren(JComponent.java:498)
at javax.swing.JComponent.paint(JComponent.java:696)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:546)
at javax.swing.JComponent.paintChildren(JComponent.java:498)
at javax.swing.JComponent.paint(JComponent.java:669)
at
java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:23)
at
sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:
54)
at
sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:91
)
at java.awt.Container.paint(Container.java:960)
at javax.swing.JFrame.update(JFrame.java:329)
at sun.awt.RepaintArea.update(RepaintArea.java:337)
at
sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:200)
at java.awt.Component.dispatchEventImpl(Component.java:2663)
at java.awt.Container.dispatchEventImpl(Container.java:1213)
at java.awt.Window.dispatchEventImpl(Window.java:914)
at java.awt.Component.dispatchEvent(Component.java:2497)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:131)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:98)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list