Modify

Opened 7 years ago

Closed 7 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:

Description

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.

URL:http://josm.openstreetmap.de/svn/trunk
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
Revision:12271
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=https://josm.openstreetmap.de/download/josm.jnlp, -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.session.data=/tmp/session7993664188989308147, -Djnlpx.heapsize=NULL,NULL, -Djava.security.policy=file:/usr/java/jre1.7.0_21/lib/security/javaws.policy, -DtrustProxy=true, -Dsun.awt.warmup=true]

Plugins:
+ 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=]


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: IPv6-checker (36)
java.lang.NullPointerException
	at org.openstreetmap.josm.Main.registerActionShortcut(Main.java:666)
	at org.openstreetmap.josm.actions.JosmAction.<init>(JosmAction.java:79)
	at org.openstreetmap.josm.actions.JosmAction.<init>(JosmAction.java:112)
	at org.openstreetmap.josm.actions.JosmAction.<init>(JosmAction.java:152)
	at org.openstreetmap.josm.actions.RestartAction.<init>(RestartAction.java:46)
	at org.openstreetmap.josm.gui.MainApplication.lambda$checkIPv6$5(MainApplication.java:500)
	at org.openstreetmap.josm.gui.MainApplication$$Lambda$25/1667700499.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:745)

Attachments (0)

Change History (2)

comment:1 by Don-vip, 7 years ago

Keywords: regression ipv6 added
Milestone: 17.05
Priority: normalmajor

comment:2 by Don-vip, 7 years ago

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
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.