¿ªÔÆÌåÓý

Locked JMRI Startup Errors in Eclipse


 

I have a JMRI git repository on my Win 10 system. in Eclipse Mars 2, 4.7.1, 4.8 and 4.9.1 build correctly. 4.7.1 runs fine from Eclipse including Locobuf and CMRI interfaces. However, I get the following error at startup with 4.8 and 4.9.1 early on:


2017-07-26 21:26:53,321 util.Log4JUtil INFO - * JMRI log ** [main]
2017-07-26 21:26:53,591 util.Log4JUtil INFO - This log is appended to file: C:\Users\Michael\JMRI\log\messages.log [main]
2017-07-26 21:26:53,593 util.Log4JUtil INFO - This log is stored in file: C:\Users\Michael\JMRI\log\session.log [main]
2017-07-26 21:26:53,600 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [main]
java.lang.ExceptionInInitializerError
at jmri.util.Log4JUtil.startupInfo(Log4JUtil.java:142)
at apps.Apps.setStartupInfo(Apps.java:1221)
at apps.PanelPro.PanelPro.main(PanelPro.java:100)
Caused by: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key release.modifier
at java.util.ResourceBundle.getObject(ResourceBundle.java:450)
at java.util.ResourceBundle.getString(ResourceBundle.java:407)
at jmri.Version.<clinit>(Version.java:89)
... 3 more


Any thoughts? I first checkout the branches in git and do a refresh in Eclipse before I build and run.


Many Thanks,


Mike...


 

I'm also Win10, Eclipse Oxygen 4.7.0, and doing fine with HEAD. I can run or
debug just fine and not getting similar errors.



-Ken Cameron, Member JMRI Dev Team

www.jmri.org

www.fingerlakeslivesteamers.org

www.cnymod.com

www.syracusemodelrr.org


 

It looks like somehow the steps that create the ¡°version¡± code aren¡¯t being run.

When you tell Ant to do the build, the ¡°update-template-code¡± step handles that.

Do you have Eclipse configured to have Ant do the build?

Bob

On Jul 26, 2017, at 7:02 PM, saverinm@... [jmriusers] <jmriusers@...> wrote:

I have a JMRI git repository on my Win 10 system. in Eclipse Mars 2, 4.7.1, 4.8 and 4.9.1 build correctly. 4.7.1 runs fine from Eclipse including Locobuf and CMRI interfaces. However, I get the following error at startup with 4.8 and 4.9.1 early on:


2017-07-26 21:26:53,321 util.Log4JUtil INFO - * JMRI log ** [main]
2017-07-26 21:26:53,591 util.Log4JUtil INFO - This log is appended to file: C:&#92;Users&#92;Michael&#92;JMRI&#92;log&#92;messages.log [main]
2017-07-26 21:26:53,593 util.Log4JUtil INFO - This log is stored in file: C:&#92;Users&#92;Michael&#92;JMRI&#92;log&#92;session.log [main]
2017-07-26 21:26:53,600 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [main]
java.lang.ExceptionInInitializerError
at jmri.util.Log4JUtil.startupInfo(Log4JUtil.java:142)
at apps.Apps.setStartupInfo(Apps.java:1221)
at apps.PanelPro.PanelPro.main(PanelPro.java:100)
Caused by: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key release.modifier
at java.util.ResourceBundle.getObject(ResourceBundle.java:450)
at java.util.ResourceBundle.getString(ResourceBundle.java:407)
at jmri.Version.<clinit>(Version.java:89)
... 3 more


Any thoughts? I first checkout the branches in git and do a refresh in Eclipse before I build and run.


Many Thanks,
--
Bob Jacobsen
rgj1927@...