Modify

Opened 8 years ago

Closed 8 years ago

#13107 closed defect (irreproducible)

Error message when start JOSM

Reported by: wanio1ster@… Owned by: team
Priority: normal Milestone:
Component: Core mappaint Version: latest
Keywords: crash startup svg Cc: wanio1ster@…

Description

What steps will reproduce the problem?

  1. Run JOSM.
  2. On the "initiating styles map" application crash

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: 2016-06-04 17:28:58 +0200 (Sat, 04 Jun 2016)
Build-Date:2016-06-04 15:31:27
Revision:10327
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10327 pl) Linux Ubuntu 16.04 LTS
Memory Usage: 211 MB / 665 MB (169 MB allocated, but free)
Java version: 1.8.0_91-8u91-b14-0ubuntu4~16.04.1-b14, Oracle Corporation, OpenJDK 64-Bit Server VM
VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true]


Last errors/warnings:
- E: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 4331. Przyczyna: java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 4331. Przyczyna: java.lang.ArrayIndexOutOfBoundsException: 4331

java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 4331
	at org.openstreetmap.josm.Main.<init>(Main.java:656)
	at org.openstreetmap.josm.gui.MainApplication.<init>(MainApplication.java:99)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:465)
Caused by: java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 4331
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
	at org.openstreetmap.josm.Main.<init>(Main.java:652)
	... 2 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 4331
	at com.kitfox.svg.batik.LinearGradientPaintContext.fillSimpleNoCycle(LinearGradientPaintContext.java:354)
	at com.kitfox.svg.batik.LinearGradientPaintContext.fillRaster(LinearGradientPaintContext.java:520)
	at com.kitfox.svg.batik.MultipleGradientPaintContext.getRaster(MultipleGradientPaintContext.java:1339)
	at sun.java2d.pipe.AlphaPaintPipe.renderPathTile(AlphaPaintPipe.java:124)
	at sun.java2d.pipe.SpanClipRenderer.renderPathTile(SpanClipRenderer.java:116)
	at sun.java2d.pipe.AAShapePipe.renderTiles(AAShapePipe.java:201)
	at sun.java2d.pipe.AAShapePipe.renderPath(AAShapePipe.java:159)
	at sun.java2d.pipe.AAShapePipe.fill(AAShapePipe.java:68)
	at sun.java2d.pipe.PixelToParallelogramConverter.fill(PixelToParallelogramConverter.java:164)
	at sun.java2d.pipe.ValidatePipe.fill(ValidatePipe.java:160)
	at sun.java2d.SunGraphics2D.fill(SunGraphics2D.java:2527)
	at com.kitfox.svg.ShapeElement.renderShape(ShapeElement.java:323)
	at com.kitfox.svg.Path.render(Path.java:92)
	at com.kitfox.svg.Group.render(Group.java:204)
	at com.kitfox.svg.SVGRoot.renderToViewport(SVGRoot.java:285)
	at com.kitfox.svg.SVGDiagram.render(SVGDiagram.java:105)
	at org.openstreetmap.josm.tools.ImageProvider.createImageFromSvg(ImageProvider.java:1428)
	at org.openstreetmap.josm.tools.ImageResource.getImageIcon(ImageResource.java:111)
	at org.openstreetmap.josm.tools.ImageProvider.get(ImageProvider.java:562)
	at org.openstreetmap.josm.gui.mappaint.MapPaintStyles.getIconProvider(MapPaintStyles.java:129)
	at org.openstreetmap.josm.gui.mappaint.StyleSource.getSourceIconProvider(StyleSource.java:199)
	at org.openstreetmap.josm.gui.mappaint.StyleSource.getIconProvider(StyleSource.java:215)
	at org.openstreetmap.josm.gui.mappaint.MapPaintMenu$MapPaintAction.<init>(MapPaintMenu.java:36)
	at org.openstreetmap.josm.gui.mappaint.MapPaintMenu.mapPaintStylesUpdated(MapPaintMenu.java:100)
	at org.openstreetmap.josm.gui.mappaint.MapPaintStyles.fireMapPaintSylesUpdated(MapPaintStyles.java:495)
	at org.openstreetmap.josm.gui.mappaint.MapPaintStyles.readFromPreferences(MapPaintStyles.java:264)
	at org.openstreetmap.josm.gui.preferences.map.MapPaintPreference.initialize(MapPaintPreference.java:193)
	at org.openstreetmap.josm.Main$6.initialize(Main.java:636)
	at org.openstreetmap.josm.Main$InitializationTask.call(Main.java:733)
	at org.openstreetmap.josm.Main$InitializationTask.call(Main.java:717)
	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 (1)

crash.png (53.9 KB ) - added by wanio1ster@… 8 years ago.
place when application crash

Download all attachments as: .zip

Change History (7)

by wanio1ster@…, 8 years ago

Attachment: crash.png added

place when application crash

comment:1 by Don-vip, 8 years ago

Looks like one particular SVG image makes crash our SVG library, but I can't see which one. Do you have custom map paint styles enabled?

comment:2 by Don-vip, 8 years ago

Component: CoreCore mappaint
Keywords: svg added

in reply to:  1 comment:3 by wanio1ster@…, 8 years ago

Replying to Don-vip:

Looks like one particular SVG image makes crash our SVG library, but I can't see which one. Do you have custom map paint styles enabled?

Well, I installed josm from standard ubuntu repositories and josm normally started (I saw splash screen), but I had a previous version, so I add reposository from openstreetmap and update the application and now josm crashed when I try run it. I didn't change any settings and I don't know do I have enabled custom map paint styles.

comment:4 by Don-vip, 8 years ago

Did you install the package "josm-plugins" from ubuntu repositories? If yes, you should remove it (apt remove josm-plugins)

in reply to:  4 comment:5 by anonymous, 8 years ago

Replying to Don-vip:

Did you install the package "josm-plugins" from ubuntu repositories? If yes, you should remove it (apt remove josm-plugins)

I don't have installed this package, but I don't know how, today josm runs normally. So I try run it second time but now I had the same error message. When I reinstall josm, application runs normally every time.

Anyway thanks for help

comment:6 by Don-vip, 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.