Modify

Opened 9 years ago

Closed 9 years ago

#12544 closed defect (wontfix)

error PicLayer-Plugin

Reported by: Schermy Owned by: Larry0ua
Priority: normal Milestone:
Component: Plugin piclayer Version: tested
Keywords: PicLayer, jpeg Cc:

Description

What steps will reproduce the problem?

  1. New Layer from file (PicLayer)
  2. select a jpg with worldfile (not all, but the most jpg's, all files cover about a municipality in exampel Santkt Veit im Pongau (Austria), see attatchment

What is the expected result?

The picture coldn't load in josm

What happens instead?

nothing

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-01-25 02:46:36 +0100 (Mon, 25 Jan 2016)
Build-Date:2016-01-25 02:34:06
Revision:9624
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9624 de) Windows 10 64-Bit
Memory Usage: 3768 MB / 9102 MB (2019 MB allocated, but free)
Java version: 1.8.0_66-b18, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Dataset consistency test: No problems found

Plugins:
- BuildingGeneralization (UNKNOWN)
- ColorPlugin (1414145445)
- DirectDownload (31934)
- DirectUpload (31912)
- DxfImport (1006)
- ElevationProfile (32027)
- FixAddresses (31772)
- HouseNumberTaggingTool (31772)
- ImageWayPoint (31772)
- ImportImagePlugin (31772)
- InfoMode (31772)
- Mapillary (32040)
- OpeningHoursEditor (31772)
- PicLayer (31895)
- RoadSigns (31895)
- ShapeTools (1000)
- SimplifyArea (31895)
- TombPlugin (46)
- apache-commons (31895)
- apache-http (31895)
- areaselector (263)
- buildings_tools (31895)
- contourmerge (1014)
- dataimport (31772)
- download_along (31772)
- editgpx (31772)
- ejml (31895)
- fieldpapers (v0.4.0)
- geochat (31895)
- geotools (31895)
- gpsblam (31772)
- gpxfilter (31772)
- graphview (31895)
- gson (31895)
- imagery-xml-bounds (31772)
- imagery_offset_db (32046)
- imageryadjust (31772)
- importvec (31772)
- jna (31877)
- jts (31772)
- kendzi3d-jogl (41)
- lakewalker (31772)
- livegps (31772)
- log4j (31895)
- mapdust (31772)
- mbtiles (v2.0)
- measurement (31895)
- merge-overlap (31967)
- michigan_left (31772)
- namemanager (31772)
- opendata (31937)
- openvisible (31772)
- pdfimport (32019)
- photo_geotagging (31895)
- photoadjust (32016)
- poly (31772)
- print (31895)
- rasterfilters (31895)
- reltoolbox (31895)
- reverter (32005)
- routing (31772)
- scoutsigns (71)
- splinex (31895)
- surveyor2 (29210)
- tag2link (31910)
- tageditor (31772)
- tagging-preset-tester (31895)
- terracer (31895)
- todo (29154)
- tofix (173)
- turnlanes (31772)
- turnrestrictions (31895)
- undelete (31895)
- utilsplugin2 (32018)
- walkingpapers (31603)
- waydownloader (31772)
- waypoint_search (31772)

Last errors/warnings:
- E: java.lang.IllegalArgumentException: Invalid scanline stride
- E: Fehler beim Laden des Bildes ''
- W: java.util.zip.ZipException: error in opening zip file
- W: PluginException: Ungültige JAR-Datei 'E:\Users\Bernhard Rainer\AppData\Roaming\JOSM\plugins\mappinonosm.jar'
- W: Das Durchsuchen der Datei »mappinonosm.jar« nach Erweiterungsinformationen ist fehlgeschlagen. Datei wird übersprungen.

java.lang.IllegalArgumentException: Invalid scanline stride
	at java.awt.image.ComponentSampleModel.getBufferSize(Unknown Source)
	at java.awt.image.ComponentSampleModel.verify(Unknown Source)
	at java.awt.image.ComponentSampleModel.<init>(Unknown Source)
	at java.awt.image.PixelInterleavedSampleModel.<init>(Unknown Source)
	at java.awt.image.PixelInterleavedSampleModel.createCompatibleSampleModel(Unknown Source)
	at javax.imageio.ImageTypeSpecifier.getSampleModel(Unknown Source)
	at javax.imageio.ImageTypeSpecifier.createBufferedImage(Unknown Source)
	at javax.imageio.ImageReader.getDestination(Unknown Source)
	at com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source)
	at 

Attachments (1)

Sonnenterrasse.zip (18.2 MB ) - added by Schermy 9 years ago.

Change History (5)

comment:1 by Larry0ua, 9 years ago

Owner: changed from Larry0ua to Schermy
Status: newneedinfo

Please remove/disable plugin mappinonosm, probably try with only PicLayer installed to be sure it's PicLayer issue. If problem persists, attach or link non-working file here for the investigation.

by Schermy, 9 years ago

Attachment: Sonnenterrasse.zip added

in reply to:  1 comment:2 by Schermy, 9 years ago

Replying to Larry0ua:
Hello, I disable all plugins, only PicLayer is active --> same problem.
For the file see attachment.

new bugreport:

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-01-06 17:30:31 +0100 (Wed, 06 Jan 2016)
Build-Date:2016-01-06 16:32:31
Revision:9329
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9329 de) Windows 10 64-Bit
Memory Usage: 678 MB / 9102 MB (282 MB allocated, but free)
Java version: 1.8.0_66, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Dataset consistency test: No problems found

Plugins:
- PicLayer (31895)

Last errors/warnings:
- E: No tagging preset submenu for   
- E: No tagging preset submenu for   
- E: No tagging preset submenu for   
- E: Fehler beim Laden des Bildes ''
- E: java.lang.IllegalArgumentException: Invalid scanline stride

java.lang.IllegalArgumentException: Invalid scanline stride
	at java.awt.image.ComponentSampleModel.getBufferSize(Unknown Source)
	at java.awt.image.ComponentSampleModel.verify(Unknown Source)
	at java.awt.image.ComponentSampleModel.<init>(Unknown Source)
	at java.awt.image.PixelInterleavedSampleModel.<init>(Unknown Source)
	at java.awt.image.PixelInterleavedSampleModel.createCompatibleSampleModel(Unknown Source)
	at javax.imageio.ImageTypeSpecifier.getSampleModel(Unknown Source)
	at javax.imageio.ImageTypeSpecifier.createBufferedImage(Unknown Source)
	at javax.imageio.ImageReader.getDestination(Unknown Source)
	at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(Unknown Source)
	at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(Unknown Source)
	at javax.imageio.ImageIO.read(Unknown Source)
	at javax.imageio.ImageIO.read(Unknown Source)
	at org.openstreetmap.josm.plugins.piclayer.layer.PicLayerFromFile.createImage(PicLayerFromFile.java:104)
	at org.openstreetmap.josm.plugins.piclayer.layer.PicLayerAbstract.initialize(PicLayerAbstract.java:171)
	at org.openstreetmap.josm.plugins.piclayer.actions.newlayer.NewLayerFromFileAction.addNewLayerFromFile(NewLayerFromFileAction.java:153)
	at org.openstreetmap.josm.plugins.piclayer.actions.newlayer.NewLayerFromFileAction.actionPerformed(NewLayerFromFileAction.java:144)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.AbstractButton.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

comment:3 by Schermy, 9 years ago

Owner: changed from Schermy to Larry0ua
Status: needinfonew

comment:4 by Larry0ua, 9 years ago

Resolution: wontfix
Status: newclosed

https://bugs.openjdk.java.net/browse/JDK-8078589 says that you should split that image :) Sorry, not my fault, that's the limitation of JRE.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Larry0ua.
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.