1 of 10 times my java pgm simply ends without a hint of anything going wrong. I sprinkled printlns trhoughout and it's totally random where it may stop. The only consistent thing is that it does this annoying stopping only at startup. No exceptions are being thrown. No trace entries. How am I ever going to figure out what's wrong? Environment is jdk1.3.1 + Windows 2000 thanks, crab
Joined: Dec 10, 2001
Welcome to JavaRanch! Does this only occur with one particular Java program? Does it occur on different machines? If it's not too terribly long, you could post the code (being certain to surround it with the [code] and [/code] UBB Tags) and somebody else might notice a problem?
Ok, name changed. It's too terribly long to post, but I'll try to duplicate this with a shortned version & post if I can get it to fail. It ends as if I did a System.exit(0); I will try to port to another PC and give feedback. One time and one time only I did get this traceback which means nothing to me since it doesn't reference any of my sourcecode: Exception occurred during event dispatching: java.lang.ArrayIndexOutOfBoundsException: No such child: 2 at java.awt.Container.getComponent(Container.java:170) at javax.swing.JComponent.rectangleIsObscured(JComponent.java:3102) at javax.swing.JComponent.paint(JComponent.java:685) at javax.swing.JLayeredPane.paint(JLayeredPane.java:546) 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)