#10038 closed defect (othersoftware)
Random crash (NoSuchElementException) with Java 8
Reported by: | Zian | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | java8 javabug 8u20 | Cc: | seichter, Zian |
Description
What steps will reproduce the problem?
- Make lots of changes to a bunch of residential roads' speed limits.
- Press CTRL+SHIFT+UP to get the upload dialog
- Fill in the 2 textboxes
- Press Enter to upload
What is the expected result?
The changeset should be uploaded.
What happens instead?
I got a JOSM error dialog
Please provide any additional information below. Attach a screenshot if
possible.
Revision: 7000 Repository Root: http://josm.openstreetmap.de/svn Last Changed Author: Don-vip Last Changed Date: 2014-04-25 19:46:38 +0200 (Fri, 25 Apr 2014) Build-Date: 2014-04-25 17:49:40 URL: http://josm.openstreetmap.de/svn/trunk Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last Changed Rev: 7000 Identification: JOSM/1.5 (7000 en) Windows 7 64-Bit Memory Usage: 211 MB / 247 MB (74 MB allocated, but free) Java version: 1.8.0_05, Oracle Corporation, Java HotSpot(TM) Client VM VM arguments: [-Djava.security.policy=file:C:\Program Files (x86)\Java\jre8\lib\security\javaws.policy, -DtrustProxy=true, -Xverify:remote, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Users\Zian\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-6910fd8a, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Xbootclasspath/a:C:\Program Files (x86)\Java\jre8\lib\javaws.jar;C:\Program Files (x86)\Java\jre8\lib\deploy.jar;C:\Program Files (x86)\Java\jre8\lib\plugin.jar, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=55170, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=-Djava.util.Arrays.useLegacyMergeSort=true -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp] Dataset consistency test: No problems found Plugin: imagery_offset_db (30413) Plugin: measurement (30413) Plugin: notes (v0.9.2) java.util.NoSuchElementException at java.util.LinkedList.getFirst(Unknown Source) at java.awt.DefaultKeyboardFocusManager.repostIfFollowsKeyEvents(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(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.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$400(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.SequencedEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$400(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(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)
Attachments (0)
Change History (11)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Keywords: | java8 added; template_report removed |
---|---|
Resolution: | → othersoftware |
Status: | new → closed |
Java bug introduced in Java 8. I have reported it to Oracle. If it gets accepted, it will be available here.
comment:3 by , 11 years ago
Such a shame. The issue is know for almost a year, it has been fixed 5 months ago, and it is yet unreleased in current Java 8 binaries...
comment:4 by , 11 years ago
Keywords: | javabug 8u20 added |
---|
comment:7 by , 11 years ago
Summary: | Crash When Uploading OSM Changes → Random crash (NoSuchElementException) with Java 8 |
---|
comment:10 by , 11 years ago
Cc: | added |
---|
comment:11 by , 11 years ago
Java 8u20 has been released and contains fix for this bug, you should update to this version.
Ticket #9991 has been marked as a duplicate of this ticket.