Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#12901 closed defect (worksforme)

Error dialog when I load a service of imagery as new layer

Reported by: jptolosanzana@… Owned by: jptolosanzana@…
Priority: normal Milestone:
Component: Core imagery Version: tested
Keywords: template_report jcs cache Cc: wiktorn

Description

What steps will reproduce the problem?

  1. 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 Don-vip, 10 years ago

Cc: wiktorn added
Keywords: jcs cache added

comment:2 by wiktorn, 10 years ago

Owner: changed from team to jptolosanzana@…
Status: newneedinfo

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?

in reply to:  2 comment:3 by Juan Tolosa <jptolosanzana@…>, 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 Juan Tolosa <jptolosanzana@…>, 10 years ago

Resolution: fixed
Status: needinfoclosed

comment:5 by Don-vip, 10 years ago

Resolution: fixedworksforme

Modify Ticket

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