Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#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?

  1. Make lots of changes to a bunch of residential roads' speed limits.
  2. Press CTRL+SHIFT+UP to get the upload dialog
  3. Fill in the 2 textboxes
  4. 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 Changed 6 years ago by Don-vip

Ticket #9991 has been marked as a duplicate of this ticket.

comment:2 Changed 6 years ago by Don-vip

Keywords: java8 added; template_report removed
Resolution: othersoftware
Status: newclosed

Java bug introduced in Java 8. I have reported it to Oracle. If it gets accepted, it will be available here.

comment:3 Changed 6 years ago by Don-vip

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 Changed 6 years ago by Don-vip

Keywords: javabug 8u20 added

comment:5 Changed 6 years ago by Don-vip

Ticket #10295 has been marked as a duplicate of this ticket.

comment:6 Changed 6 years ago by Don-vip

Ticket #10347 has been marked as a duplicate of this ticket.

comment:7 Changed 6 years ago by Don-vip

Summary: Crash When Uploading OSM ChangesRandom crash (NoSuchElementException) with Java 8

comment:8 Changed 6 years ago by Don-vip

Ticket #10349 has been marked as a duplicate of this ticket.

comment:9 Changed 6 years ago by Don-vip

Ticket #10364 has been marked as a duplicate of this ticket.

comment:10 Changed 6 years ago by Don-vip

Cc: seichter Zian added

comment:11 Changed 6 years ago by Don-vip

Java 8u20 has been released and contains fix for this bug, you should update to this version.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.