InnoZ / MAS

analysis and (potentially) development of a multi-agent simultation for carsharing
Apache License 2.0
0 stars 0 forks source link

Fehlermeldung erscheint in der Eclipse aber nicht im GUI #42

Closed 00Bock closed 8 years ago

00Bock commented 8 years ago

2016-06-30 14:54:32,508 INFO DatabaseReader:973 Reading in buildings... 2016-06-30 14:55:37,525 INFO DatabaseReader:812 Reading in amenities... Exception in thread "Thread-3" java.lang.NoSuchMethodError: org.matsim.core.utils.collections.QuadTree.getClosest(DD)Ljava/lang/Object; at innoz.io.database.DatabaseReader.readAmenities(DatabaseReader.java:857) at innoz.io.database.DatabaseReader.readOsmData(DatabaseReader.java:349) at innoz.io.database.DatabaseReader.readGeodataFromDatabase(DatabaseReader.java:156) at innoz.run.controller.ScenarioGenerationController.run(ScenarioGenerationController.java:63) at innoz.gui.actionListeners.RunnerActionListener.run(RunnerActionListener.java:77) at java.lang.Thread.run(Thread.java:745)

wese-da commented 8 years ago

Has sth. to do with the default try-catch syntax in Java where catch(Exception e){ e.printStackTrace() } hands the statement of the exception (if one occurs) over to the system's default error output stream.

The solution would be to re-direct the error output stream to the GUI console.

wese-da commented 8 years ago

bildschirmfoto vom 2016-07-11 11-30-32

Resolved by commit 7138b22e70b0fccc1bf184c1ca779b52f40b753a