¿ªÔÆÌåÓý

Locked Test version 4.9.2 problems under Windows 7


 

Hi,
I just downloaded and upgraded to newest test version.

Windows 7 completely up to dste, HP touchscreen desktop, 8 gig ram, Latest Java, NCE Power Cab with USB interface.

I use for Decoder Pro only at this time.

Used test version 4.9.1 since it came out with no issues.


The program loads fine. But then it starts responding real slow. Then finally it flashes a screen that says unrecoverable error and many lines referring to Java problems. Never could open one of my existing roster entries. Went into eternal think mode then flashed the unrecoverable error message.

One time, I chose to go into preferences from the Decoder Pro main screen, and it let me look at various screens although it was very slow. Then it said Java Heap and a bunch more stuff, but it all disappeared and the program shut itself down.

Just letting you know.

Tom Wilson


 

Hi,
Just more information regarding the 4.9.2 problem.
I was able to uninstall it. Then installed 4.9.1 and copied the contents of my JMRI backup folder into the active folder and everything is working again. I saved the log files from the 4.9.2 problems if you need or want to see them.
Thanks,
Tom Wilson


 

Sorry for the trouble. I¡¯d be very interested in seeing those log files.

Bob

On Aug 13, 2017, at 8:55 PM, 5i5kb4wwnc2tul2puyiz46rnzqoc733wbkjzio4p@... [jmriusers] <jmriusers@...> wrote:

Hi,
Just more information regarding the 4.9.2 problem.
I was able to uninstall it. Then installed 4.9.1 and copied the contents of my JMRI backup folder into the active folder and everything is working again. I saved the log files from the 4.9.2 problems if you need or want to see them.
Thanks,
Tom Wilson
--
Bob Jacobsen
jacobsen@... +1-510-708-5988 AIM, Skype JacobsenRG


 

Hi Bob
I have the same error upgrading from 4.9.1 to 4.9.2 (running under Windows10 pro):
JMRI lauches OK but very slowly, then when trying to add a new lok or trying to open an existing roster entry, it crashes:


part of the log bellow


2017-08-14 15:59:52,707 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [initialize decoder index]
java.lang.OutOfMemoryError: Java heap space
at java.util.jar.Manifest$FastInputStream.<init>(Unknown Source)
at java.util.jar.Manifest$FastInputStream.<init>(Unknown Source)
at java.util.jar.Manifest.read(Unknown Source)
at java.util.jar.Manifest.<init>(Unknown Source)
at java.util.jar.JarFile.getManifestFromReference(Unknown Source)
at java.util.jar.JarFile.getManifest(Unknown Source)
at sun.misc.URLClassPath$JarLoader$2.getManifest(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:217)
at org.jdom2.input.sax.SAXBuilderEngine.build(SAXBuilderEngine.java:253)
at org.jdom2.input.SAXBuilder.build(SAXBuilder.java:1091)
at jmri.jmrit.XmlFile.getRoot(XmlFile.java:197)
at jmri.jmrit.XmlFile.rootFromFile(XmlFile.java:148)
at jmri.jmrit.XmlFile.rootFromName(XmlFile.java:116)
at jmri.jmrit.decoderdefn.DecoderIndexFile.updateIndexIfNeeded(DecoderIndexFile.java:272)
at jmri.jmrit.decoderdefn.DecoderIndexFile$Initializer.getDefault(DecoderIndexFile.java:649)
at jmri.InstanceManager.getNullableDefault(InstanceManager.java:232)
at jmri.InstanceManager.getDefault(InstanceManager.java:179)
at jmri.jmrit.decoderdefn.DecoderIndexFile.updateIndexIfNeeded(DecoderIndexFile.java:285)
at jmri.jmrit.decoderdefn.DecoderIndexFile$Initializer.getDefault(DecoderIndexFile.java:649)
at jmri.InstanceManager.getNullableDefault(InstanceManager.java:232)
at jmri.InstanceManager.getDefault(InstanceManager.java:179)
at jmri.jmrit.decoderdefn.DecoderIndexFile.updateIndexIfNeeded(DecoderIndexFile.java:285)
2017-08-14 16:01:21,090 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [AWT-EventQueue-0]
java.lang.OutOfMemoryError: Java heap space


 

I'm seeing similar from HEAD about trying to open roster entries. I've not
tried with an install version of 4.8.2 yet. At least this happening on
Win10.



-Ken Cameron, Member JMRI Dev Team

www.jmri.org

www.fingerlakeslivesteamers.org

www.cnymod.com

www.syracusemodelrr.org


 

I think we¡¯ve tracked this down.

A workaround might be possible. More to follow.

Bob


--
Bob Jacobsen
jacobsen@... +1-510-708-5988 AIM, Skype JacobsenRG


 

On Aug 14, 2017, at 7:16 AM, acarasso_fr@... [jmriusers] <jmriusers@...> wrote:

JMRI lauches OK but very slowly, then when trying to add a new lok or trying to open an existing roster entry, it crashes:
Could one or two people who are seeing this problem try something for me, please?

*) Go to your profile directory

*) Check whether there¡¯s a ¡°decoderIndex.xml¡± file there. I¡¯d like to know whether people having the trouble have that file or not; either way is useful information.

*) If it is there, move it aside and then try the program to see if the problem is still present.

Thanks!

Bob

--
Bob Jacobsen
jacobsen@... +1-510-708-5988 AIM, Skype JacobsenRG


 

Bob,
I will try what you requested when I get home this evening.
Thanks,
Tom Wilson


 

Bob,



I'm launching ok, but opening an entry in the roster takes a very long time
or never happens for some entries (>5 minutes).



I don't have a decoderindex.xml file.



-Ken Cameron, Member JMRI Dev Team

www.jmri.org

www.fingerlakeslivesteamers.org

www.cnymod.com

www.syracusemodelrr.org


 

Excellent Bob
You've traced the error: I've renamed the decoderindex.xml file from my layout folder, and bingo, no more crash when either opening an existing engine or trying to add a new one.


 

On Aug 14, 2017, at 11:33 AM, 'Ken Cameron' kcameron@... [jmriusers] <jmriusers@...> wrote:

I'm launching ok, but opening an entry in the roster takes a very long time
or never happens for some entries (>5 minutes).
Might be more than one problem.

Could you try the #1765 (or later) installer from please? It¡¯s building now, should be done in about 20 minutes. Thanks.

Bob
--
Bob Jacobsen
jacobsen@... +1-510-708-5988 AIM, Skype JacobsenRG


 

Bob,
I installed 4.9.2 again. Then I checked for the decoderindex.xml file and I did have that file under My_JMRI_Railroad. I moved it out of there then launched DecoderPro. I put it through lots of paces and for what I do, it has been solid and fast as expected.
I dug around my various backups. I backup before each update. It seems that file was not there when I updated to 4.7.8.
I think - based on the time and date stamps from my downloads and my backups - I think it came along when I installed and re-indexed a Soundtraxx decoder update file from this user group page .
Hope that info helps you figure it all out.
4.9.2 is running great now.
Thank you,
Tom Wilson


 

Hi Bob

Some more info about what I've done using current 4.9.2:

After removing the previous decoderindex.xml from my user's folder (created with 4.9.1 when I updated the Zimo V36 Plus profile), and seeing that I was able to open roster entru or add a new entry:

1) I then recreated the decoderindex, thus creating a new "local" decoderindex.xml,
2) I was able to close then start JMRI again,
3) I was able to open roster, add a new entry (see below), update decoder definitions, rebuilt roster....
3) So all seems fine BUT:

I found a small issue with the 4.9.2: when creating a new roster entry, it doesn't show up in the roster.... I had to rebuilt the roster to see this new entry in my roster.

When using your latest built #1765 (4.9.3....) once a new entry is created, it shows in the roster.

Alain from Paris


 

OK,


There have been some recent posts with regard to problems with deconderIndex.xml in the latest test versions. I have the lastest master dowloaded from github and am using eclipse. Everything builds fine in eclipse. However, when I try to invoke either Panel or Decoder Pro from eclipse, I get the following error:


2017-08-22 11:43:36,023 util.Log4JUtil INFO - * JMRI log ** [main]
2017-08-22 11:43:36,070 util.Log4JUtil INFO - This log is appended to file: C:&#92;Users&#92;Michael&#92;JMRI&#92;log&#92;messages.log [main]
2017-08-22 11:43:36,072 util.Log4JUtil INFO - This log is stored in file: C:&#92;Users&#92;Michael&#92;JMRI&#92;log&#92;session.log [main]
2017-08-22 11:43:36,086 apps.Apps INFO - PanelPro version 4.9.3ish+Michael+20170815T0352Z+Rbc20a81 starts under Java 1.8.0_144 on Windows 10 amd64 v10.0 at Tue Aug 22 11:43:36 EDT 2017 [main]
2017-08-22 11:43:40,129 apps.Apps INFO - Starting with profile AVMRC.3f432da5 [main]
2017-08-22 11:43:40,553 node.NodeIdentity INFO - Using jmri-606C66781DBA-3f432da5 as the JMRI Node identity [main]
2017-08-22 11:43:42,216 util.FileUtilSupport INFO - File path program: is C:&#92;Users&#92;Michael&#92;git&#92;JMRI&#92; [main]
2017-08-22 11:43:42,218 util.FileUtilSupport INFO - File path preference: is C:&#92;Users&#92;Michael&#92;JMRI&#92;AVMRC&#92; [main]
2017-08-22 11:43:42,219 util.FileUtilSupport INFO - File path profile: is C:&#92;Users&#92;Michael&#92;JMRI&#92;AVMRC&#92; [main]
2017-08-22 11:43:42,220 util.FileUtilSupport INFO - File path settings: is C:&#92;Users&#92;Michael&#92;JMRI&#92; [main]
2017-08-22 11:43:42,221 util.FileUtilSupport INFO - File path home: is C:&#92;Users&#92;Michael&#92; [main]
2017-08-22 11:43:42,222 util.FileUtilSupport INFO - File path scripts: is C:&#92;Users&#92;Michael&#92;git&#92;JMRI&#92;jython&#92; [main]
2017-08-22 11:43:42,266 apps.Apps ERROR - Error in trying to initialize decoder index file java.lang.NullPointerException: Required nonnull default for jmri.jmrit.decoderdefn.DecoderIndexFile does not exist. [initialize decoder index]
2017-08-22 11:43:42,290 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [main]
java.lang.NullPointerException: Required nonnull default for jmri.jmrix.ConnectionConfigManager does not exist.
at jmri.InstanceManager.getDefault(InstanceManager.java:181)
at apps.Apps.statusPanel(Apps.java:864)
at apps.PanelPro.PanelPro.statusPanel(PanelPro.java:69)
at apps.Apps.<init>(Apps.java:414)
at apps.PanelPro.PanelPro.<init>(PanelPro.java:41)
at apps.PanelPro.PanelPro.main(PanelPro.java:104)



I downloaded the latest test executable bundle (JMRI.4.9.4ish+jenkins+20170822T0505Z+R2b8afdc.exe) and copied the decoderIndex.xml from it into eclipse (xml directory) and cleaned and rebuilt to no avail. Any ideas on how I might fix this would be appreciated...



Many Thanks.


Mike....


 

We recently broke the Eclipse IDE with regards to the internal JAVA compiler.

There's a workaround, go to the end of this issue:






Dan