[josm-dev] Problem with WMS plugin

Stefan Bethke stb at lassitu.de
Mon Jul 6 22:01:51 BST 2009


Am 06.07.2009 um 17:51 schrieb Dirk Stöcker:

> On Mon, 6 Jul 2009, Stefan Bethke wrote:
>
>> I'm getting this exception when trying to use the Landsat server:
>>
>>> java.lang.Exception: <?xml version='1.0' encoding="UTF-8"
>>> standalone="no" ?>
>>> <!DOCTYPE ServiceExceptionReport SYSTEM "http://wms.jpl.nasa.gov/exception_1_1_1.dtd
>>> ">
>>> <ServiceExceptionReport version="1.1.1">
>>>  <ServiceException>
>>>    Required key 'bbox' is missing.
>>>  </ServiceException>
>>> </ServiceExceptionReport>
>>>
>>> Image couldn't be fetched: http://onearth.jpl.nasa.gov/wms.cgi?request=GetMap&layers=global_mosaic&styles=&format=image/jpeg&&bbox=13.4051573,52.5245312,13.4092133,52.5269989&srs=EPSG:4326&width=500&height=500
>>> 	at wmsplugin.WMSGrabber.fetch(WMSGrabber.java:70)
>>> 	at wmsplugin.Grabber.attempt(Grabber.java:68)
>>> 	at wmsplugin.WMSGrabber.run(WMSGrabber.java:49)
>>> 	at java.util.concurrent.Executors
>>> $RunnableAdapter.call(Executors.java:441)
>>> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java: 
>>> 303)
>>> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>> 	at java.util.concurrent.ThreadPoolExecutor
>>> $Worker.runTask(ThreadPoolExecutor.java:886)
>>> 	at java.util.concurrent.ThreadPoolExecutor
>>> $Worker.run(ThreadPoolExecutor.java:908)
>>> 	at java.lang.Thread.run(Thread.java:637)
>>
>> Trying to use "Yahoo Sat" gives a long string of "im == null!" lines.
>>
>> A cursory glance at the wiki still shows information about building
>> your own webkit-image. Is there a new version?
>
> Should be fixed now. I forgot to remove some obsolete lines.

Thanks, Landsat now works. Yahoo Sat now gives me this exception:

java.lang.Exception: unknown protocol: html
Image couldn't be fetched:
	at wmsplugin.WMSGrabber.fetch(WMSGrabber.java:66)
	at wmsplugin.Grabber.attempt(Grabber.java:86)
	at wmsplugin.WMSGrabber.run(WMSGrabber.java:45)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java: 
417)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
	at java.util.concurrent.ThreadPoolExecutor 
$Worker.runTask(ThreadPoolExecutor.java:651)
	at java.util.concurrent.ThreadPoolExecutor 
$Worker.run(ThreadPoolExecutor.java:676)
	at java.lang.Thread.run(Thread.java:613)

Is the webkit-image binary required, i. e. do I have to recompile it  
or get an updated binary?

My old Yahoo/webkit-image entry still works, btw.

josm 1738, wmsplugin 15961


Stefan

-- 
Stefan Bethke <stb at lassitu.de>   Fon +49 151 14070811








More information about the josm-dev mailing list