Opened 6 years ago

Closed 6 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@…


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.

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
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,]

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>(
	at org.openstreetmap.josm.gui.MainApplication.<init>(
	at org.openstreetmap.josm.gui.MainApplication.main(
Caused by: java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 4331
	at java.util.concurrent.FutureTask.get(
	at org.openstreetmap.josm.Main.<init>(
	... 2 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 4331
	at com.kitfox.svg.batik.LinearGradientPaintContext.fillSimpleNoCycle(
	at com.kitfox.svg.batik.LinearGradientPaintContext.fillRaster(
	at com.kitfox.svg.batik.MultipleGradientPaintContext.getRaster(
	at sun.java2d.pipe.AlphaPaintPipe.renderPathTile(
	at sun.java2d.pipe.SpanClipRenderer.renderPathTile(
	at sun.java2d.pipe.AAShapePipe.renderTiles(
	at sun.java2d.pipe.AAShapePipe.renderPath(
	at sun.java2d.pipe.AAShapePipe.fill(
	at sun.java2d.pipe.PixelToParallelogramConverter.fill(
	at sun.java2d.pipe.ValidatePipe.fill(
	at sun.java2d.SunGraphics2D.fill(
	at com.kitfox.svg.ShapeElement.renderShape(
	at com.kitfox.svg.Path.render(
	at com.kitfox.svg.Group.render(
	at com.kitfox.svg.SVGRoot.renderToViewport(
	at com.kitfox.svg.SVGDiagram.render(
	at org.openstreetmap.josm.gui.mappaint.MapPaintStyles.getIconProvider(
	at org.openstreetmap.josm.gui.mappaint.StyleSource.getSourceIconProvider(
	at org.openstreetmap.josm.gui.mappaint.StyleSource.getIconProvider(
	at org.openstreetmap.josm.gui.mappaint.MapPaintMenu$MapPaintAction.<init>(
	at org.openstreetmap.josm.gui.mappaint.MapPaintMenu.mapPaintStylesUpdated(
	at org.openstreetmap.josm.gui.mappaint.MapPaintStyles.fireMapPaintSylesUpdated(
	at org.openstreetmap.josm.gui.mappaint.MapPaintStyles.readFromPreferences(
	at org.openstreetmap.josm.Main$6.initialize(
	at org.openstreetmap.josm.Main$
	at org.openstreetmap.josm.Main$
	at java.util.concurrent.ThreadPoolExecutor.runWorker(
	at java.util.concurrent.ThreadPoolExecutor$

Attachments (1)

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

Download all attachments as: .zip

Change History (7)

Changed 6 years ago by wanio1ster@…

Attachment: crash.png added

place when application crash

comment:1 Changed 6 years ago by 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?

comment:2 Changed 6 years ago by Don-vip

Component: CoreCore mappaint
Keywords: svg added

comment:3 in reply to:  1 Changed 6 years ago by wanio1ster@…

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 Changed 6 years ago by Don-vip

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

comment:5 in reply to:  4 Changed 6 years ago by anonymous

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 Changed 6 years ago by Don-vip

Resolution: irreproducible
Status: newclosed

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.