Modify

Opened 13 days ago

Closed 12 days ago

Last modified 12 days ago

#15133 closed defect (fixed)

NPE at HttpClient.disconnect

Reported by: anonymous Owned by: team
Priority: normal Milestone: 17.08
Component: Core Version:
Keywords: linux java9 opensuse Cc:

Description

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-07-30 17:07:42 +0200 (Sun, 30 Jul 2017)
Revision:12542
Build-Date:2017-07-30 15:14:00
URL:http://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (12542 ru) Linux openSUSE Tumbleweed
Memory Usage: 180 MB / 910 MB (51 MB allocated, but free)
Java version: 9-internal+0-adhoc.abuild.jdk9-252475ccfd84, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1366x768
Maximum Screen Size: 1366x768
Java package: openjdk-9-jre:пакет openjdk-9-jre не установлен

Plugins:
+ HouseNumberTaggingTool
+ PicLayer
+ buildings_tools
+ imagery_offset_db

Last errors/warnings:
- W: Обновить модули - org.openstreetmap.josm.plugins.PluginHandler$UpdatePluginsMessagePanel[,0,0,0x0,invalid,layout=java.awt.GridBagLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]
- E: Handled by bug report queue: java.lang.NullPointerException
- E: Handled by bug report queue: java.lang.NoClassDefFoundError: Could not initialize class sun.security.ssl.SSLContextImpl$DefaultSSLContext


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main (1)
java.lang.NullPointerException
	at org.openstreetmap.josm.tools.HttpClient.disconnect(HttpClient.java:657)
	at org.openstreetmap.josm.tools.HttpClient.disconnect(HttpClient.java:652)
	at org.openstreetmap.josm.plugins.ReadRemotePluginInformationTask.downloadPluginList(ReadRemotePluginInformationTask.java:175)
	at org.openstreetmap.josm.plugins.ReadRemotePluginInformationTask.realRun(ReadRemotePluginInformationTask.java:304)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:95)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:143)
	at org.openstreetmap.josm.plugins.PluginHandler.updatePlugins(PluginHandler.java:1088)
	at org.openstreetmap.josm.gui.MainApplication.updateAndLoadEarlyPlugins(MainApplication.java:422)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:351)

=== RUNNING THREADS ===
Thread: TimerQueue (61) of system
java.base@9-internal/jdk.internal.misc.Unsafe.park(Native Method)
java.base@9-internal/java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
java.base@9-internal/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source)
java.base@9-internal/java.util.concurrent.DelayQueue.take(Unknown Source)
java.desktop@9-internal/javax.swing.TimerQueue.run(Unknown Source)
java.base@9-internal/java.lang.Thread.run(Unknown Source)

Thread: Finalizer (3) of system
java.base@9-internal/java.lang.Object.wait(Native Method)
java.base@9-internal/java.lang.ref.ReferenceQueue.remove(Unknown Source)
java.base@9-internal/java.lang.ref.ReferenceQueue.remove(Unknown Source)
java.base@9-internal/java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

Thread: AWT-Shutdown (57) of system
java.base@9-internal/java.lang.Object.wait(Native Method)
java.base@9-internal/java.lang.Object.wait(Unknown Source)
java.desktop@9-internal/sun.awt.AWTAutoShutdown.run(Unknown Source)
java.base@9-internal/java.lang.Thread.run(Unknown Source)

Thread: Java2D Disposer (50) of system
java.base@9-internal/java.lang.Object.wait(Native Method)
java.base@9-internal/java.lang.ref.ReferenceQueue.remove(Unknown Source)
java.base@9-internal/java.lang.ref.ReferenceQueue.remove(Unknown Source)
java.desktop@9-internal/sun.java2d.Disposer.run(Unknown Source)
java.base@9-internal/java.lang.Thread.run(Unknown Source)

Thread: SeedGenerator Thread (16) of SeedGenerator ThreadGroup
java.base@9-internal/sun.security.provider.SeedGenerator$ThreadedSeedGenerator.run(Unknown Source)
java.base@9-internal/java.lang.Thread.run(Unknown Source)

Thread: Reference Handler (2) of system
java.base@9-internal/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
java.base@9-internal/java.lang.ref.Reference.processPendingReferences(Unknown Source)
java.base@9-internal/java.lang.ref.Reference.access$000(Unknown Source)
java.base@9-internal/java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)

Thread: Signal Dispatcher (4) of system

Thread: AWT-XAWT (54) of system
java.desktop@9-internal/sun.awt.X11.XToolkit.waitForEvents(Native Method)
java.desktop@9-internal/sun.awt.X11.XToolkit.run(Unknown Source)
java.desktop@9-internal/sun.awt.X11.XToolkit.run(Unknown Source)
java.base@9-internal/java.lang.Thread.run(Unknown Source)

Thread: Image Fetcher 0 (65)
java.base@9-internal/java.lang.Object.wait(Native Method)
java.desktop@9-internal/sun.awt.image.ImageFetcher.nextImage(Unknown Source)
java.desktop@9-internal/sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
java.desktop@9-internal/sun.awt.image.ImageFetcher.run(Unknown Source)

Thread: AWT-EventQueue-0 (56) of main
java.base@9-internal/jdk.internal.misc.Unsafe.unpark(Native Method)
java.base@9-internal/java.util.concurrent.locks.LockSupport.unpark(Unknown Source)
java.base@9-internal/java.util.concurrent.locks.AbstractQueuedSynchronizer.unparkSuccessor(Unknown Source)
java.base@9-internal/java.util.concurrent.locks.AbstractQueuedSynchronizer.release(Unknown Source)
java.base@9-internal/java.util.concurrent.locks.ReentrantLock.unlock(Unknown Source)
java.desktop@9-internal/sun.awt.SunToolkit.awtUnlock(Unknown Source)
java.desktop@9-internal/sun.awt.X11InputMethod.isCompositionEnabledNative(Native Method)
java.desktop@9-internal/sun.awt.X11InputMethod.isCompositionEnabled(Unknown Source)
java.desktop@9-internal/sun.awt.X11InputMethod.getCompositionState(Unknown Source)
java.desktop@9-internal/sun.awt.X11InputMethod.endComposition(Unknown Source)
java.desktop@9-internal/sun.awt.X11InputMethod.stopListening(Unknown Source)
java.desktop@9-internal/sun.awt.im.InputContext.disableNativeIM(Unknown Source)
java.desktop@9-internal/java.awt.Component.dispatchEventImpl(Unknown Source)
java.desktop@9-internal/java.awt.Container.dispatchEventImpl(Unknown Source)
java.desktop@9-internal/java.awt.Component.dispatchEvent(Unknown Source)
java.desktop@9-internal/java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
java.desktop@9-internal/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
java.desktop@9-internal/java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
java.desktop@9-internal/java.awt.Component.dispatchEventImpl(Unknown Source)
java.desktop@9-internal/java.awt.Container.dispatchEventImpl(Unknown Source)
java.desktop@9-internal/java.awt.Component.dispatchEvent(Unknown Source)
java.desktop@9-internal/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
java.desktop@9-internal/java.awt.EventQueue.access$500(Unknown Source)
java.desktop@9-internal/java.awt.EventQueue$3.run(Unknown Source)
java.desktop@9-internal/java.awt.EventQueue$3.run(Unknown Source)
java.base@9-internal/java.security.AccessController.doPrivileged(Native Method)
java.base@9-internal/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
java.base@9-internal/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
java.desktop@9-internal/java.awt.EventQueue$4.run(Unknown Source)
java.desktop@9-internal/java.awt.EventQueue$4.run(Unknown Source)
java.base@9-internal/java.security.AccessController.doPrivileged(Native Method)
java.base@9-internal/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
java.desktop@9-internal/java.awt.EventQueue.dispatchEvent(Unknown Source)
java.desktop@9-internal/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
java.desktop@9-internal/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
java.desktop@9-internal/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
java.desktop@9-internal/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.desktop@9-internal/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.desktop@9-internal/java.awt.EventDispatchThread.run(Unknown Source)

Thread: process reaper (14) of system
java.base@9-internal/jdk.internal.misc.Unsafe.park(Native Method)
java.base@9-internal/java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
java.base@9-internal/java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(Unknown Source)
java.base@9-internal/java.util.concurrent.SynchronousQueue$TransferStack.transfer(Unknown Source)
java.base@9-internal/java.util.concurrent.SynchronousQueue.poll(Unknown Source)
java.base@9-internal/java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
java.base@9-internal/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.base@9-internal/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.base@9-internal/java.lang.Thread.run(Unknown Source)

Thread: Common-Cleaner (9) of InnocuousThreadGroup
java.base@9-internal/java.lang.Object.wait(Native Method)
java.base@9-internal/java.lang.ref.ReferenceQueue.remove(Unknown Source)
java.base@9-internal/jdk.internal.ref.CleanerImpl.run(Unknown Source)
java.base@9-internal/java.lang.Thread.run(Unknown Source)
java.base@9-internal/jdk.internal.misc.InnocuousThread.run(Unknown Source)

Thread: SeedGenerator Thread (76)
java.base@9-internal/java.lang.Thread.sleep(Native Method)
java.base@9-internal/sun.security.provider.SeedGenerator$ThreadedSeedGenerator$BogusThread.run(Unknown Source)
java.base@9-internal/java.lang.Thread.run(Unknown Source)

Thread: FileSystemWatchService (12) of main
java.base@9-internal/sun.nio.fs.LinuxWatchService.poll(Native Method)
java.base@9-internal/sun.nio.fs.LinuxWatchService.access$600(Unknown Source)
java.base@9-internal/sun.nio.fs.LinuxWatchService$Poller.run(Unknown Source)
java.base@9-internal/java.lang.Thread.run(Unknown Source)

Thread: main (1)
Stacktrace see above.

Attachments (0)

Change History (2)

comment:1 Changed 12 days ago by Don-vip

Resolution: fixed
Status: newclosed

In 12590/josm:

fix #15133 - NPE at HttpClient.disconnect

comment:2 Changed 12 days ago by Don-vip

Keywords: linux java9 opensuse added
Milestone: 17.08
Summary: Error startupNPE at HttpClient.disconnect

The NPE is fixed but there's definitively some trouble with your strange Java 9 package.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
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.