Modify

Opened 10 years ago

Closed 7 years ago

#3011 closed defect (fixed)

java.io.FileNotFoundException: /josmdir/log4j.xml

Reported by: phobie Owned by: vidalfree@…
Priority: minor Milestone:
Component: Plugin routing Version:
Keywords: Cc:

Description (last modified by Don-vip)

During startup of JOSM 1815 I always receive this exception.
This does not happen with a clean profile.

~/.josm/plugins/routing.jar must exist to reproduce this!

I attached my preferences file.

loading remotecontrol                                 
RemoteControl::Accepting connections on port 8111     
loading routing                                       
log4j:ERROR Could not parse file [log4j.xml].         
java.io.FileNotFoundException: /josmdir/log4j.xml (No such file or directory)
        at java.io.FileInputStream.open(Native Method)                                                    
        at java.io.FileInputStream.<init>(FileInputStream.java:106)                                       
        at java.io.FileInputStream.<init>(FileInputStream.java:66)                                        
        at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)                 
        at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)         
        at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:653)
        at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)           
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)           
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)                             
        at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:225)                             
        at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)            
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:208)                                          
        at org.apache.log4j.xml.DOMConfigurator$1.parse(DOMConfigurator.java:676)                                     
        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:789)                                 
        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:682)                                 
        at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:811)                                   
        at com.innovant.josm.plugin.routing.RoutingPlugin.<init>(RoutingPlugin.java:131)                              
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)                                      
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:179)
        at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:141)
        at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:138)
2009-07-20 12:44:13 [com.innovant.josm.plugin.routing.RoutingPlugin] DEBUG - Loading routing plugin...
2009-07-20 12:44:13 [com.innovant.josm.plugin.routing.gui.RoutingPreferenceDialog] DEBUG - Default preferences already exist.
2009-07-20 12:44:13 [com.innovant.josm.plugin.routing.RoutingPlugin] DEBUG - Finished loading plugin
loading slippymap

Attachments (1)

preferences.bz2 (2.0 KB) - added by phobie 10 years ago.
edited josm preferences file

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by phobie

Attachment: preferences.bz2 added

edited josm preferences file

comment:1 Changed 7 years ago by Don-vip

Description: modified (diff)
Resolution: fixed
Status: newclosed

Fixed in [o28568].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain vidalfree@….
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.