Cannot get RM 1.12 to run

Discussion forum for JP1 software tools currently in use, or being developed, such as IR, KM, RemoteMaster, and other misc apps/tools.

Moderator: Moderators

Post Reply
jon17034
Posts: 5
Joined: Thu Dec 30, 2004 11:44 pm
Location: Whitehall, PA

Cannot get RM 1.12 to run

Post by jon17034 »

I have been having no luck getting RemoteMaster to run on any of my PC's. I have installed Java (1.4.2.06) and it appears to run normally. I have installed the latest RDF files (1.17) into a separate directory. When I try to run the program, I receive an error stating that no RDF files were found and then see a window where I can select where those files might be. When I select that directory, no files are visible. I have double-checked that the files are RDF's in their properties.
Every time I try to run RM, the program does the same thing. I have read of a few other users having this problem, but have heard little of solutions. I suspect that this is a problem with Java, based on the error file that is generated but for me it sheds little light on the problem. I have included part of the error file for any more experienced users: (generally the end of the file)

Warning: Shape defined for unknown button Angle
Warning: Shape defined for unknown button Random
DeviceUpgrade.setRemote(), protocol "Acer Keyboard" (01 11) is not built into remote Anthem
protocol "Acer Keyboard" (01 11) will be used.
Setting devPamrs[ 0 ](Device) to null
Setting devPamrs[ 1 ](Sub Device) to null
Caught exception in RemoteMaster.main()!
java.lang.NullPointerException
at javax.swing.border.EmptyBorder.<init>(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsTableHeaderUI$XPDefaultRenderer.getTableCellRendererComponent(Unknown Source)
at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderRenderer(Unknown Source)
at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderHeight(Unknown Source)
at javax.swing.plaf.basic.BasicTableHeaderUI.createHeaderSize(Unknown Source)
at javax.swing.plaf.basic.BasicTableHeaderUI.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.ViewportLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.ScrollPaneLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.calculateSize(Unknown Source)
at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.JRootPane$RootLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at java.awt.Window.pack(Unknown Source)
at com.hifiremote.jp1.KeyMapMaster.<init>(KeyMapMaster.java:237)
at com.hifiremote.jp1.RemoteMaster.main(RemoteMaster.java:12)

Any help on this matter would be appreciated.

Jon17034
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

Could you provide a bit more information about your setup?
What operating system are you using?
How are you starting RemoteMaster?

I just upgraded my Java SDK to 1.4.2_06 on my Windows XP Home SP2 machine, and everything works just fine.

One thing to try is to create a RemoteMaster.properties file in the same directory you installed RemoteMaster (it is where RemoteMaster.jar can be found), and put the following line in it:

Code: Select all

LookAndFeel=javax.swing.plaf.metal.MetalLookAndFeel
Also, could you run the command

Code: Select all

java -version
from a Command Prompt and report back what the results are?
jon17034
Posts: 5
Joined: Thu Dec 30, 2004 11:44 pm
Location: Whitehall, PA

Post by jon17034 »

I am running WinXP Pro with SP-2 on an AthlonXP 3000+, 1024MB RAM, ATI Radeon 9500 Pro (Catalyst 4.12 drivers) - maybe more than you need to know but it usually pays to be detailed.

Java -version results were:

java version "1.4.2_06"
Java (TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot (TM) Client VM (build 1.4.2_06 b03, mixed mode)

I have been trying to run RM by double-clicking on the RemoteMaster.JAR file in the install directory and by double-clicking on an RMDU upgrade file.

During installation I did click on both the setup.bat and the setup.reg files to update the registry.

I tried to create a remotemaster.properties file with the information that you provided but without success.

Jon17034
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

I haven't figured anything out yet. Could you post the contents of the setup.reg file, please?
zaphod7501
Posts: 536
Joined: Mon Aug 02, 2004 7:07 pm
Location: Peoria Illinois

Post by zaphod7501 »

Might not be any help , but sometimes bat files fail to execute and the errors aren't displayed long enough to even see them. ("path" problems are common). You might want to open a command window and run the bat file from there. If there are errors , you can scroll back to read them with the command window open.
Just call me Zaphod (or Steve) --- I never should have started using numbers in a screen name but I just can't stop now.
jon17034
Posts: 5
Joined: Thu Dec 30, 2004 11:44 pm
Location: Whitehall, PA

Post by jon17034 »

Setup.reg Contents:

REGEDIT4

[HKEY_CLASSES_ROOT\RMDeviceUpgrade]
@="Remote Master Device Upgrade"

[HKEY_CLASSES_ROOT\RMDeviceUpgrade\DefaultIcon]
@="C:\\RemoteMaster.v1.12\\images\\RemoteMaster.ico"

[HKEY_CLASSES_ROOT\RMDeviceUpgrade\Shell]
@=""

[HKEY_CLASSES_ROOT\RMDeviceUpgrade\Shell\open]
@=""

[HKEY_CLASSES_ROOT\RMDeviceUpgrade\Shell\open\command]
@="\"C:\\Program Files\\Java\\j2re1.4.2_06\\bin\\javaw.exe\" -jar \"C:\\RemoteMaster.v1.12\\RemoteMaster.jar\" -h \"C:\\RemoteMaster.v1.12\" \"%1\""

[HKEY_CLASSES_ROOT\.km]
@="RMDeviceUpgrade"

[HKEY_CLASSES_ROOT\.rmdu]
@="RMDeviceUpgrade"

In response to zaphod's (Steve's) suggestion: no errors were seen when running the BAT files in a command prompt window.
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

Your setup.reg file looks OK. How about your CLASSPATH environment variable? In a Command Prompt, issue the following command

Code: Select all

SET CLASSPATH
Also, you could try running rmaster.bat from a command prompt to see if that makes any difference.
jon17034
Posts: 5
Joined: Thu Dec 30, 2004 11:44 pm
Location: Whitehall, PA

Post by jon17034 »

SET CLASSPATH results:

Environment variable classpath not defined



Jon17034
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

This is a strange one.

Looks like you are having the same issue as http://forum.java.sun.com/thread.jspa?f ... dID=529156

According to that, it won't happen if
the Application's compatibilty mode is as as "Windows 2000"
Also when the desktop theme is not Windows XP.
jon17034
Posts: 5
Joined: Thu Dec 30, 2004 11:44 pm
Location: Whitehall, PA

Post by jon17034 »

That is interesting. My Windows XP theme is not one of the default themes but I cannot to see if changing it back makes any difference since I am now out of town. Maybe I can try this on my laptop later.
Post Reply