Modify

Opened 9 years ago

Closed 8 years ago

#11720 closed defect (irreproducible)

restoring after machine crash: java.lang.NullPointerException: entry at java.util.zip.ZipFile.getInputStream

Reported by: grinapo Owned by: team
Priority: minor Milestone:
Component: Core Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. make a power failure while running JOSM
  2. ask for restore crashed content
  3. crash ;)

What is the expected result?

No error dialogs

What happens instead?

Error dialogs. (These are Very Useful Informations™)
Possibly the files are corrupted but crashing isn't the ideal way to convey that information to the monkey at the keyboard.

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

Revision: 8617
Repository Root: http://josm.openstreetmap.de/svn
Relative URL: ^/trunk
Last Changed Author: Don-vip
Last Changed Date: 2015-07-24 13:52:00 +0200 (Fri, 24 Jul 2015)
Build-Date: 2015-07-25 01:32:06
URL: http://josm.openstreetmap.de/svn/trunk
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Rev: 8617

Identification: JOSM/1.5 (8617 en) Linux Debian GNU/Linux unstable (sid)
Memory Usage: 837 MB / 3561 MB (446 MB allocated, but free)
Java version: 1.8.0_51, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAA==, -Djnlpx.jvm=<java.home>/bin/java, -Djnlpx.splashport=46358, -Djnlpx.home=<java.home>/bin, -Djnlpx.remove=false, -Djnlpx.offline=false, -Djnlpx.relaunch=true, -Djnlpx.session.data=/tmp/session3811811740456177344, -Djnlpx.heapsize=NULL,NULL, -Djava.security.policy=file:/usr/lib/jvm/java-8-oracle/jre/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.origFilenameArg=josm-latest.jnlp, -Dsun.awt.warmup=true, -Djava.security.manager]
Dataset consistency test: No problems found

Plugins:
- AddrInterpolation (31241)
- DirectUpload (31241)
- ElevationProfile (31302)
- FixAddresses (31241)
- HouseNumberTaggingTool (31241)
- InfoMode (31241)
- Mapillary (31331)
- OpeningHoursEditor (31241)
- PicLayer (31241)
- RoadSigns (31241)
- alignways (31241)
- buildings_tools (31361)
- commons-imaging (31241)
- contourmerge (1013)
- dataimport (31241)
- download_along (31241)
- ebdirigo (363)
- editgpx (31241)
- ext_tools (31241)
- fieldpapers (v0.3.0)
- geochat (31241)
- gpsblam (31241)
- gpxfilter (31241)
- graphview (31241)
- imagery_offset_db (31241)
- jna (31126)
- junctionchecking (31241)
- log4j (31231)
- mapdust (31241)
- measurement (31289)
- mirrored_download (31294)
- osmarender (31241)
- pbf (31241)
- photo_geotagging (31241)
- reltoolbox (31241)
- reverter (31241)
- routing (31241)
- scripting (30710)
- tageditor (31241)
- turnlanes (31241)
- turnrestrictions (31241)
- undelete (31241)
- utilsplugin2 (31241)
- videomapping (31241)
- walkingpapers (31241)
- waypoint_search (31241)

Last errors/warnings:
- E: videomapping: unable to locate VLC install dir
- W: Ext_Tools warning: can not load file /home/grin/.josm/plugins/ext_tools/tools.cfg
- W: Ext_Tools warning: can not load file /home/grin/.josm/plugins/ext_tools/repo.cfg
- E: java.lang.NullPointerException: entry
- E: java.lang.NullPointerException: entry

java.lang.NullPointerException: entry
	at java.util.zip.ZipFile.getInputStream(ZipFile.java:347)
	at org.openstreetmap.josm.gui.mappaint.mapcss.MapCSSStyleSource.getSourceInputStream(MapCSSStyleSource.java:482)
	at org.openstreetmap.josm.gui.mappaint.mapcss.MapCSSStyleSource.loadStyleSource(MapCSSStyleSource.java:385)
	at org.openstreetmap.josm.gui.mappaint.MapPaintStyles$MapPaintStyleLoader.realRun(MapPaintStyles.java:374)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:161)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Attachments (0)

Change History (1)

comment:1 by grinapo, 8 years ago

Resolution: irreproducible
Status: newclosed

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.