Git Product home page Git Product logo

trafficmining's People

Contributors

locked-fg avatar matkoniecz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

trafficmining's Issues

Trafficmining NullpointerException

Running java -jar "Trafficmining.jar" as stated in the Readme gives an instant nullpointerexception:

java -jar Trafficmining.jar
Jun 09, 2015 7:08:43 PM de.lmu.ifi.dbs.trafficmining.TrafficminingGUI
INFO: start
Jun 09, 2015 7:08:43 PM de.lmu.ifi.dbs.trafficmining.TrafficminingGUI$22 run
SEVERE: null
java.lang.NullPointerException
at de.lmu.ifi.dbs.trafficmining.simplex.Simplex2DOverlay.addPropertyChangeListener(Simplex2DOverlay.java:40)
at javax.swing.plaf.synth.SynthPanelUI.installListeners(SynthPanelUI.java:83)
at javax.swing.plaf.synth.SynthPanelUI.installUI(SynthPanelUI.java:63)
at javax.swing.JComponent.setUI(JComponent.java:666)
at javax.swing.JPanel.setUI(JPanel.java:153)
at javax.swing.JPanel.updateUI(JPanel.java:126)
at javax.swing.JPanel.(JPanel.java:86)
at javax.swing.JPanel.(JPanel.java:109)
at javax.swing.JPanel.(JPanel.java:117)
at de.lmu.ifi.dbs.trafficmining.simplex.Simplex2DOverlay.(Simplex2DOverlay.java:23)
at de.lmu.ifi.dbs.trafficmining.simplex.SimplexControl2D.initComponents(SimplexControl2D.java:87)
at de.lmu.ifi.dbs.trafficmining.simplex.SimplexControl2D.(SimplexControl2D.java:16)
at de.lmu.ifi.dbs.trafficmining.TrafficminingGUI.initComponents(TrafficminingGUI.java:856)
at de.lmu.ifi.dbs.trafficmining.TrafficminingGUI.(TrafficminingGUI.java:80)
at de.lmu.ifi.dbs.trafficmining.TrafficminingGUI$22.run(TrafficminingGUI.java:1325)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

[FIXED] Distance is broken: Algorithms are affected

just load any graph and try the skyline algorithm with any combination of 
attributes (at least two). the results are always identical but the found links 
aren't the same.
Therefore something seems to be broken inside the skyline algorithm

Original issue reported on code.google.com by [email protected] on 7 Jan 2012 at 10:25

Re-Enable simplex-control mouse selector

currently clicking the simplex does not do anything anymore
this should be re-enabled and select the according result(s) and route(s)

Original issue reported on code.google.com by franz.graf on 26 Jun 2012 at 7:08

Rename Main GUI Class

Rename de.lmu.ifi.dbs.paros.PAROS.java
to TrafficMiningGui.java
to get rid of release names

Original issue reported on code.google.com by franz.graf on 2 Dec 2011 at 12:10

[FIXED] NPE

graph loading results in a NPE:

Stacktrace:
Schwerwiegend: null
java.util.concurrent.ExecutionException: java.lang.NullPointerException
    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
    at java.util.concurrent.FutureTask.get(FutureTask.java:111)
    at javax.swing.SwingWorker.get(SwingWorker.java:602)
    at de.lmu.ifi.dbs.trafficmining.TrafficminingGUI$LoadGraphAction.propertyChange(TrafficminingGUI.java:796)
    at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
    at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
    at javax.swing.SwingWorker$SwingWorkerPropertyChangeSupport.firePropertyChange(SwingWorker.java:854)
    at javax.swing.SwingWorker$SwingWorkerPropertyChangeSupport$1.run(SwingWorker.java:859)
    at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832)
    at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112)
    at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842)
    at javax.swing.Timer.fireActionPerformed(Timer.java:312)
    at javax.swing.Timer$DoPostEvent.run(Timer.java:244)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
    at java.awt.EventQueue.access$000(EventQueue.java:101)
    at java.awt.EventQueue$3.run(EventQueue.java:666)
    at java.awt.EventQueue$3.run(EventQueue.java:664)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.NullPointerException
    at java.util.Collections$UnmodifiableCollection.<init>(Collections.java:1051)
    at java.util.Collections$UnmodifiableList.<init>(Collections.java:1204)
    at java.util.Collections.unmodifiableList(Collections.java:1190)
    at de.lmu.ifi.dbs.trafficmining.graph.OSMLink.getNodes(OSMLink.java:122)
    at de.lmu.ifi.dbs.trafficmining.utils.GreatcircleDistance.length(GreatcircleDistance.java:86)
    at de.lmu.ifi.dbs.trafficmining.utils.OSMUtils.listToLink(OSMUtils.java:117)
    at de.lmu.ifi.dbs.trafficmining.utils.OSMUtils.split(OSMUtils.java:73)
    at de.lmu.ifi.dbs.trafficmining.graph.OSMGraph.connect(OSMGraph.java:225)
    at de.lmu.ifi.dbs.trafficmining.graph.OSMGraph.beautifyGraph(OSMGraph.java:54)
    at de.lmu.ifi.dbs.trafficmining.utils.XmlOsmGraphReader.process(XmlOsmGraphReader.java:52)
    at de.lmu.ifi.dbs.trafficmining.LoadGraphWorker.doInBackground(LoadGraphWorker.java:68)
    at de.lmu.ifi.dbs.trafficmining.LoadGraphWorker.doInBackground(LoadGraphWorker.java:25)
    at javax.swing.SwingWorker$1.call(SwingWorker.java:296)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at javax.swing.SwingWorker.run(SwingWorker.java:335)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)


Original issue reported on code.google.com by [email protected] on 7 Jan 2012 at 11:58

Restoring last position of map does not work

When reopening the gui, the last map position and zoom level is not restored.

maybe this is caused by the new mapWrapper and a repaint that is delegated to 
the map but not the complete wrapper. (just a guess)

Original issue reported on code.google.com by franz.graf on 26 May 2012 at 2:52

osmosis-srtm-plugin.jar not included in project

de.lmu.ifi.dbs.trafficmining.utils.PBFOSMWorker
needs osmosis-srtm-plugin.jar  ehich is not submitted to the project.

Original issue reported on code.google.com by franz.graf on 20 Dec 2011 at 7:54

NPE at startup

Mrz 16, 2012 9:50:13 PM de.lmu.ifi.dbs.trafficmining.TrafficminingGUI <init>
Information: start
Mrz 16, 2012 9:50:13 PM de.lmu.ifi.dbs.trafficmining.TrafficminingProperties 
<init>
Fein: using config file: 
C:\Users\Franz\AppData\TRAFFICMINING\trafficmining.properties
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at de.lmu.ifi.dbs.trafficmining.ComboboxLoader.load(TrafficminingGUI.java:1471)
    at de.lmu.ifi.dbs.trafficmining.TrafficminingGUI.loadAlgorithmComboBox(TrafficminingGUI.java:451)
    at de.lmu.ifi.dbs.trafficmining.TrafficminingGUI.<init>(TrafficminingGUI.java:87)
    at de.lmu.ifi.dbs.trafficmining.TrafficminingGUI$22.run(TrafficminingGUI.java:1446)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
    at java.awt.EventQueue.access$000(EventQueue.java:101)
    at java.awt.EventQueue$3.run(EventQueue.java:666)

Original issue reported on code.google.com by franz.graf on 16 Mar 2012 at 8:52

flexible control over tile servers

This issue was created by revision f10eb7019ec7.

Tileservers are currently hard coded in TrafficminingGUI#createTileServer()
THis should be moved either into a properties or an ini-file

Original issue reported on code.google.com by franz.graf on 2 Apr 2012 at 8:03

try to get rid of statics

This issue was created by revision bca1a1bf47ee.

No description was provided for this issue.
See commit log comment for details.

Original issue reported on code.google.com by franz.graf on 16 Mar 2012 at 8:43

give more information (log etc) about plugin folder

sometimes, the plugins are not found, even though the program doesn't complain 
about a missing plugin directory.
Raise more log information about where the plugin directory should be (or where 
the classloader is looking for it).

Original issue reported on code.google.com by franz.graf on 18 Apr 2012 at 7:33

default deploy should enable algorithms

currently there's a problem with the plugins.dir so that no algorithms are 
shown right after deployment

Original issue reported on code.google.com by franz.graf on 3 Apr 2012 at 9:03

Create sample code

A separate src-dir would be nice with some samples like read/execute algorithms 
without the GUI, working on the graph etc ...

Dowsn't make sense to put it only in the wiki only as there are no compile 
checks..

Original issue reported on code.google.com by franz.graf on 5 Jun 2012 at 6:50

create download release

create download release for PAROS and MARiO
and tag current head with "v2-MARiO"

Original issue reported on code.google.com by franz.graf on 24 Nov 2011 at 12:56

crash at first start

This issue was created by revision ae97e48cb2c9.

java.io.FileNotFoundException: 
C:\Users\Franz\AppData\TRAFFICMINING\trafficmining.properties (Das System kann 
den angegebenen Pfad nicht finden)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at de.lmu.ifi.dbs.utilities.PropertyContainer.initialize(PropertyContainer.java:72)
    at de.lmu.ifi.dbs.utilities.PropertyContainer.<init>(PropertyContainer.java:43)
    at de.lmu.ifi.dbs.trafficmining.TrafficminingProperties.<init>(TrafficminingProperties.java:61)
    at de.lmu.ifi.dbs.trafficmining.TrafficminingGUI.<init>(TrafficminingGUI.java:84)
    at de.lmu.ifi.dbs.trafficmining.TrafficminingGUI$22.run(TrafficminingGUI.java:1446)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)

Original issue reported on code.google.com by franz.graf on 16 Mar 2012 at 8:43

change get/setDistance in OsmLINK to get/setLength

This issue was created by revision 7330d98db339.

distance in OSMLink should be renamed to get/setLength and it MUST be 
documented (and checked) that this distance/lentgh is given in meters and not 
in km (like it should be right now)

Original issue reported on code.google.com by franz.graf on 4 Jan 2012 at 2:36

Load recently loaded Graph does not work

when reopening  the gui, the graph is not always reopened even if the menu item 
is checked.

POssibly this is the case when the gui was NOT closed by File > Close

Original issue reported on code.google.com by franz.graf on 26 May 2012 at 2:51

java.lang.NumberFormatException: For input string: "2147725216" on loading .osm file

I used https://trafficmining.googlecode.com/files/MARiO_v2.zip on Lubuntu 14.04

java -version gives

java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
Java HotSpot(TM) Server VM (build 25.40-b25, mixed mode)

osm file acquired from Overpass ( http://overpass-api.de/api/interpreter?data=(node(50,19.78,50.11,20.09);<;);out meta; )

I used File > Load Graph to download acquired file.

It resulted in crash with following stacktrace:

INFO: parsing XML: /home/mateusz/Documents/OSM/tilemill/kr.osm; filesize: 215 mb
java.lang.NumberFormatException: For input string: "2147725216"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.lang.Integer.parseInt(Integer.java:583)
    at java.lang.Integer.parseInt(Integer.java:615)
    at de.lmu.ifi.dbs.paros.utils.XmlOsmHandler.startElement(XmlOsmHandler.java:84)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
    at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:356)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2786)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:333)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:328)
    at de.lmu.ifi.dbs.paros.utils.XmlOsmGraphReader.parseOSMxml(XmlOsmGraphReader.java:43)
    at de.lmu.ifi.dbs.paros.utils.XmlOsmGraphReader.getGraph(XmlOsmGraphReader.java:61)
    at de.lmu.ifi.dbs.paros.utils.GraphFactory.readOsmGraphXML(GraphFactory.java:22)
    at de.lmu.ifi.dbs.paros.LoadGraphWorker.doInBackground(LoadGraphWorker.java:52)
    at de.lmu.ifi.dbs.paros.LoadGraphWorker.doInBackground(LoadGraphWorker.java:17)
    at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at javax.swing.SwingWorker.run(SwingWorker.java:334)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

Failed to load algorithms

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-z
oom.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.prop
erties
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.


Original issue reported on code.google.com by [email protected] on 19 Apr 2012 at 6:43

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.