[Osm2nds] Error Executing OSM2NETWORKDATASET

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Osm2nds] Error Executing OSM2NETWORKDATASET

kristenk
Hello:

I'm trying to convert some openstreetmap files for use in ArcGIS network analyst.

After the INFO statements indicating where the geodatabase will be created, I received the following error:

ERROR: Access to ArcObjects failed: java.lang.ClassNotFoundException: com.esri.arcgis.system.EngineInitializer InitializationException: Therefore the process is canceled.

I was wondering if I could be advised on how to resolve this issue.

Thanks.

Kristen

_______________________________________________
Osm2nds mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/osm2nds
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Osm2nds] Error Executing OSM2NETWORKDATASET

peterseva
Hello Kristen!

At the beginning of the process ArcObject has to be initialized. Are you sure that you have referenced ArcObjects like it is describe at http://52north.org/communities/geoprocessing/osm2nds/installation.html?

Best regards,
Eva
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Osm2nds] Error Executing OSM2NETWORKDATASET

dinamovistul
I also have this problem, al my settings is configured like in the instructions... what is it?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Osm2nds] Error Executing OSM2NETWORKDATASET

peterseva
Hello!

I need more information in order to assess what's wrong:

Could you please send your batch file and your log file?
And what's the path to arcobjects.jar on your computer?
Which ArcGIS version and licence do you have?

Best wishes,
Eva
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Osm2nds] Error Executing OSM2NETWORKDATASET

dinamovistul
“C:\Program Files\Java\jre7\bin\java” -cp “C:\Program
Files\ArcGIS\java\lib\arcobjects.jar”;”C:\Documents and
Settings\Admin\Рабочий стол\Moldova_java\osm2nds_arcgis_9.3.1_gui_1.1.1.jar”
org.n52.osm2nds.core.userinterface.gui.Main

this is my bat file

the path/s is like in the bat file

I use ArcGis 9.3.1 with a localhost license



--
View this message in context: http://osm2nds.forum.52north.org/Osm2nds-Error-Executing-OSM2NETWORKDATASET-tp4174379p4639508.html
Sent from the 52°North - OSM2NDS Forum. mailing list archive at Nabble.com.
_______________________________________________
Osm2nds mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/osm2nds
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Osm2nds] Error Executing OSM2NETWORKDATASET

peterseva
Hello!

I can't find the cause of the problem. Could you please also send the entire log file?

Eva
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Osm2nds] Error Executing OSM2NETWORKDATASET

dinamovistul
I have not an log file... I thought it was optional



--
View this message in context: http://osm2nds.forum.52north.org/Osm2nds-Error-Executing-OSM2NETWORKDATASET-tp4174379p4639515.html
Sent from the 52°North - OSM2NDS Forum. mailing list archive at Nabble.com.
_______________________________________________
Osm2nds mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/osm2nds
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Osm2nds] Error Executing OSM2NETWORKDATASET

peterseva
Hello!

Yes, it is optional. Could you please restart the process in order to get a log file?

Eva
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Osm2nds] Error Executing OSM2NETWORKDATASET

peterseva
Hello!

Actually it is explained in the installation guide: http://52north.org/communities/geoprocessing/osm2nds/installation.html

Eva
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Osm2nds] Error Executing OSM2NETWORKDATASET

dinamovistul
http://postimg.org/image/3y91yi3gx/

“C:\Program Files\Java\jre6\bin\java” -cp “C:\Program Files (x86)\ArcGIS\java\lib\arcobjects.jar”;”D:\Master\GIS_avansat\tema finala\Moldova_java\osm2nds_arcgis_9.3.1_gui_1.1.1.jar” org.n52.osm2nds.core.userinterface.gui.Main
D:\Master\GIS_avansat\tema finala\Moldova_java\moldova-latest.osm\moldova-latest.osm D:\Master\GIS_avansat\tema finala\Moldova_java\Parameters.xml D:\Master\GIS_avansat\tema finala\Moldova_java D:\Master\GIS_avansat\tema finala\Moldova_java\log.log
2013-05-25 18:32:03 INFO: *************************************************
2013-05-25 18:32:03 INFO: OSM2NetworkDataset:
2013-05-25 18:32:03 INFO: Converting an OSM file into a file geodatabase for the usage in the ArcGIS Network Analyst...
2013-05-25 18:32:03 INFO: The follwing geodatabase structure will be created:
2013-05-25 18:32:03 INFO: Moldova [Geodatabase]
2013-05-25 18:32:03 INFO:   Moldova [Feature Dataset]
2013-05-25 18:32:03 INFO:      barriers [Feature Class]
2013-05-25 18:32:03 INFO:      Moldova_ND [Network Dataset]
2013-05-25 18:32:03 INFO:      Moldova_ND_Junctions [Feature Class]
2013-05-25 18:32:03 INFO:      pois [Feature Class]
2013-05-25 18:32:03 INFO:      roads [Feature Class]
2013-05-25 18:32:03 INFO:      turns [Feature Class]
2013-05-25 18:32:03 INFO: Start time: 2013-05-25 18:32:03
2013-05-25 18:32:03 INFO: *************************************************
2013-05-25 18:32:04 ERROR: Access to ArcObjects failed: java.lang.ClassNotFoundException: com.esri.arcgis.system.EngineInitializer InitializationException: Therefore the process is cancelled.
2013-05-25 18:32:04 INFO: End time: 2013-05-25 18:32:04
2013-05-25 18:32:04 INFO: ******************* Summarize *******************
2013-05-25 18:32:04 INFO: Start time: 2013-05-25 18:32:03
2013-05-25 18:32:04 INFO: End time: 2013-05-25 18:32:04
2013-05-25 18:32:04 INFO: Duration [HH:mm:ss]: 00:00:00
2013-05-25 18:32:04 INFO: *************************************************
2013-05-25 18:32:04 INFO: Number of errors: 1
2013-05-25 18:32:04 INFO: *************************************************
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Osm2nds] Error Executing OSM2NETWORKDATASET

peterseva
Hi!

Have you already found the source of the problem?

The exception is thrown during the initialization process of ArcGIS. The error message does not exactly say why this exception was thrown.

Have you already tried to use the JDK instead of the JRE and paths without cyrillic letters?

Best regards,
Eva
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Osm2nds] Error Executing OSM2NETWORKDATASET

tobs
Hi,

I have the same problem and no answer... :(

2013-06-12 21:15:45 INFO: 0% finished.
2013-06-12 21:15:45 INFO: *************************************************
2013-06-12 21:15:45 INFO: OSM2NetworkDataset:
2013-06-12 21:15:45 INFO: Converting an OSM file into a file geodatabase for the usage in the ArcGIS Network Analyst...
2013-06-12 21:15:45 INFO: The follwing geodatabase structure will be created:
2013-06-12 21:15:45 INFO: Berlin_bike [Geodatabase]
2013-06-12 21:15:45 INFO:   Berlin_bike [Feature Dataset]
2013-06-12 21:15:45 INFO:      barriers [Feature Class]
2013-06-12 21:15:45 INFO:      Berlin_bike_ND [Network Dataset]
2013-06-12 21:15:45 INFO:      Berlin_bike_ND_Junctions [Feature Class]
2013-06-12 21:15:45 INFO:      pois [Feature Class]
2013-06-12 21:15:45 INFO:      roads [Feature Class]
2013-06-12 21:15:45 INFO:      turns [Feature Class]
2013-06-12 21:15:45 INFO: Start time: 2013-06-12 21:15:45
2013-06-12 21:15:45 INFO: *************************************************
2013-06-12 21:15:45 ERROR: Access to ArcObjects failed: java.lang.ClassNotFoundException: com.esri.arcgis.system.EngineInitializer InitializationException: Therefore the process is canceled.
2013-06-12 21:15:45 INFO: End time: 2013-06-12 21:15:45
2013-06-12 21:15:45 INFO: ******************* Summarize *******************
2013-06-12 21:15:45 INFO: Start time: 2013-06-12 21:15:45
2013-06-12 21:15:45 INFO: End time: 2013-06-12 21:15:45
2013-06-12 21:15:45 INFO: Duration [HH:mm:ss]: 00:00:00
2013-06-12 21:15:45 INFO: *************************************************
2013-06-12 21:15:45 INFO: Number of errors: 1
2013-06-12 21:15:45 INFO: *************************************************
2013-06-12 21:22:53 INFO: 0% finished.
2013-06-12 21:22:53 INFO: *************************************************
2013-06-12 21:22:53 INFO: OSM2NetworkDataset:
2013-06-12 21:22:53 INFO: Converting an OSM file into a file geodatabase for the usage in the ArcGIS Network Analyst...
2013-06-12 21:22:53 INFO: The follwing geodatabase structure will be created:
2013-06-12 21:22:53 INFO: Berlin_bike [Geodatabase]
2013-06-12 21:22:53 INFO:   Berlin_bike [Feature Dataset]
2013-06-12 21:22:53 INFO:      barriers [Feature Class]
2013-06-12 21:22:53 INFO:      Berlin_bike_ND [Network Dataset]
2013-06-12 21:22:53 INFO:      Berlin_bike_ND_Junctions [Feature Class]
2013-06-12 21:22:53 INFO:      pois [Feature Class]
2013-06-12 21:22:53 INFO:      roads [Feature Class]
2013-06-12 21:22:53 INFO:      turns [Feature Class]
2013-06-12 21:22:53 INFO: Start time: 2013-06-12 21:22:53
2013-06-12 21:22:53 INFO: *************************************************
2013-06-12 21:22:53 ERROR: Access to ArcObjects failed: java.lang.ClassNotFoundException: com.esri.arcgis.system.EngineInitializer InitializationException: Therefore the process is canceled.
2013-06-12 21:22:53 INFO: End time: 2013-06-12 21:22:53
2013-06-12 21:22:53 INFO: ******************* Summarize *******************
2013-06-12 21:22:53 INFO: Start time: 2013-06-12 21:22:53
2013-06-12 21:22:53 INFO: End time: 2013-06-12 21:22:53
2013-06-12 21:22:53 INFO: Duration [HH:mm:ss]: 00:00:00
2013-06-12 21:22:53 INFO: *************************************************
2013-06-12 21:22:53 INFO: Number of errors: 1
2013-06-12 21:22:53 INFO: *************************************************
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Osm2nds] Error Executing OSM2NETWORKDATASET

peterseva
Hi!

This error seems to occur frequently. Unfortunately, I haven't been able to reproduce this error on my system.

Have you already checked the potential error sources mentioned above?
- Are you sure that you have referenced ArcObjects like it is describe at http://52north.org/communities/geoprocessing/osm2nds/installation.html?
- What's the path to arcobjects.jar on your computer? Is it the same as in your batch file?
- Which ArcGIS version and licence do you have?
- Have you already tried to use the JDK instead of the JRE?

Best wishes,
Eva
Loading...