Jukka, Based on the stack trace you posted, this error is coming from the use of a CursorTool. In particular, this cursor tool uses multiple clicks on the Layer View to perform its work. The tool that allows a user to draw a polygon is an example.
I'm guessing the source of the problem may have to do with some modifications to the java.util.Array class. You mentioned a Java update, but not the version of Java. Are you running Java 1.5 or Java 1.6? What is your operating system? What version of OpenJUMP, and can you provide any more details on the update (like a date or version number)? Thanks, The Sunburned Surveyor On Mon, Dec 15, 2008 at 9:53 AM, Rahkonen Jukka <jukka.rahko...@mmmtike.fi> wrote: > Hi, > > Hi installed Java update and after that I have been getting every now and > then IndexOutOfBoundsExceptions. I wonder if it is just an accident. I do > not remember I have seen such errors before, even the work I was doing was > just the same as always. Errors do not harm working, and the message is like > this: > > java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 > at java.util.ArrayList.RangeCheck(Unknown Source) > at java.util.ArrayList.get(Unknown Source) > at > com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool.getShape(MultiClickTool.java:206) > at > com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.drawShapeXOR(AbstractCursorTool.java:353) > at > com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.redrawShape(AbstractCursorTool.java:405) > at > com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.redrawShape(AbstractCursorTool.java:378) > at > com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool.mouseReleased(MultiClickTool.java:133) > at > com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:116) > at > com.vividsolutions.jump.workbench.ui.cursortool.LeftClickFilter.mouseReleased(LeftClickFilter.java:93) > at > com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:116) > at > com.vividsolutions.jump.workbench.ui.cursortool.QuasimodeTool.mouseReleased(QuasimodeTool.java:199) > at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) > at java.awt.Component.processMouseEvent(Unknown Source) > at javax.swing.JComponent.processMouseEvent(Unknown Source) > at java.awt.Component.processEvent(Unknown Source) > at java.awt.Container.processEvent(Unknown Source) > at java.awt.Component.dispatchEventImpl(Unknown Source) > at java.awt.Container.dispatchEventImpl(Unknown Source) > at java.awt.Component.dispatchEvent(Unknown Source) > at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) > at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) > at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) > at java.awt.Container.dispatchEventImpl(Unknown Source) > at java.awt.Window.dispatchEventImpl(Unknown Source) > at java.awt.Component.dispatchEvent(Unknown Source) > at java.awt.EventQueue.dispatchEvent(Unknown Source) > at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.run(Unknown Source) > > -Jukka Rahkonen- > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel