Modify

Opened 8 years ago

Closed 7 years ago

#13083 closed defect (duplicate)

IllegalArgumentException: ImageRead: No OperationDescriptor is registered in the current operation registry under this name

Reported by: naoliv Owned by: team
Priority: normal Milestone:
Component: Plugin importimage Version:
Keywords: jai geotiff Cc:

Description

While trying to import a geotiff I got this:

00:48:50.849 [main-worker-0] ERROR org.openstreetmap.josm.plugins.ImportImagePlugin.ImageLayer - Error while creating GridCoverage:
java.lang.IllegalArgumentException: ImageRead: No OperationDescriptor is registered in the current operation registry under this name.
	at javax.media.jai.JAI.createNS(JAI.java:1070) ~[geotools.jar:14.1]
	at javax.media.jai.JAI.create(JAI.java:973) ~[geotools.jar:14.1]
	at org.geotools.gce.geotiff.GeoTiffReader.read(GeoTiffReader.java:644) ~[geotools.jar:14.1]
	at org.openstreetmap.josm.plugins.ImportImagePlugin.PluginOperations.readGeoTiff(PluginOperations.java:349) ~[ImportImagePlugin.jar:?]
	at org.openstreetmap.josm.plugins.ImportImagePlugin.PluginOperations.createGridFromFile(PluginOperations.java:118) ~[ImportImagePlugin.jar:?]
	at org.openstreetmap.josm.plugins.ImportImagePlugin.ImageLayer.createImage(ImageLayer.java:92) [ImportImagePlugin.jar:?]
	at org.openstreetmap.josm.plugins.ImportImagePlugin.ImageLayer.<init>(ImageLayer.java:76) [ImportImagePlugin.jar:?]
	at org.openstreetmap.josm.plugins.ImportImagePlugin.ImportImageFileImporter.importData(ImportImageFileImporter.java:49) [ImportImagePlugin.jar:?]
	at org.openstreetmap.josm.io.FileImporter.importDataHandleExceptions(FileImporter.java:137) [josm-latest.jar:?]
	at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.importData(OpenFileAction.java:353) [josm-latest.jar:?]
	at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileAction.java:313) [josm-latest.jar:?]
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93) [josm-latest.jar:?]
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:159) [josm-latest.jar:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_91]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_91]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]

The images have more than 310M each (I can host it somewhere if needed)

JOSM:

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-06-28 00:39:58 +0200 (Tue, 28 Jun 2016)
Build-Date:2016-06-28 01:32:14
Revision:10501
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10501 pt_BR) Linux Debian GNU/Linux unstable (sid)
Memory Usage: 1798 MB / 4029 MB (477 MB allocated, but free)
Java version: 1.8.0_91-8u91-b14-3-b14, Oracle Corporation, OpenJDK 64-Bit Server VM
VM arguments: [-Dawt.useSystemAAFontSettings=on]

Plugins:
- AddrInterpolation (32158)
- Create_grid_of_ways (32158)
- FastDraw (32158)
- FixAddresses (32158)
- ImportImagePlugin (32287)
- OpeningHoursEditor (32158)
- PicLayer (32158)
- SimplifyArea (32158)
- apache-commons (32158)
- buildings_tools (32158)
- download_along (32158)
- editgpx (32263)
- ejml (32158)
- geotools (31895)
- graphview (32344)
- jogl (1.0.46)
- jts (31906)
- kendzi3d (1.0.190.1)
- kendzi3d-resources (0.0.1)
- log4j (32158)
- measurement (32324)
- merge-overlap (32158)
- opendata (32289)
- pdfimport (32158)
- photo_geotagging (32158)
- poly (32287)
- reverter (32158)
- tagging-preset-tester (32158)
- todo (29154)
- turnlanes-tagging (1466175713)
- turnrestrictions (32386)
- undelete (32158)
- utilsplugin2 (32158)

Attachments (0)

Change History (4)

comment:1 by Don-vip, 8 years ago

Owner: changed from team to naoliv
Status: newneedinfo

Sorry for delay, can you please share images somewhere?

comment:2 by naoliv, 8 years ago

Got a smaller picture (43M) and still able to reproduce the problem:

http://naoliv.iq.unesp.br/osm/13083.tif

comment:3 by Don-vip, 8 years ago

Keywords: jai geotiff added
Owner: changed from naoliv to team
Status: needinfonew

comment:4 by Don-vip, 7 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #15683.

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.