Trains.com

Subscriber & Member Login

Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!

Decoder Pro not working

3285 views
8 replies
1 rating 2 rating 3 rating 4 rating 5 rating
  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Tuesday, July 23, 2013 6:55 PM

 Also buried in the download package is a test utility that makes sure you have the correct Java and all that sort of thing. It may also give some clue. The folks on the JMRI Group can help out.

              --Randy

 


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    October 2005
  • 1,047 posts
Posted by betamax on Tuesday, July 23, 2013 2:59 PM

I second the suggestion to join the JMRI users mailing list on Yahoo Groups.

The first thing they will ask for is the error messages from the console.  It gives a lot more information as to what is happening.  If you don't know how to do that, someone will tell you how.

It is also important to post enough info about your system that they can see what you have.

Operating system, processor, version of JAVA, Version of JMRI. That way incompatibilities can be seen right away.

  • Member since
    December 2001
  • 1,932 posts
Posted by Stevert on Tuesday, July 23, 2013 2:50 PM

Renegade1c

Correct me if I am wrong but I believe the OP is saying that he can't even get the program to run. A com port issue will not prevent the program from starting. This will be an issue further down the line but from what I can tell he isn't even to that stage yet.

Sure it can, or at least it can give the appearance that's what's happening. 

One of the first things JMRI does is try to initialize the COM port, so it can report on the splash screen that it's "Connected to xxx on COM nnn".  If it hits an error during that initialization, you never get the splash screen and from all indications (and for all practical purposes), JMRI "didn't start".

You can manually reproduce this behavior at will on a working installation.  All you have to do is manually edit your preferences file to reflect the wrong COM port and start JMRI.   Change it back and the error goes away.

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Tuesday, July 23, 2013 1:29 PM

 Actually, it does. I can not believe the JMRI developers don't have sanity checks in their software - in fact, I know they do because if you cnage the device it sometimes will prompt you to update the preferences. But all the checkign in the world doesn;t help a poorly written Java I/O module that crashes when told to check a com port that doesn;t exist. I'm sure the Java people will blame Microsoft for this, but the fault is squarely on the JVM and its libraries.

 One thing that you can try is if you are trying to launch fromt he DecoderPro icon, try the PanelPro icon, or vice-versa. The really boh run the same thing, but with different preference files, one may be set with an invalid com port, the other never set and at the default so it might be enough to get the program to start and get to the point where you can select the interface.

 I think it's gotten worse - I WAS using a late 2.x version (2.10 maybe) on my laptop and everythign worked great, never had a problem with my PR3. Before the recent show, I upgraded to the latest production release - and started having many of the problems other people have reported, with it crashing when starting with the PR3, or it just gettting timeout errors when trying to read or program anything with the PR3. The only solution seemed to be to quit JMRI, unplug the PR3 USB cable, wait a few minutes, then plug it back in - in the same USB port. The JMRI would load, and evertthign woudl work great, even reading Tsunami decoders, until the machine was idle for a while (not sleep mode - I have it set to never sleep when on AC power). The ONLY thing that changed was the JMRI version, no Java update. And OS updates over time. Somethign that used to be 100% reliable is now only about 75% reliable.

                --Randy

 


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    June 2004
  • From: From Golden, CO living in Puyallup (Seattle), WA
  • 751 posts
Posted by Renegade1c on Tuesday, July 23, 2013 10:31 AM

Correct me if I am wrong but I believe the OP is saying that he can't even get the program to run. A com port issue will not prevent the program from starting. This will be an issue further down the line but from what I can tell he isn't even to that stage yet. 

Which Operating system are you using? Windows, OSX, or Linux?

Which version of JMRI/Decoder Pro are you installing? Are you using the production version or the development version? I would highly recommend using the production version as it is generally more stable and is less prone to glitches. 


Colorado Front Range Railroad: 
http://www.coloradofrontrangerr.com/

flag

  • Member since
    January 2001
  • From: SE Minnesota
  • 6,847 posts
Posted by jrbernier on Tuesday, July 23, 2013 10:08 AM

John,

  Some questions:

  • What DCC system are you attaching to?
  • What is the OS Level of your PC?
  • Did you install the current Java Level before you started the install?

  As previously mentioned, the 'com port' needs to be configured.  If you have a Windows PC, 'Control Panel - System - Device Manager' should show your ports.  A review of the ports should show what is attached.  Note the port number and add it to the Decoder Pro configuration(Edit-Preferences).

  If you do not have a DCC system attached, use one of the 'simulators' in the JMRI-Decoder Pro configuration.

Jim

Modeling BNSF  and Milwaukee Road in SW Wisconsin

  • Member since
    September 2003
  • 10,582 posts
Posted by mlehman on Tuesday, July 23, 2013 9:39 AM

x2 on checking the COM port setting. That's the first thing that causes a stumble with DP out of the box.

Mike Lehman

Urbana, IL

  • Member since
    December 2001
  • 1,932 posts
Posted by Stevert on Tuesday, July 23, 2013 9:25 AM

John, I have two suggestions:

First, if you have an actual DCC interface device of some sort connected to your computer, be sure you have the device's drivers correctly installed and have the correct COM port selected in your Decoder Pro preferences.  If you don't have an interface connected, your preferences should be set for one of the simulated connections.

Second suggestion:  If the above doesn't improve your results, post your question on the JMRI Yahoo group.  You will need to provide more info than you have here, so you may want to look at the "How to ask" doc.

  • Member since
    January 2013
  • 8 posts
Decoder Pro not working
Posted by john d on Tuesday, July 23, 2013 12:26 AM

Installed decoder pro for the first time and got a java error .

Java (TM)Platform SE Binary has stopped working.

I uninstalled docoder pro and java and reinstalled both with the latest versions.

Still no luck.

Any suggestions.

John Dorrell

Subscriber & Member Login

Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!

Users Online

There are no community member online

Search the Community

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT
Model Railroader Newsletter See all
Sign up for our FREE e-newsletter and get model railroad news in your inbox!