My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 19: Failed to load algorithms
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  May 2012


 
Reported by jarod...@gmail.com, Apr 18, 2012
What steps will reproduce the problem?
1. Mac OS X, with Netbeans 7.1 and Java 1.7
2. Open project from Netbeans
3. Start the application

What is the expected output? What do you see instead?
The algorithms should be loaded correctly and showed up in the combo box, however the combo box is empty and cannot select any thing.

What version of the product are you using? On what operating system?
Latest version from google code.

Please provide any additional information below.
There is no exception stack (or no exception at all). Here is the log information I have (I loaded the sample graph too so there are some logs about the graph loading information.) What I am concerning is the three lines of "bailing". It may be something wired happening on the interface, I think.

init:
Deleting: /Volumes/Home/GitBuckets/dynamicRouteSkyline/refs/trafficmining/build/built-jar.properties
deps-jar:
Updating property file: /Volumes/Home/GitBuckets/dynamicRouteSkyline/refs/trafficmining/build/built-jar.properties
compile:
run:
Apr 18, 2012 11:37:24 PM de.lmu.ifi.dbs.trafficmining.graphpainter.GraphPainter <init>
INFO: Using zoom config: /Volumes/Home/GitBuckets/dynamicRouteSkyline/refs/trafficmining/dist/whitelist-zoom.properties
Apr 18, 2012 11:37:25 PM de.lmu.ifi.dbs.trafficmining.TrafficminingGUI <init>
INFO: start
already loading. bailing
already loading. bailing
already loading. bailing
Apr 18, 2012 11:37:40 PM de.lmu.ifi.dbs.trafficmining.utils.XmlOsmGraphReader parseXml
INFO: parsing XML: /Volumes/Home/Datasets/RoadNetworks/toelz.osm; filesize: 1,148kb
Apr 18, 2012 11:37:41 PM de.lmu.ifi.dbs.trafficmining.utils.XmlOsmHandler endDocument
INFO: total number: nodes: 5,386, links: 676
Apr 18, 2012 11:37:41 PM de.lmu.ifi.dbs.trafficmining.graph.OSMGraph loadSpeedMap
INFO: Using speeds config: /Volumes/Home/GitBuckets/dynamicRouteSkyline/refs/trafficmining/dist/speeds.properties
Apr 18, 2012 11:37:41 PM de.lmu.ifi.dbs.trafficmining.graph.OSMGraph splitNodeWithAttribsToNewLinks
INFO: creating new links for nodes with attribs. Links: 676
Apr 18, 2012 11:37:41 PM de.lmu.ifi.dbs.trafficmining.graph.OSMGraph splitNodeWithAttribsToNewLinks
INFO: Done. Added 14 links. Links now: 690
Apr 18, 2012 11:37:41 PM de.lmu.ifi.dbs.trafficmining.graph.OSMGraph connect
INFO: connecting ways for routing
Apr 18, 2012 11:37:41 PM de.lmu.ifi.dbs.trafficmining.graph.OSMGraph connect
INFO: added 506 links.
Apr 18, 2012 11:37:41 PM de.lmu.ifi.dbs.trafficmining.graph.OSMGraph cleanNodeList
INFO: removing nodes without links. Nodes: 5,386
Apr 18, 2012 11:37:41 PM de.lmu.ifi.dbs.trafficmining.graph.OSMGraph cleanNodeList
INFO: remaining nodes: 953, links: 1,196. Removed 4,433 nodes.


Apr 19, 2012
Project Member #1 franz.graf
hi thanks reporting. 
didn't you also mention some exceptions? If. you also experience exceptions, don't hesitate to post them here. 
Apr 19, 2012
#2 jarod...@gmail.com
Actually that was not an exception; it just warned me that I forgot to include the plugin folder (due to the wrong working dir). But the bug issued is still there with proper plugin folder. Nothing wrong (exception) has been printed out so I assume that they are all ok~
Apr 23, 2012
Project Member #3 franz.graf
Could you please try to check out the most recent sources and try again?
I have added some more logging and enabled fine logging in the pluginloader class.
You should see a line like
  Fein: start scanning for plug ins in [...]\trafficmining\dist\plugins

I guess there is s.th wrong with the path.
Apr 23, 2012
#4 jarod...@gmail.com
No luck. Here is the new version's output:

Apr 23, 2012 1:39:55 PM de.lmu.ifi.dbs.trafficmining.graphpainter.GraphPainter <init>
INFO: Using zoom config: /Volumes/Home/GitBuckets/dynamicRouteSkyline/refs/trafficmining/dist/whitelist-zoom.properties
Apr 23, 2012 1:39:55 PM de.lmu.ifi.dbs.trafficmining.TrafficminingGUI <init>
INFO: start
Apr 23, 2012 1:39:56 PM de.lmu.ifi.dbs.trafficmining.utils.PluginLoader <init>
FINE: start scanning for plug ins in /Volumes/Home/GitBuckets/dynamicRouteSkyline/refs/trafficmining/dist/plugins
Apr 23, 2012 1:39:56 PM de.lmu.ifi.dbs.trafficmining.utils.PluginLoader <init>
FINE: found 1 jars for investigation
already loading. bailing
already loading. bailing
already loading. bailing
Apr 24, 2012
Project Member #5 franz.graf
Very strange. I checked out from the repo and it worked perfectly after setting the working dir to "dist".
The line " found 1 jars for investigation" indicates that that there was a jar found.
Unfortunately I cannot reproduce the error. Could you possibly debug from 
de.lmu.ifi.dbs.trafficmining.utils.PluginLoader.scanForPlugins(...) and follow the execution path.

May 9, 2012
#6 jarod...@gmail.com
I somehow found a solution for this problem: the path of classes files in the build.xml is incorrect. It should be a relative location as <include name="de/lmu/ifi/dbs/trafficmining/algorithms/"/> but not <include name="/de/lmu/ifi/dbs/trafficmining/algorithms/"/>. After fixing this my copy works.
May 12, 2012
Project Member #7 franz.graf
This issue was closed by revision 08bedd6e65ea.
Status: Fixed

Powered by Google Project Hosting