[Talk-cz] josm: funguje vam wms?
Pavel Machek
pavel na ucw.cz
Sobota Únor 27 09:39:43 UTC 2010
On Sat 2010-02-27 10:30:52, Pavel Machek wrote:
> On Sat 2010-02-27 09:38:14, Jiri Parkan wrote:
> > Ahoj,
> > v josm-latest (3051) mi wms bez problémů funguje, uhul i km
>
> Divny, me to rekne: Zkusim update na 3051.
>
> Last Changed Author: mjulius
> Revision: 3037
> Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
> URL: http://josm.openstreetmap.de/svn/trunk
> Last Changed Date: 2010-02-23 20:23:09 +0100 (Tue, 23 Feb 2010)
> Last Changed Rev: 3037
>
> loading plugin 'wmsplugin'
> loading plugin 'routes'
> loading plugin 'slippymap'
> Open file: /data/pavel/misc/gpx/SjezdKPetrasce.gpx (68246 bytes)
> Grabbing WMS
> http://geoportal2.uhul.cz/wms_oprl?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&LAYERS=Ortofoto_cb&STYLES=default&FORMAT=image/jpeg&bbox=15.6685772,50.7028063,15.6736463,50.7060167&width=500&height=499
> Grabbing WMS
> http://geoportal2.uhul.cz/wms_oprl?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&LAYERS=Ortofoto_cb&STYLES=default&FORMAT=image/jpeg&bbox=15.6685772,50.7060167,15.6736463,50.7092269&width=500&height=499
> Grabbing WMS
> http://geoportal2.uhul.cz/wms_oprl?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&LAYERS=Ortofoto_cb&STYLES=default&FORMAT=image/jpeg&bbox=15.6736463,50.7028063,15.6787154,50.7060167&width=500&height=500
> java.lang.NullPointerException
> at javax.imageio.ImageIO.read(ImageIO.java:1434)
> at javax.imageio.ImageIO.read(ImageIO.java:1342)
> at wmsplugin.WMSGrabber.grab(WMSGrabber.java:198)
> at wmsplugin.WMSGrabber.fetch(WMSGrabber.java:69)
> at wmsplugin.Grabber.attempt(Grabber.java:100)
> at wmsplugin.WMSGrabber.run(WMSGrabber.java:52)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:636)
> image == null!
> Grabbing WMS
> http://geoportal2.uhul.cz/wms_oprl?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&LAYERS=Ortofoto_cb&STYLES=default&FORMAT=image/jpeg&bbox=15.6736463,50.7060167,15.6787154,50.7092269&width=500&height=500
>
Na stracu to vypada jako:
[pid 8028] open("/usr/lib/libjpeg.so.7", O_RDONLY) = 42
[pid 8028] read(42,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3001\0\0004\0\0\
0\30"..., 512) = 512
[pid 8028] fstat64(42, {st_mode=S_IFREG|0644, st_size=212856, ...}) =
0
[pid 8028] mmap2(NULL, 215580, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 42, 0)
= 0x4b809000
[pid 8028] mmap2(0x4b83d000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DE
NYWRITE, 42, 0x33) = 0x4b83d000
[pid 8028] close(42) = 0
[pid 8028] munmap(0x4d0c5000, 129284) = 0
....
[pid 8028] gettimeofday({1267263284, 815440}, NULL) = 0
[pid 8028] _llseek(3, 29548047, [29548047], SEEK_SET) = 0
[pid 8028] read(3,
"PK\3\4\n\0\0\0\0\0\207\221\221;\357\231\324\267V\2\0\0V\2\0\0
\0\0\0"..., 30) = 30
[pid 8028] _llseek(3, 29548109, [29548109], SEEK_SET) = 0
[pid 8028] read(3,
"\312\376\272\276\0\0\0001\0\31\n\0\4\0\23\n\0\3\0\24\7\0\25\7\0\26\1\0\6<ini"...,
598) = 598
[pid 8028] gettimeofday({1267263284, 815855}, NULL) = 0
...
[pid 8028] gettimeofday({1267263284, 817214}, NULL) = 0
[pid 8028] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
[pid 8028] rt_sigreturn(0x19) = 0
[pid 8028] write(2, "java.lang.NullPointerException"...,
30java.lang.NullPointerException) = 30
...tak ze by spatna libjpeg.so.7?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Další informace o konferenci talk-cz