Modify

Opened 9 years ago

Closed 9 years ago

#12090 closed defect (othersoftware)

Error during applying OAuth changes with Java 1.9

Reported by: mgm175@… Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: OAuth java9 Cc:

Description

I'm just applying OAuth settings, then the error shows up. Below is what I've recieved from error window.

Revision: 9003
Repository Root: http://josm.openstreetmap.de/svn
Relative URL: ^/trunk
Last Changed Author: Klumbumbus
Last Changed Date: 2015-11-11 22:51:39 +0100 (Wed, 11 Nov 2015)
Build-Date: 2015-11-12 02:32:21
URL: http://josm.openstreetmap.de/svn/trunk
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Rev: 9003

Identification: JOSM/1.5 (9003 pl) Windows 7 64-Bit
Memory Usage: 96 MB / 1536 MB (21 MB allocated, but free)
Java version: 1.9.0-ea, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:C:\Program Files\Java\jre1.9.0\conf\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Users\Dom\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\31\583aa85f-14806e57, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm-latest.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAC1Eam5scC5hcHBsaWNhdGlvbi5ocmVmPWh0dHBzOi8vam9zbS5vcGVuc3RyZWV0bWFwLmRlL2Rvd25sb2FkL2pvc20tbGF0ZXN0LmpubHAA]


Last errors/warnings:
- E: java.nio.channels.OverlappingFileLockException
- E: java.nio.channels.OverlappingFileLockException
- E: java.nio.channels.OverlappingFileLockException

java.nio.channels.OverlappingFileLockException
	at sun.nio.ch.SharedFileLockTable.checkList(FileLockTable.java:255)
	at sun.nio.ch.SharedFileLockTable.add(FileLockTable.java:152)
	at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1109)
	at java.nio.channels.FileChannel.tryLock(FileChannel.java:1155)
	at org.openstreetmap.josm.data.cache.JCSCacheManager.initialize(JCSCacheManager.java:66)
	at org.openstreetmap.josm.data.cache.JCSCacheManager.getCache(JCSCacheManager.java:150)
	at org.openstreetmap.josm.gui.layer.AbstractCachedTileSourceLayer.getCache(AbstractCachedTileSourceLayer.java:122)
	at org.openstreetmap.josm.gui.layer.AbstractCachedTileSourceLayer.getTileLoaderFactory(AbstractCachedTileSourceLayer.java:113)
	at org.openstreetmap.josm.gui.bbox.SlippyMapBBoxChooser.<init>(SlippyMapBBoxChooser.java:143)
	at org.openstreetmap.josm.gui.download.SlippyMapChooser.<init>(SlippyMapChooser.java:35)
	at org.openstreetmap.josm.gui.download.DownloadDialog.buildMainPanel(DownloadDialog.java:120)
	at org.openstreetmap.josm.gui.download.DownloadDialog.<init>(DownloadDialog.java:235)
	at org.openstreetmap.josm.gui.download.DownloadDialog.<init>(DownloadDialog.java:223)
	at org.openstreetmap.josm.gui.download.DownloadDialog.getInstance(DownloadDialog.java:66)
	at org.openstreetmap.josm.gui.preferences.imagery.ImageryPreference.ok(ImageryPreference.java:160)
	at org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane$PluginDownloadAfterTask.run(PreferenceTabbedPane.java:93)
	at org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane.savePreferences(PreferenceTabbedPane.java:445)
	at org.openstreetmap.josm.gui.preferences.PreferenceDialog$OKAction.actionPerformed(PreferenceDialog.java:174)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2026)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2366)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:261)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:266)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
	at java.awt.Component.processMouseEvent(Component.java:6607)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3361)
	at java.awt.Component.processEvent(Component.java:6372)
	at java.awt.Container.processEvent(Container.java:2259)
	at java.awt.Component.dispatchEventImpl(Component.java:4991)
	at java.awt.Container.dispatchEventImpl(Container.java:2317)
	at java.awt.Component.dispatchEvent(Component.java:4823)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4906)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4543)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4484)
	at java.awt.Container.dispatchEventImpl(Container.java:2303)
	at java.awt.Window.dispatchEventImpl(Window.java:2759)
	at java.awt.Component.dispatchEvent(Component.java:4823)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:761)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:712)
	at java.awt.EventQueue$3.run(EventQueue.java:706)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.awt.EventQueue$4.run(EventQueue.java:734)
	at java.awt.EventQueue$4.run(EventQueue.java:732)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:731)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:192)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:110)
	at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
	at java.awt.Dialog.show(Dialog.java:1070)
	at java.awt.Component.show(Component.java:1697)
	at java.awt.Component.setVisible(Component.java:1644)
	at java.awt.Window.setVisible(Window.java:1014)
	at java.awt.Dialog.setVisible(Dialog.java:1005)
	at org.openstreetmap.josm.gui.preferences.PreferenceDialog.setVisible(PreferenceDialog.java:126)
	at org.openstreetmap.josm.actions.PreferencesAction.run(PreferencesAction.java:112)
	at org.openstreetmap.josm.actions.PreferencesAction.actionPerformed(PreferencesAction.java:101)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2026)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2366)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:261)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:378)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:957)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1001)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
	at java.awt.Component.processMouseEvent(Component.java:6607)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3361)
	at java.awt.Component.processEvent(Component.java:6372)
	at java.awt.Container.processEvent(Container.java:2259)
	at java.awt.Component.dispatchEventImpl(Component.java:4991)
	at java.awt.Container.dispatchEventImpl(Container.java:2317)
	at java.awt.Component.dispatchEvent(Component.java:4823)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4906)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4543)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4484)
	at java.awt.Container.dispatchEventImpl(Container.java:2303)
	at java.awt.Window.dispatchEventImpl(Window.java:2759)
	at java.awt.Component.dispatchEvent(Component.java:4823)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:761)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:712)
	at java.awt.EventQueue$3.run(EventQueue.java:706)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.awt.EventQueue$4.run(EventQueue.java:734)
	at java.awt.EventQueue$4.run(EventQueue.java:732)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:731)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:192)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:106)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:102)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:94)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)

Attachments (0)

Change History (5)

comment:1 by Don-vip, 9 years ago

Keywords: java9 added; Java1.9 Latest removed

comment:2 by wiktorn, 9 years ago

I can reproduce this bug on JRE 1.9.0 b83, but not on JDK 1.9.0 b83. As it is now impossible for me to fetch b91 from page, I can't confirm, if this is present in current JRE/JDK version.

Fixes for Java9 that we encountered #11577 are fixed in b92. I wonder if this is related, as there the problem also only occurred in JRE. I'd wait for b92 release, retest, and then report to Oracle if the problem still persists.

in reply to:  2 comment:3 by Don-vip, 9 years ago

Replying to wiktorn:

As it is now impossible for me to fetch b91 from page

Same for everyone, they're switching their servers, see https://community.oracle.com/thread/3865641?sr=stream&ru=428462

comment:4 by wiktorn, 9 years ago

b91 JRE - problem still occurs
b91 JDK - works good

Let's wait for b92.

comment:5 by wiktorn, 9 years ago

Resolution: othersoftware
Status: newclosed

I can't reproduce the problem with JRE b92.

Please update your Java to newest 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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.