¿ªÔÆÌåÓý

Locked MRC Prodigy Advance Error


 

Hello, I am using JMRI ver 4.16, with windows 7, current java version, on a Lenovo Think pad, with an MRC tethered computer interface cable #0001516, an MRC Prodigy Advance with sys v03 upgrade, com port 14 and when attempting to use decoder pro to read a decoder to find out what one is installed (bought the engine used, it is a Kato pre-dcc one that was converted and it runs on the DCC system), I get the following error:



Any info is appreciated.
I will attempt to look in the log file also.
Thank you in advance for the help.


 

2019-09-10 07:43:51,235 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main]
2019-09-10 07:43:51,281 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: C:\Users\ksmerka\JMRI\log\messages.log [main]
2019-09-10 07:43:51,281 util.Log4JUtil??????????????????????? INFO? - This log is stored in file: C:\Users\ksmerka\JMRI\log\session.log [main]
2019-09-10 07:43:51,313 apps.AppsBase???????????????????????? INFO? - DecoderPro version 4.16+R6f9aced starts under Java 1.8.0_221 on Windows 7 x86 v6.1 at Tue Sep 10 07:43:51 EDT 2019 [main]
2019-09-10 07:43:54,776 gui3.Apps3??????????????????????????? INFO? - Starting with profile Ken_MRC.3f17a05a [main]
2019-09-10 07:43:55,743 node.NodeIdentity???????????????????? INFO? - Using 315c7515-b5fd-4d2b-ba8b-6f14b357b7e6 as the JMRI storage identity for profile id 3f17a05a [AWT-EventQueue-0]
2019-09-10 07:43:56,133 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "MRC" [main]
2019-09-10 07:43:57,553 jmrix.AbstractSerialPortController??? ERROR - no match to () in currentBaudNumber [main]
2019-09-10 07:43:57,693 jmrix.ConnectionConfigManager???????? ERROR - Unable to load [Element: <connection/>] into jmri.jmrix.mrc.serialdriver.configurexml.ConnectionConfigXml [main]
purejavacomm.PureJavaIllegalStateException: JTermios call returned -1 at class purejavacomm.PureJavaSerialPort line 532
??? at purejavacomm.PureJavaSerialPort.checkReturnCode(PureJavaSerialPort.java:1305)
??? at purejavacomm.PureJavaSerialPort.setSerialPortParams(PureJavaSerialPort.java:532)
??? at jmri.jmrix.mrc.serialdriver.SerialDriverAdapter.openPort(SerialDriverAdapter.java:52)
??? at jmri.jmrix.configurexml.AbstractSerialConnectionConfigXml.load(AbstractSerialConnectionConfigXml.java:95)
??? at jmri.jmrix.ConnectionConfigManager.initialize(ConnectionConfigManager.java:106)
??? at jmri.implementation.JmriConfigurationManager.initializeProvider(JmriConfigurationManager.java:394)
??? at jmri.implementation.JmriConfigurationManager.lambda$6(JmriConfigurationManager.java:390)
??? at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
??? at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
??? at jmri.implementation.JmriConfigurationManager.initializeProvider(JmriConfigurationManager.java:389)
??? at jmri.implementation.JmriConfigurationManager.lambda$6(JmriConfigurationManager.java:390)
??? at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
??? at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
??? at jmri.implementation.JmriConfigurationManager.initializeProvider(JmriConfigurationManager.java:389)
??? at jmri.implementation.JmriConfigurationManager.lambda$1(JmriConfigurationManager.java:207)
??? at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
??? at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
??? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:206)
??? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:194)
??? at jmri.implementation.JmriConfigurationManager.load(JmriConfigurationManager.java:184)
??? at apps.AppsBase.setAndLoadPreferenceFile(AppsBase.java:255)
??? at apps.gui3.Apps3.setAndLoadPreferenceFile(Apps3.java:360)
??? at apps.AppsBase.<init>(AppsBase.java:105)
??? at apps.gui3.Apps3.<init>(Apps3.java:93)
??? at apps.gui3.dp3.DecoderPro3.<init>(DecoderPro3.java:27)
??? at apps.gui3.dp3.DecoderPro3.main(DecoderPro3.java:96)
2019-09-10 07:43:57,755 plementation.JmriConfigurationManager ERROR - Exception initializing jmri.jmrix.ConnectionConfigManager: Unable to create connection "MRC" (M). [main]
2019-09-10 07:43:58,473 jmri.InstanceManager????????????????? ERROR - Should not set default of type jmri.ThrottleManager to null value [main]
2019-09-10 07:43:58,473 managers.ManagerDefaultSelector?????? WARN? - SystemConnectionMemo for MRC (class jmri.jmrix.mrc.MrcSystemConnectionMemo) provides a null interface jmri.ThrottleManager instance [main]
2019-09-10 07:43:58,473 jmri.InstanceManager????????????????? ERROR - Should not set default of type jmri.PowerManager to null value [main]
2019-09-10 07:43:58,473 managers.ManagerDefaultSelector?????? WARN? - SystemConnectionMemo for MRC (class jmri.jmrix.mrc.MrcSystemConnectionMemo) provides a null interface jmri.PowerManager instance [main]
2019-09-10 07:43:58,489 plementation.JmriConfigurationManager ERROR - Exception initializing jmri.managers.ManagerDefaultSelector: System connection MRC provides a null manager for interface jmri.PowerManager [main]
2019-09-10 07:43:58,645 plementation.JmriConfigurationManager ERROR - Exception initializing apps.StartupActionsManager: jmri.util.prefs.InitializationException: Unable to run startup actions due to earlier failures. [main]
2019-09-10 07:44:01,187 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main]
2019-09-10 07:44:01,187 util.FileUtilSupport????????????????? INFO? - File path preference: is C:\Users\ksmerka\JMRI\Ken_MRC.jmri\ [main]
2019-09-10 07:44:01,187 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Users\ksmerka\JMRI\Ken_MRC.jmri\ [main]
2019-09-10 07:44:01,187 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Users\ksmerka\JMRI\ [main]
2019-09-10 07:44:01,187 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Users\ksmerka\ [main]
2019-09-10 07:44:01,187 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main]
2019-09-10 07:44:02,342 throttle.PowerManagerButton?????????? INFO? - No power manager instance found, panel not active [main]

This is the log file from the system console. Thank you again.


 

Marc,

I will check that out. Thanks for the help.
I will let you know.

Ken


 

Marc,
I was able to read the decoder with the DCC system on a program track.
I am going to try to get the next release of JMRI, i was getting the antivirius software blocking it.
?
the Error I get when JMRI starts is as follows:

Unable to create connection "MRC" (M).
System connection MRC provides a null manager for the interface jmri.ThrottleManager
unable to run startup actions due to earlier failures.

everything is plugged in correctly. baud rates set as suggested.
Any more help is greatly appreciated.
?


 

Marc,

Thanks for the info. I got the new version (4.17.4) to work, saw the com port and no start up error. Finally. Thanks again.

Now I cannot get JMRI to communicate with the MRC system. When I press the button to turn "on/off" the programming, it goes red to green, in the MRC console screen I can see commands go to the MRC for the power going on and off. When I try to read a decoder, nothing. With the programming "off", i get link lights, nothing when it is "on". I tried to read 2 different engines, nothing. The MRC system can read both engines, get the address and read the CV's.? I know the 1516 cable works due to using the MRC software, it can read the engine decoder then. The one engine is a NCE DS-AR BD020 decoder, figured that out by looking at it.

I am stumped......

Thanks again for all the help so far, it is appreciated.


 

Marc,

Here is the log file:
2019-09-13 10:48:26,031 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main]
2019-09-13 10:48:26,296 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: C:\Users\ksmerka\JMRI\log\messages.log [main]
2019-09-13 10:48:26,296 util.Log4JUtil??????????????????????? INFO? - This log is stored in file: C:\Users\ksmerka\JMRI\log\session.log [main]
2019-09-13 10:48:26,327 apps.AppsBase???????????????????????? INFO? - DecoderPro version 4.17.4+Rbf0d1af starts under Java 1.8.0_221 on Windows 7 x86 v6.1 at Fri Sep 13 10:48:26 EDT 2019 [main]
2019-09-13 10:48:39,494 profile.ProfileManagerDialog????????? INFO? - Automatically starting with profile Ken_MRC.3f17a05a after timeout. [AWT-EventQueue-0]
2019-09-13 10:48:39,556 gui3.Apps3??????????????????????????? INFO? - Starting with profile Ken_MRC.3f17a05a [main]
2019-09-13 10:48:41,210 node.NodeIdentity???????????????????? INFO? - Using 315c7515-b5fd-4d2b-ba8b-6f14b357b7e6 as the JMRI storage identity for profile id 3f17a05a [AWT-EventQueue-0]
2019-09-13 10:48:42,333 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "MRC" [main]
2019-09-13 10:48:44,735 serialdriver.SerialDriverAdapter????? INFO? - Serial timeout was observed as: 0 false [main]
2019-09-13 10:48:44,735 serialdriver.SerialDriverAdapter????? INFO? - input buffer 0 [main]
2019-09-13 10:48:44,798 serialdriver.SerialDriverAdapter????? INFO? - COM14 port opened at 38400 baud, sees? DTR: true RTS: true DSR: false CTS: false? CD: false [main]
2019-09-13 10:48:48,027 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main]
2019-09-13 10:48:48,027 util.FileUtilSupport????????????????? INFO? - File path preference: is C:\Users\ksmerka\JMRI\Ken_MRC.jmri\ [main]
2019-09-13 10:48:48,042 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Users\ksmerka\JMRI\Ken_MRC.jmri\ [main]
2019-09-13 10:48:48,042 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Users\ksmerka\JMRI\ [main]
2019-09-13 10:48:48,042 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Users\ksmerka\ [main]
2019-09-13 10:48:48,042 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main]


thanks again for all the help to this newbie.

Ken


 

Marc,
Thanks for help.
I have set the JMRI cab to 2.
As for the LAST CAB issue, that is next on the list.
I also am wondering if the "master cab", #1 is only allowed to program.
I am going to try setting the MRC cab to 2, and JMRI to 1, so it is the "master".

Again, much appreciated for all of your and the groups help.

Ken


 

Marc,

Both the sys-7 (main track) and sys-8 (program track) settings are at 009, therefore cabs 1-9 can program on the program and main tracks. Then my interface should be able to program.
Am I reading that right?

Again, I cannot thank you enough for all of the help.

Ken


 

also, how long should JMRI take to read a decoder and the CV's?
Thanks again


 

Thank you, I will try these.

Ken


 

It may take editing and saving the preferences again to make sure the
profile being read has the right form for the baud rate and that is the
issue. Once the profile is rewritten with the new details (yes same basic
settings for speed) I think that may be the cure.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.org
www.syracusemodelrr.org


 

Ken,

I no longer get the error message at the start of decoder pro. connects no problem

I got the adapter to see the MRC system, as cab 2.
My issues is now it will not read any decoders.
I press the "programming" button to "on", then new loco and then read from decoder, set to the programming track option in the lower right corner, then every thing stops. In the MRC consule window, noting is being logged, i have raw data picked to see everything. when I use the MRC hand throttle to read the CV's, it works, and I see data in the console window. If I re-press the read from decoder button, it says programmer in use.

Thanks for the help.

Ken


 

Marc,

I do not get the option to set to page mode, only automatic.
Your talking about the "programming mode" option drop down menu.

Thanks,

Ken


 

Ken,

Take a look in the Help->System Console, it may give us other clues of what
happens when you try programming. I'd also say try something like the
'Single CV Programmer' but only if you have a clue about using it. That
would bypass any issue in the roster or decoder index. So a copy/paste from
the system console would help here.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.org
www.syracusemodelrr.org


 

Here is the current log file:

2019-09-15 18:21:17,412 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main]
2019-09-15 18:21:17,740 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: C:\Users\ksmerka\JMRI\log\messages.log [main]
2019-09-15 18:21:17,756 util.Log4JUtil??????????????????????? INFO? - This log is stored in file: C:\Users\ksmerka\JMRI\log\session.log [main]
2019-09-15 18:21:17,771 apps.AppsBase???????????????????????? INFO? - DecoderPro version 4.17.4+Rbf0d1af starts under Java 1.8.0_221 on Windows 7 x86 v6.1 at Sun Sep 15 18:21:17 EDT 2019 [main]
2019-09-15 18:21:22,467 gui3.Apps3??????????????????????????? INFO? - Starting with profile Ken_MRC.3f17a05a [main]
2019-09-15 18:21:25,774 node.NodeIdentity???????????????????? INFO? - Using 315c7515-b5fd-4d2b-ba8b-6f14b357b7e6 as the JMRI storage identity for profile id 3f17a05a [AWT-EventQueue-0]
2019-09-15 18:21:29,112 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "MRC" [main]
2019-09-15 18:21:33,293 serialdriver.SerialDriverAdapter????? INFO? - Serial timeout was observed as: 0 false [main]
2019-09-15 18:21:33,293 serialdriver.SerialDriverAdapter????? INFO? - input buffer 0 [main]
2019-09-15 18:21:33,402 serialdriver.SerialDriverAdapter????? INFO? - COM14 port opened at 38400 baud, sees? DTR: true RTS: true DSR: false CTS: false? CD: false [main]
2019-09-15 18:21:40,672 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main]
2019-09-15 18:21:40,672 util.FileUtilSupport????????????????? INFO? - File path preference: is C:\Users\ksmerka\JMRI\Ken_MRC.jmri\ [main]
2019-09-15 18:21:40,672 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Users\ksmerka\JMRI\Ken_MRC.jmri\ [main]
2019-09-15 18:21:40,672 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Users\ksmerka\JMRI\ [main]
2019-09-15 18:21:40,672 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Users\ksmerka\ [main]
2019-09-15 18:21:40,672 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main]
2019-09-15 18:23:24,697 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [AWT-EventQueue-0]
java.lang.NullPointerException
??? at jmri.jmrix.mrc.MrcProgrammer.readCV(MrcProgrammer.java:143)
??? at jmri.jmrit.AbstractIdentify.readCV(AbstractIdentify.java:262)
??? at jmri.jmrit.decoderdefn.IdentifyDecoder.test1(IdentifyDecoder.java:90)
??? at jmri.jmrit.AbstractIdentify.start(AbstractIdentify.java:78)
??? 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)

the MRC console when trying to program:
18:22:23.449: [02 00 02 00]? Rx: Unk Cmd Code: 02 00 02 00
18:25:54.535: [00 00 00 00]? Rx: No Data From Last Cab
18:26:46.436: [00 00 00 00]? Rx: No Data From Last Cab
18:26:58.651: [02 00 02 00]? Rx: Unk Cmd Code: 02 00 02 00
18:28:20.926: [00 00 00 00]? Rx: No Data From Last Cab

Thanks again,

Ken


 

I also tried reading in the single CV programmer, no go, just hung at reading.

Also, no data in the MRC console.

Thanks again.... I do appreciate all the help.

Ken


 

I can recreate this. Will try to figure out what¡¯s going on.

Bob

On Sep 16, 2019, at 1:29 AM, kensmerka via Groups.Io <kensmerka@...> wrote:

[main]
2019-09-15 18:23:24,697 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [AWT-EventQueue-0]
java.lang.NullPointerException
at jmri.jmrix.mrc.MrcProgrammer.readCV(MrcProgrammer.java:143)
at jmri.jmrit.AbstractIdentify.readCV(AbstractIdentify.java:262)
at jmri.jmrit.decoderdefn.IdentifyDecoder.test1(IdentifyDecoder.java:90)
at jmri.jmrit.AbstractIdentify.start(AbstractIdentify.java:78)
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)
--
Bob Jacobsen
rgj1927@...


 

I think this is fixed by PR 7427 (), but I don¡¯t have hardware to check it. If anybody can build that branch and test with hardware, I¡¯d be grateful.

Otherwise, I¡¯ll merge it, perhaps tomorrow, and it¡¯ll be in development installers to check.

Bob

On Sep 16, 2019, at 1:29 AM, kensmerka via Groups.Io <kensmerka@...> wrote:

[main]
2019-09-15 18:23:24,697 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [AWT-EventQueue-0]
java.lang.NullPointerException
at jmri.jmrix.mrc.MrcProgrammer.readCV(MrcProgrammer.java:143)
at jmri.jmrit.AbstractIdentify.readCV(AbstractIdentify.java:262)
at jmri.jmrit.decoderdefn.IdentifyDecoder.test1(IdentifyDecoder.java:90)
at jmri.jmrit.AbstractIdentify.start(AbstractIdentify.java:78)
--
Bob Jacobsen
rgj1927@...


 

Bob,
Thank you for the help.
Please let me know when to download the new JMRI.


Ken


 

There are installers here:



that I hope will fix this. I¡¯d appreciate hearing whether it did or not.

Bob
--
Bob Jacobsen
rgj1927@...