Page 1 of 1

RM stopped working

Posted: Sat Jul 28, 2007 1:21 pm
by unclemiltie
I had to rebuild my system at work (long story) and when I was finished and tried to start up RM it wouldn't start. RM is run from a separate hard disk that didn't get touched in the rebuild. No problem I say, I can still use my home system.

I use MS' SyncToy to sync my work system to a USB drive and then to my home system so that stuff doesn't get out of wack. This syncing includes syncing the directories that hold RM (I have both 1.78 and 1.79Beta)

Now I can't make it work on my home system as well. This is an iMac running Parallels desktop, Windows Vista.

When I start RemoteMaster, it tells me that it can't find the RDF files (there is no properties file, I can't sync that since the systems are different) I browse to the RDF directory that I've used for months and tell RM to get the RDF's there and then nothing happens. A properties file does not get created as a result of doing this.

This is the same behavior on my work laptop.


This is what comes up in the .err file:

Code: Select all


Adding to classpath: file:/C:/Users/Administrator/Desktop/JP1-Remote/Tools/Current/RemoteMaster/
Caught exception in RemoteMaster.main()!
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
	at java.lang.String.substring(Unknown Source)
	at com.hifiremote.jp1.Remote.<init>(Remote.java:31)
	at com.hifiremote.jp1.RemoteManager.loadRemotes(RemoteManager.java:57)
	at com.hifiremote.jp1.RemoteMaster.createAndShowGUI(RemoteMaster.java:837)
	at com.hifiremote.jp1.RemoteMaster.access$200(RemoteMaster.java:20)
	at com.hifiremote.jp1.RemoteMaster$3.run(RemoteMaster.java:884)
	at java.awt.event.InvocationEvent.dispatch(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)
any suggestions?

Posted: Sat Jul 28, 2007 8:43 pm
by gfb107
Looks like you've got an RDF file that doesn't have an openning or closing paren in the file name.

Posted: Sun Jul 29, 2007 1:26 pm
by unclemiltie
That was it!

Thanks, RM is now happily working again

Posted: Sun Jul 29, 2007 4:32 pm
by underquark
Ah, so it wasn't just me and it wasn't necessary to delete Java, do a system roll-back (Win XP), re-install Java, try running the RemoteMaster stand-alone executable, re-install RM etc. I'd been blaming Java 6.2 upgrade but it seems it might have been my messing about with the 8820 entender.

Posted: Sun Jul 29, 2007 6:55 pm
by unclemiltie
underquark wrote:Ah, so it wasn't just me and it wasn't necessary to delete Java, do a system roll-back (Win XP), re-install Java, try running the RemoteMaster stand-alone executable, re-install RM etc. I'd been blaming Java 6.2 upgrade but it seems it might have been my messing about with the 8820 entender.
Yup, same stuff got me. And I don't even have one of those remotes. I was just trying to figure out how to make extinstall deal with a JP1.x remote.


argh!

Posted: Sun Jul 29, 2007 7:07 pm
by vickyg2003
Oops! :oops:

Posted: Sun Jul 29, 2007 8:46 pm
by The Robman
So fess up then Vivky, what did you do! 8)

Posted: Sun Jul 29, 2007 9:10 pm
by vickyg2003
1A631A63 (URC_6820_8820_10820) Ext A.RDF

Should be named

1A63AA63 (URC_6820_8820_10820 Ext A).RDF

At least that's what I understand. :oops: It seems that those () are important. I was worried about breaking the remote, I didn't realize I could break RM.

Edited: Corrected

Posted: Sun Jul 29, 2007 10:05 pm
by Capn Trips
vickyg2003 wrote:1A631A63 (URC_6820_8820_10820) Ext A.RDF

Should be named

1A63AA63 (URC_689_8820_10820 Ext A).RDF

At least that's what I understand. :oops: It seems that those () are important. I was worried about breaking the remote, I didn't realize I could break RM.
HUH? :? :eek: :cry:

Posted: Mon Jul 30, 2007 4:13 am
by vickyg2003
1A63AA63 (URC_6820_8820_10820 Ext A).RDF

Boy was I tired when I got home from vacation.

Posted: Mon Jul 30, 2007 9:01 am
by underquark
Ah, it's all working again following the filename change. To get RC-6 working on my 8820 (non-extended) I had to change the protocols entry as suggested by binky123 in this posting. Not wishing to teach my granny to suck eggs (and not, of course in any way implying that you're a granny, not that grannies are bad things etc.) should the [Protocols] entry in 8820 Ext A follow suit vis-a-vis the "0058:2" part?

Code: Select all

[Protocols]
0000, 0002:5, 0006, 0007, 000A, 000C, 000D, 000E, 0011, 0013,
0014, 0015, 0018, 001A, 001B, 001C, 001D, 001E, 001F:8, 0021,
0022, 0027:new, 0029, 002A, 002D, 002F, 0032, 0034, 0039, 003A,
003D, 003F, 0045, 0046, 0056, 0058:2, 005A, 005B, 005C, 005D,
005E:2, 005F, 0060, 0061, 0065:2, 0067, 0068, 006A, 006E, 0073,
0078, 007E:3, 0083, 0087, 008D, 0092:3, 0093, 0098, 009C, 009E,
00A4, 00AF, 00B6, 00BE, 00C4, 00C9, 00CA, 00CD:2, 00CE, 00D0,
00D7, 00DB, 00DE, 00E2, 00E3, 00E7, 00E8, 00F0, 00F2, 00F5,
00F8:3, 00FC, 0103, 0109, 010C, 010E, 010F, 0111, 0114:2, 0115,
0117, 0118, 0119, 011A:2, 011B, 0125, 012A:2, 0161, 016D, 0174,
017E, 0182, 0184:2, 0186, 018B, 0190, 0194, 01A4 

Posted: Mon Jul 30, 2007 11:11 am
by vickyg2003
Good catch Underquark.

There are a few more changes as well. I updated my RDF when I changed the file name.

Binky had me update my list as follows.

[Protocols]
0000, 0002:5, 0006, 0007, 000A, 000C, 000D, 000E, 0011, 0013,
0014, 0015, 0018, 001A, 001B, 001C, 001D, 001E, 001F:8, 0021,
0022, 0027:new, 0029, 002A, 002D, 002F, 0032, 0034, 0039, 003A,
003D, 003F, 0045, 0046, 0056, 0058:2, 005A, 005B, 005C, 005D,
005E:2, 005F, 0060, 0061, 0065:2, 0067, 0068, 006A, 006E, 0073,
0078, 007E:3, 0083, 0087, 008D, 0092:3, 0093, 0098, 009C, 009E,
00A4, 00AF, 00B6, 00BE, 00C4, 00C9, 00CA, 00CD:2, 00CE, 00D0,
00D7, 00DB, 00DE, 00E2, 00E3, 00E7, 00E8, 00F0, 00F2, 00F5,
00F8:3, 00FC, 0103, 0109, 010C, 010E, 010F, 0111, 0114:2, 0115,
0117, 0118, 0119, 011A:2, 011B, 0125, 012A:2, 0161, 016D, 0174,
017E, 0182:2, 0184:2, 0186, 018B, 0190, 0194, 01A4

I've got to learn to use RM!