Hallo Stummi Forum,
ich hoffe ihr könnt mir bei folgendem Problem helfen.
Ich hatte das Thema schon in der JMRI Newsgroup als auch im JMRI Github Archiv platziert, ohne eine Antwort zu bekommen.
Offensichtlich sind die Tams Geräte international nicht sehr verbeitet.
Umso mehr hoffe ich jetzt auf Reaktionen in diesem Forum.
Jetzt zum Problem:
Da ich eine Menge unterschiedlicher Decoder in meiner Loksammlung habe, bietet sich der DecoderPro von JMRI als komfortabler Programmer an, der nahezu alle Decoder unterstützt. Zumindest ist mir auch keine ähnliche umfangreiche und komfortable Lösung bekannt.
Bis inkusive der Version 4.12 von JMRI funktioniert auch alles tadellos. Alle nachfolgenden Versionen funktionieren nicht mehr richtig.
Ich kann mit aktuellen JMRI Versionen die Gleisspannung an- und abschalten, aber jeglicher Versuch Decoder auszulesen scheitert.
Das bedeutet für mich, daß die Verbindung zur Mastercontrol prinzipiell funktioniert, aber es intern ein Problem gibt den Decoder auszulesen.
Der Debugging output zeigt auch eine exception an der Stelle.
Frage:
Hat noch jemand die gleichen Problem mit JMRI >4.12 und Tams Mastercontrol?
Oder hat jemand eine Idee an was es liegen könnte?
Für jeden hilfreichen Hinweis wäre ich sehr dankbar.
Gruß Martin
JMRI debugging output:
Zitat
2019-11-24 14:58:19,941 util.Log4JUtil INFO - ****** JMRI log ******* [main]
2019-11-24 14:58:19,953 util.Log4JUtil INFO - This log is appended to file: C:UsersUserJMRIlogmessages.log [main]
2019-11-24 14:58:19,954 util.Log4JUtil INFO - This log is stored in file: C:UsersUserJMRIlogsession.log [main]
2019-11-24 14:58:19,968 apps.AppsBase INFO - DecoderPro version 4.14+Rd060e0b starts under Java 1.8.0_231 on Windows 10 amd64 v10.0 at Sun Nov 24 14:58:19 CET 2019 [main]
2019-11-24 14:58:20,209 gui3.Apps3 INFO - Starting with profile Test.3ddf8366 [main]
2019-11-24 14:58:20,320 node.NodeIdentity INFO - Using jmri-hagYNaoVGhPiaaZfcztsX6-3ddf8366 as the JMRI Node identity [AWT-EventQueue-0]
2019-11-24 14:58:20,409 xml.AbstractSerialConnectionConfigXml INFO - Starting to connect for "Tams" [main]
2019-11-24 14:58:20,666 serialdriver.SerialDriverAdapter INFO - COM5 port opened at 57600 baud, sees DTR: true RTS: true DSR: false CTS: true CD: false [main]
2019-11-24 14:58:20,667 serialdriver.SerialDriverAdapter INFO - TAMS COM5 port opened at 57600 baud [main]
2019-11-24 14:58:20,981 util.FileUtilSupport INFO - File path program: is C:Program Files (x86)JMRI_test [main]
2019-11-24 14:58:20,982 util.FileUtilSupport INFO - File path preference: is C:UsersUserJMRITest.jmri [main]
2019-11-24 14:58:20,982 util.FileUtilSupport INFO - File path profile: is C:UsersUserJMRITest.jmri [main]
2019-11-24 14:58:20,982 util.FileUtilSupport INFO - File path settings: is C:UsersUserJMRI [main]
2019-11-24 14:58:20,983 util.FileUtilSupport INFO - File path home: is C:UsersUser [main]
2019-11-24 14:58:20,984 util.FileUtilSupport INFO - File path scripts: is C:Program Files (x86)JMRI_testjython [main]
2019-11-24 14:58:37,393 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [AWT-EventQueue-0]
java.lang.NullPointerException
at jmri.jmrix.tams.TamsProgrammer.readCV(TamsProgrammer.java:103)
at jmri.jmrix.AbstractProgrammer.readCV(AbstractProgrammer.java:117)
at jmri.jmrit.AbstractIdentify.readCV(AbstractIdentify.java:239)
at jmri.jmrit.decoderdefn.IdentifyDecoder.test1(IdentifyDecoder.java:65)
at jmri.jmrit.AbstractIdentify.start(AbstractIdentify.java:76)
at jmri.jmrit.symbolicprog.CombinedLocoSelPane.startIdentifyDecoder(CombinedLocoSelPane.java:358)
at jmri.jmrit.symbolicprog.CombinedLocoSelTreePane.startIdentifyDecoder(CombinedLocoSelTreePane.java:336)
at jmri.jmrit.symbolicprog.CombinedLocoSelPane$2.actionPerformed(CombinedLocoSelPane.java:131)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.JToggleButton$ToggleButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)