Modify ↓
Opened 8 months ago
Last modified 8 months ago
#23546 new defect
NullPointerException: Cannot read field "about" because the return value of "org.openstreetmap.josm.gui.MainApplication.getMenu()" is null
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | macosx | Cc: |
Description
Revision:18969 Build-Date:2024-02-06 12:15:17 Identification: JOSM/1.5 (18969 en) Mac OS X 14.3.1 OS Build number: macOS 14.3.1 (23D60) Memory Usage: 120 MB / 8192 MB (65 MB allocated, but free) Java version: 17.0.10+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.apple.laf.AquaLookAndFeel Screen: Display 2 2560×1440 (scaling 1.00×1.00) Display 3 2560×1440 (scaling 1.00×1.00) Maximum Screen Size: 2560×1440 Best cursor sizes: 16×16→16×16, 32×32→32×32 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_DE Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djpackage.app-version=18969, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=/Applications/JOSM.app/Contents/MacOS/JOSM] Last errors/warnings: - 00008.120 E: Handled by bug report queue: java.lang.NullPointerException: Cannot read field "about" because the return value of "org.openstreetmap.josm.gui.MainApplication.getMenu()" is null - 00019.901 W: java.net.SocketTimeoutException: Connect timed out - 00023.307 W: java.net.SocketTimeoutException: Connect timed out - 00023.418 W: Unable to detect current tested version of JOSM:: java.net.SocketTimeoutException: Connect timed out - 00025.240 W: org.openstreetmap.josm.tools.bugreport.BugReportSender$BugReportSenderException: java.net.SocketTimeoutException: Connect timed out. Cause: java.net.SocketTimeoutException: Connect timed out - 00034.907 W: java.net.SocketTimeoutException: Connect timed out - 00034.908 W: Already here java.net.SocketTimeoutException: Connect timed out === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (23) of main java.lang.NullPointerException: Cannot read field "about" because the return value of "org.openstreetmap.josm.gui.MainApplication.getMenu()" is null at org.openstreetmap.josm.gui.MainApplication$DefaultNativeOsCallback.handleAbout(MainApplication.java:1524) at org.openstreetmap.josm.tools.PlatformHookOsx.invoke(PlatformHookOsx.java:218) at jdk.proxy1/jdk.proxy1.$Proxy0.handleAbout(Unknown Source) at java.desktop/com.apple.eawt._AppEventHandler$_AboutDispatcher.performUsing(Unknown Source) at java.desktop/com.apple.eawt._AppEventHandler$_AboutDispatcher.performUsing(Unknown Source) at java.desktop/com.apple.eawt._AppEventHandler$_AppEventDispatcher$1.run(Unknown Source) at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.run(Unknown Source) === RUNNING THREADS === Thread: Signal Dispatcher (4) of system Thread: AWT-Shutdown (17) of system java.base@17.0.10/java.lang.Object.wait(Native Method) java.base@17.0.10/java.lang.Object.wait(Unknown Source) java.desktop@17.0.10/sun.awt.AWTAutoShutdown.run(Unknown Source) java.base@17.0.10/java.lang.Thread.run(Unknown Source) Thread: main (1) of main java.base@17.0.10/sun.nio.ch.Net.poll(Native Method) java.base@17.0.10/sun.nio.ch.NioSocketImpl.park(Unknown Source) java.base@17.0.10/sun.nio.ch.NioSocketImpl.timedFinishConnect(Unknown Source) java.base@17.0.10/sun.nio.ch.NioSocketImpl.connect(Unknown Source) java.base@17.0.10/java.net.SocksSocketImpl.connect(Unknown Source) java.base@17.0.10/java.net.Socket.connect(Unknown Source) java.base@17.0.10/sun.security.ssl.SSLSocketImpl.connect(Unknown Source) java.base@17.0.10/sun.net.NetworkClient.doConnect(Unknown Source) java.base@17.0.10/sun.net.www.http.HttpClient.openServer(Unknown Source) java.base@17.0.10/sun.net.www.http.HttpClient.openServer(Unknown Source) java.base@17.0.10/sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source) java.base@17.0.10/sun.net.www.protocol.https.HttpsClient.New(Unknown Source) java.base@17.0.10/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source) java.base@17.0.10/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source) java.base@17.0.10/sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) java.base@17.0.10/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) java.base@17.0.10/sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source) app//org.openstreetmap.josm.tools.Http1Client.performConnection(Http1Client.java:78) app//org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:162) app//org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:136) app//org.openstreetmap.josm.tools.HttpClient.connect(HttpClient.java:125) app//org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:794) app//org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:738) app//org.openstreetmap.josm.io.OsmApi$CapabilitiesCache.updateData(OsmApi.java:224) app//org.openstreetmap.josm.io.CacheCustomContent.updateForce(CacheCustomContent.java:131) app//org.openstreetmap.josm.io.CacheCustomContent.updateForceString(CacheCustomContent.java:143) app//org.openstreetmap.josm.io.CacheCustomContent.updateIfRequiredString(CacheCustomContent.java:121) app//org.openstreetmap.josm.io.OsmApi.initialize(OsmApi.java:257) app//org.openstreetmap.josm.io.OsmApi.initialize(OsmApi.java:236) app//org.openstreetmap.josm.io.OsmServerReader.getInputStream(OsmServerReader.java:88) app//org.openstreetmap.josm.io.OsmServerReader.fetchData(OsmServerReader.java:428) app//org.openstreetmap.josm.io.OsmServerUserInfoReader.fetchUserInfo(OsmServerUserInfoReader.java:170) app//org.openstreetmap.josm.io.OsmServerUserInfoReader.fetchUserInfo(OsmServerUserInfoReader.java:158) app//org.openstreetmap.josm.data.UserIdentityManager.initFromOAuth(UserIdentityManager.java:237) app//org.openstreetmap.josm.data.UserIdentityManager.getInstance(UserIdentityManager.java:72) app//org.openstreetmap.josm.gui.MainFrame.initialize(MainFrame.java:118) app//org.openstreetmap.josm.gui.MainApplication.initializeMainWindow(MainApplication.java:415) app//org.openstreetmap.josm.gui.MainInitialization$$Lambda$326/0x00000008003a7348.run(Unknown Source) app//org.openstreetmap.josm.spi.lifecycle.InitializationTask.call(InitializationTask.java:33) app//org.openstreetmap.josm.spi.lifecycle.Lifecycle.runInitializationTasks(Lifecycle.java:103) app//org.openstreetmap.josm.spi.lifecycle.Lifecycle.initialize(Lifecycle.java:71) app//org.openstreetmap.josm.gui.MainApplication.mainJOSM(MainApplication.java:959) app//org.openstreetmap.josm.gui.MainApplication$3.processArguments(MainApplication.java:277) app//org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:742) Thread: Java2D Queue Flusher (18) of system java.base@17.0.10/java.lang.Object.wait(Native Method) java.desktop@17.0.10/sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run(Unknown Source) java.base@17.0.10/java.lang.Thread.run(Unknown Source) Thread: AppKit Thread (16) of system Thread: process reaper (21) of system java.base@17.0.10/jdk.internal.misc.Unsafe.park(Native Method) java.base@17.0.10/java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source) java.base@17.0.10/java.util.concurrent.SynchronousQueue$TransferStack.transfer(Unknown Source) java.base@17.0.10/java.util.concurrent.SynchronousQueue.poll(Unknown Source) java.base@17.0.10/java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.base@17.0.10/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.base@17.0.10/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.base@17.0.10/java.lang.Thread.run(Unknown Source) Thread: Reference Handler (2) of system java.base@17.0.10/java.lang.ref.Reference.waitForReferencePendingList(Native Method) java.base@17.0.10/java.lang.ref.Reference.processPendingReferences(Unknown Source) java.base@17.0.10/java.lang.ref.Reference$ReferenceHandler.run(Unknown Source) Thread: Notification Thread (13) of system Thread: Common-Cleaner (12) of InnocuousThreadGroup java.base@17.0.10/java.lang.Object.wait(Native Method) java.base@17.0.10/java.lang.ref.ReferenceQueue.remove(Unknown Source) java.base@17.0.10/jdk.internal.ref.CleanerImpl.run(Unknown Source) java.base@17.0.10/java.lang.Thread.run(Unknown Source) java.base@17.0.10/jdk.internal.misc.InnocuousThread.run(Unknown Source) Thread: Weak reference cleaner (27) of main java.base@17.0.10/java.lang.Object.wait(Native Method) java.base@17.0.10/java.lang.ref.ReferenceQueue.remove(Unknown Source) java.base@17.0.10/java.lang.ref.ReferenceQueue.remove(Unknown Source) app//org.openstreetmap.josm.tools.ListenableWeakReference.clean(ListenableWeakReference.java:60) app//org.openstreetmap.josm.tools.ListenableWeakReference$$Lambda$372/0x0000000800429900.run(Unknown Source) java.base@17.0.10/java.lang.Thread.run(Unknown Source) Thread: TimerQueue (24) of system java.base@17.0.10/jdk.internal.misc.Unsafe.park(Native Method) java.base@17.0.10/java.util.concurrent.locks.LockSupport.park(Unknown Source) java.base@17.0.10/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(Unknown Source) java.base@17.0.10/java.util.concurrent.ForkJoinPool.unmanagedBlock(Unknown Source) java.base@17.0.10/java.util.concurrent.ForkJoinPool.managedBlock(Unknown Source) java.base@17.0.10/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.base@17.0.10/java.util.concurrent.DelayQueue.take(Unknown Source) java.desktop@17.0.10/javax.swing.TimerQueue.run(Unknown Source) java.base@17.0.10/java.lang.Thread.run(Unknown Source) Thread: Finalizer (3) of system java.base@17.0.10/java.lang.Object.wait(Native Method) java.base@17.0.10/java.lang.ref.ReferenceQueue.remove(Unknown Source) java.base@17.0.10/java.lang.ref.ReferenceQueue.remove(Unknown Source) java.base@17.0.10/java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source) Thread: main-worker-0 (22) of main java.base@17.0.10/jdk.internal.misc.Unsafe.park(Native Method) java.base@17.0.10/java.util.concurrent.locks.LockSupport.park(Unknown Source) java.base@17.0.10/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(Unknown Source) java.base@17.0.10/java.util.concurrent.ForkJoinPool.unmanagedBlock(Unknown Source) java.base@17.0.10/java.util.concurrent.ForkJoinPool.managedBlock(Unknown Source) java.base@17.0.10/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.base@17.0.10/java.util.concurrent.LinkedBlockingQueue.take(Unknown Source) java.base@17.0.10/java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source) java.base@17.0.10/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) java.base@17.0.10/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) java.base@17.0.10/java.lang.Thread.run(Unknown Source) Thread: File Watcher (25) of main java.base@17.0.10/jdk.internal.misc.Unsafe.park(Native Method) java.base@17.0.10/java.util.concurrent.locks.LockSupport.park(Unknown Source) java.base@17.0.10/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(Unknown Source) java.base@17.0.10/java.util.concurrent.ForkJoinPool.unmanagedBlock(Unknown Source) java.base@17.0.10/java.util.concurrent.ForkJoinPool.managedBlock(Unknown Source) java.base@17.0.10/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source) java.base@17.0.10/java.util.concurrent.LinkedBlockingDeque.takeFirst(Unknown Source) java.base@17.0.10/java.util.concurrent.LinkedBlockingDeque.take(Unknown Source) java.base@17.0.10/sun.nio.fs.AbstractWatchService.take(Unknown Source) app//org.openstreetmap.josm.io.FileWatcher.processEvents(FileWatcher.java:120) app//org.openstreetmap.josm.io.FileWatcher$$Lambda$323/0x00000008003a6cc0.run(Unknown Source) java.base@17.0.10/java.lang.Thread.run(Unknown Source) Thread: Java2D Disposer (19) of system java.base@17.0.10/java.lang.Object.wait(Native Method) java.base@17.0.10/java.lang.ref.ReferenceQueue.remove(Unknown Source) java.base@17.0.10/java.lang.ref.ReferenceQueue.remove(Unknown Source) java.desktop@17.0.10/sun.java2d.Disposer.run(Unknown Source) java.base@17.0.10/java.lang.Thread.run(Unknown Source) Thread: AWT-EventQueue-0 (23) of main Stacktrace see above.
Attachments (0)
Change History (2)
comment:1 by , 8 months ago
Keywords: | macosx added |
---|---|
Summary: | Crash at startup when opening about box → NullPointerException: Cannot read field "about" because the return value of "org.openstreetmap.josm.gui.MainApplication.getMenu()" is null |
comment:2 by , 8 months ago
Note:
See TracTickets
for help on using tickets.
Ticket #23557 has been marked as a duplicate of this ticket.