JMRI / JMRI

JMRI model railroad digital command & control software
https://www.jmri.org
Other
241 stars 332 forks source link

Occasional NPE during C/MRI startup #6606

Closed bobjacobsen closed 3 years ago

bobjacobsen commented 5 years ago

Sometime in the last few months (since November 2018), a local C/MRI installation has started seeing a very intermittent error during startup:

     [java] java.util.ConcurrentModificationException
     [java]     at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1207)
     [java]     at java.util.TreeMap$KeyIterator.next(TreeMap.java:1261)
     [java]     at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1042)
     [java]     at jmri.util.swing.JmriBeanComboBox.getDisplayList(JmriBeanComboBox.java:152)
     [java]     at jmri.util.swing.JmriBeanComboBox.updateComboBox(JmriBeanComboBox.java:124)
     [java]     at jmri.util.swing.JmriBeanComboBox.propertyChange(JmriBeanComboBox.java:88)
     [java]     at jmri.util.swing.DedupingPropertyChangeListener.invokePropertyChange(DedupingPropertyChangeListener.java:44)
     [java]     at jmri.util.swing.DedupingPropertyChangeListener.lambda$0(DedupingPropertyChangeListener.java:35)
     [java]     at jmri.util.swing.DedupingPropertyChangeListener$$Lambda$257/1650128943.run(Unknown Source)
     [java]     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
     [java]     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
     [java]     at java.awt.EventQueue.access$400(EventQueue.java:97)
     [java]     at java.awt.EventQueue$3.run(EventQueue.java:697)
     [java]     at java.awt.EventQueue$3.run(EventQueue.java:691)
     [java]     at java.security.AccessController.doPrivileged(Native Method)
     [java]     at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
     [java]     at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
     [java]     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
     [java]     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
     [java]     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
     [java]     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
     [java]     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
     [java]     at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

LayoutEditor is not in use, but a number of Panel Editor screens are sequentially read from separate files and shown during the startup.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. JMRI is governed by a small group of maintainers which means not all opened issues may receive direct feedback.

stale[bot] commented 3 years ago

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the maintainers may elect to reopen this issue at a later date if deemed necessary.