#12901 closed defect (worksforme)
Error dialog when I load a service of imagery as new layer
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core imagery | Version: | tested |
| Keywords: | template_report jcs cache | Cc: | wiktorn |
Description
What steps will reproduce the problem?
- When I load any service of imagery in a layer (Bing imagery and OpenStreetMapCarto e.g.)
What is the expected result?
The imagery should load normally.
What happens instead?
The imagery loads, but it takes a while and appears an error dialog. If this error dialog appears, JOSM takes a long time to close or restarting (more or less than 1 minute).
If I deactivate plugins the same thing occurs.
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-05-30 02:06:54 +0200 (Mon, 30 May 2016) Build-Date:2016-05-30 01:32:45 Revision:10301 Relative:URL: ^/trunk Identification: JOSM/1.5 (10301 es) Linux LMDE 2 Betsy Memory Usage: 616 MB / 1545 MB (291 MB allocated, but free) Java version: 1.7.0_101-b00, Oracle Corporation, OpenJDK 64-Bit Server VM Java package: openjdk-7-jre:amd64-7u101-2.6.6-1~deb8u1 VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true] Map paint styles: - http://www.openrailwaymap.org/styles/josm-additional.zip - https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip - https://josm.openstreetmap.de/josmfile?page=Styles/AddressValidator&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Fixme&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/LayerChecker&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Noname&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Traffic_signs&zip=1 Last errors/warnings: - E: org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.ParseException: Encountered " <IDENT> "preset "" at line 1, column 19. - W: Error al analizar los estilos Mappaint desde 'https://josm.openstreetmap.de/josmfile?page=Styles/Traffic_signs&zip=1'. El error fue: Reached end of file while parsing - E: org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.ParseException: Reached end of file while parsing - W: Initializing map style https://josm.openstreetmap.de/josmfile?page=Styles/Traffic_signs&zip=1 completed in 1 ms (2 errors, 0 warnings) - E: java.lang.IllegalArgumentException: Negative position java.lang.IllegalArgumentException: Negative position at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:746) at org.apache.commons.jcs.auxiliary.disk.block.BlockDisk.write(BlockDisk.java:216) at org.apache.commons.jcs.auxiliary.disk.block.BlockDiskCache.processUpdate(BlockDiskCache.java:399) at org.apache.commons.jcs.auxiliary.AbstractAuxiliaryCacheEventLogging.updateWithEventLogging(AbstractAuxiliaryCacheEventLogging.java:65) at org.apache.commons.jcs.auxiliary.disk.AbstractDiskCache.doUpdate(AbstractDiskCache.java:815) at org.apache.commons.jcs.auxiliary.disk.AbstractDiskCache$MyCacheListener.handlePut(AbstractDiskCache.java:673) at org.apache.commons.jcs.engine.AbstractCacheEventQueue$PutEvent.doRun(AbstractCacheEventQueue.java:350) at org.apache.commons.jcs.engine.AbstractCacheEventQueue$AbstractCacheEvent.run(AbstractCacheEventQueue.java:269) at org.apache.commons.jcs.engine.CacheEventQueue$QProcessor.run(CacheEventQueue.java:304)
Attachments (0)
Change History (5)
comment:1 by , 10 years ago
| Cc: | added |
|---|---|
| Keywords: | jcs cache added |
follow-up: 3 comment:2 by , 10 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → needinfo |
comment:3 by , 10 years ago
Replying to wiktorn:
Does this problem happen every time you add the imagery? Or does it happen from time to time but after restart it's no longer present?
How large is your cache file? If you don't mind, can you share the contents of the ~/.josm/cache directory?
I deleted the ~/.josm directory and reinstalling JOSM. That mended the error and now is faster. Thank you!
comment:4 by , 10 years ago
| Resolution: | → fixed |
|---|---|
| Status: | needinfo → closed |
comment:5 by , 10 years ago
| Resolution: | fixed → worksforme |
|---|



Does this problem happen every time you add the imagery? Or does it happen from time to time but after restart it's no longer present?
How large is your cache file? If you don't mind, can you share the contents of the ~/.josm/cache directory?