https://issues.apache.org/bugzilla/show_bug.cgi?id=45465
Summary: Randomly ArrayIndexOutOfBounds exceptions at startup
when using LogFactory
Product: Log4j
Version: 1.2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Other
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
I got random ArrayIndexOutOfBounds exceptions when starting my webapp from
Eclipse 3.4 and by using log4j 1.2.13.
This is the stack trace i have:
Exception in thread "AWT-EventQueue-0"
java.lang.ArrayIndexOutOfBoundsException: 1 >= 1
at java.util.Vector.elementAt(Vector.java:432)
at
javax.swing.tree.DefaultMutableTreeNode.getChildAt(DefaultMutableTreeNode.java:230)
at
javax.swing.tree.VariableHeightLayoutCache.treeNodesChanged(VariableHeightLayoutCache.java:412)
at
javax.swing.plaf.basic.BasicTreeUI$Handler.treeNodesChanged(BasicTreeUI.java:3671)
at
javax.swing.tree.DefaultTreeModel.fireTreeNodesChanged(DefaultTreeModel.java:466)
at
javax.swing.tree.DefaultTreeModel.nodesChanged(DefaultTreeModel.java:328)
at
javax.swing.tree.DefaultTreeModel.nodeChanged(DefaultTreeModel.java:261)
at
org.apache.log4j.lf5.viewer.categoryexplorer.CategoryExplorerModel$1.run(CategoryExplorerModel.java:324)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
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)
>From what i have searched, this can be caused by different threads accessing
the same data at the same time.
This is not a major issue but it's kind of irritating because Eclipse debugger
get the focus and i need to resume the thread each time.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]