Opened 4 years ago

Closed 4 years ago

#14850 closed defect (fixed)

NullPointerException on launch (IPv6-checker)

Reported by: ZeiP Owned by: team
Priority: major Milestone: 17.05
Component: Core Version:
Keywords: template_report regression ipv6 Cc:


What steps will reproduce the problem?

Not sure, this happened when I launched JOSM on Fedora Linux. It hasn't happened before. The computer had no valid IPv6 address at the time, although usually it does.

What is the expected result?

What happens instead?

Please provide any additional information below. Attach a screenshot if possible.

Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-05-29 00:35:21 +0200 (Mon, 29 May 2017)
Build-Date:2017-05-28 22:37:41
Relative:URL: ^/trunk

Identification: JOSM/1.5 (12271 en) Linux Fedora 25 (Workstation Edition)
Memory Usage: 796 MB / 3438 MB (433 MB allocated, but free)
Java version: 1.8.0_45-b14, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: :0.0 1920x1080, :0.1 1920x1080, :0.2 1080x1920
Maximum Screen Size: 1920x1920
VM arguments: [-Djava.util.Arrays.useLegacyMergeSort=true, -Djnlp.application.href=, -Djnlpx.jvm=<java.home>/bin/java, -Djnlpx.splashport=35719, -Djnlpx.home=/usr/java/jre1.7.0_21/bin, -Djnlpx.remove=false, -Djnlpx.offline=false, -Djnlpx.relaunch=true,, -Djnlpx.heapsize=NULL,NULL,, -DtrustProxy=true, -Dsun.awt.warmup=true]

+ FastDraw
+ HouseNumberTaggingTool
+ geochat
+ graphview
+ jogl
+ kendzi3d-resources
+ log4j
+ measurement
+ osmarender
+ scoutsigns
+ tageditor

Last errors/warnings:
- E: Handled by bug report queue: java.lang.NullPointerException
- W: Update plugins - 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=]

No data collected.

Warning issued by: BugReportExceptionHandler#handleException

Thread: IPv6-checker (36)
	at org.openstreetmap.josm.Main.registerActionShortcut(
	at org.openstreetmap.josm.actions.JosmAction.<init>(
	at org.openstreetmap.josm.actions.JosmAction.<init>(
	at org.openstreetmap.josm.actions.JosmAction.<init>(
	at org.openstreetmap.josm.actions.RestartAction.<init>(
	at org.openstreetmap.josm.gui.MainApplication.lambda$checkIPv6$5(
	at org.openstreetmap.josm.gui.MainApplication$$Lambda$25/ Source)

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by Don-vip

Keywords: regression ipv6 added
Milestone: 17.05
Priority: normalmajor

comment:2 Changed 4 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 12273/josm:

fix #14850 - NPE on launch: make sure RestartAction (and all the GUI stuff behind) is not constructed before GUI is fully initialized

Modify Ticket

Change Properties
Set your email in Preferences
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.