Page 1 of 1

RemoteMaster V2.02 failed to load extender

Posted: Sat Feb 25, 2012 4:12 am
by Anthony_Patrick
Some Test Results for RemoteMaster V2.02 Beta 1.5q
==========================================
RemoteMaster V2.02 Beta 1.5q failed to load extender 6012-2K-3.hex for URC-8017B00-2K - NullPointerException

Error Log is here.

Major Edit Follows:

=======================================
More Test Results for RemoteMaster V2.02 Beta 1.5q
=======================================
==================================================================================
the Remote ................................ the Extender ............................. the Result ..............................................................
==================================================================================
Titan URC-2056ISX JP1.4 .......... (none available yet) ................. No Issues
Comcast 1067Bx3 JP1.3 ............ 3A39ext-notes.hex (v1.02) ...... No Issues
Atlas URC-11055 JP1.3 .............. 3A33ext-notes.hex (v2.13) ...... No Issues
OFA-OARP05S JP1.3 ................... 3A79ext-notes.hex (v1.05) ...... No Issues (this is an RCA-RCRP05B in an OFA suit)
URC-8017B00-2K ....................... 6012-2K-3.hex ..... (ext 3) ....... Extender failed to merge - used workaround.
URC-8910B02-2k ....................... 8910ex1.hex ........ (v1.2) ........ Extender failed to merge - used workaround.
Kameleon URC-9962-2k ............. 9960ex2.hex ........ (v2) ........... Extender failed to merge - used workaround.
Millenium 4 -B04 ....................... (none available) ........................ No Issues

Workaround (at least until the RMIR issued can be resolved):
1. Using RMIR, save the remote configuration as an ".ir" file.
2. Merge the extender using IR, then save the new ".ir" file. (using v2.1 of ExtInstall.exe)
3. Using RMIR, open the ".ir" file created at step 2.
4. Continue configuring the remote, and save the setup as a regular ".rmir" file.
5. Continue using the regular ".rmir" file with RMIR, everything seems to work after the successful extender merge.

Note: When using an "OEM" image of the remote (no keymoves, no macros, and no device upgrades loaded), RMIR (and ExtInstall.jar) works fine for all the remotes listed above.

End Major Edit

Posted: Sun Feb 26, 2012 3:49 am
by mathdon
Just to say I have noted this but I've no time to look into the ExtInstall capability in RMIR at present. Without looking at anything in detail, the bug could be in RMIR itself or in the Java port of ExtInstall that RMIR incorporates as a library. The start of the error log is

Code: Select all

java.lang.NullPointerException
	at com.hifiremote.jp1.extinstall.IrHexConfig.PostAdvList(IrHexConfig.java:352)
The IrHexConfig class is in the ExtInstall port, which suggests the issue lies there, but it could be a problem with the supplied arguments to the PostAdvList function. Greg did the ExtInstall port, I did the incorporation into RMIR, so it is not even clear who is responsible :) .

Posted: Sun Feb 26, 2012 4:01 am
by mathdon
Anthony, you could help greatly if you could test the merge with ExtInstall.jar in command line mode. That would determine whether the issue lies with RMIR or the Java port itself.

Posted: Mon Feb 27, 2012 4:37 am
by Anthony_Patrick
mathdon wrote:Anthony, you could help greatly if you could test the merge with ExtInstall.jar in command line mode. That would determine whether the issue lies with RMIR or the Java port itself.
I ran the test you asked for. Here is the test result:

C:\Users\Tony\JP1\My Remotes\URC8017>dir
Volume in drive C is HP
Volume Serial Number is D01B-0015

Directory of C:\Users\Tony\JP1\My Remotes\URC8017

2012-02-27 02:27 AM <DIR> .
2012-02-27 02:27 AM <DIR> ..
2011-10-23 08:36 PM 2,585 6012-2K-3.hex
2011-07-20 08:56 PM 4,991 6_806_80 (URC-881x_801x_601x 1k).rdf
2011-07-20 08:56 PM 4,977 6_806_80 (URC-881x_801x_601x).rdf
2011-07-20 08:56 PM 5,007 6_80_2x2 (URC-881x_801x_601x x2 2k).rdf
2011-07-20 08:56 PM 5,285 6_80_2x3 (URC-881x_801x_601x x3 2K).rdf
2012-02-27 01:43 AM 62,708 ExtInstall.jar
2012-02-27 02:29 AM 109 extit.bat
2012-02-27 02:25 AM <DIR> Holding
2012-02-27 02:27 AM 9,582 URC-8017.ir
8 File(s) 95,244 bytes
3 Dir(s) 439,451,332,608 bytes free

C:\Users\Tony\JP1\My Remotes\URC8017>type extit.bat
"C:\Program Files (x86)\Java\jre6\bin\java.exe" -jar ExtInstall.jar 6012-2K-3.hex URC-8017.ir URC-8017ex.ir

C:\Users\Tony\JP1\My Remotes\URC8017>extit.bat

C:\Users\Tony\JP1\My Remotes\URC8017>"C:\Program Files (x86)\Java\jre6\bin\java.exe" -jar ExtInstall.jar 6012-2K-3.hex URC-8017.ir URC-8017ex.ir
Java ExtInstall, version Alpha 0.2
Loading 6012-2K-3.hex data and comments

Loading URC-8017.ir data and comments

Exception in thread "main" java.lang.NullPointerException
at com.hifiremote.jp1.extinstall.IrHexConfig.PostAdvList(IrHexConfig.java:352)
at com.hifiremote.jp1.extinstall.ExtInstall.install(ExtInstall.java:172)

at com.hifiremote.jp1.extinstall.ExtInstall.main(ExtInstall.java:74)

C:\Users\Tony\JP1\My Remotes\URC8017>

BTW:
My URC8017 has a 2K memory in it.
I also did a little more testing - when I run an "OEM" image of my remote (no keymoves, no macros, and no device upgrades loaded), both the ExtInstall.jar and RMIR work fine...
Hope this helps...

Posted: Tue Feb 28, 2012 11:47 am
by mathdon
Thanks, Tony. That confirms my suspicion that the problem with RMIR extender loading lies with the Java port of ExtInstall itself rather than with its incorporation into RMIR.

Greg did that Java port so it would be best if he has time to look into it. Otherwise I will do so, but I haven't the time to do it straight away.

Posted: Wed Feb 29, 2012 12:54 am
by Anthony_Patrick
Glad to help. Let me know when you want me to do more testing. The first post in this thread lists the remotes that I have to test with (even though I had to dust some of them off :D ).

I've now totally switched over to using the beta version of RMIR for configuring my remotes (and RemoteMaster for device setups). Other than the problems with not being able to directly use RMIR to load extenders in the older remotes, everything seems to be working. I really like this new version and see no compelling reason to go back to IR and KM. Looking forward to full-featured JP1.4 / JP2 support. :D :D :D

Posted: Wed Mar 07, 2012 1:31 pm
by mathdon
mathdon wrote:Thanks, Tony. That confirms my suspicion that the problem with RMIR extender loading lies with the Java port of ExtInstall itself rather than with its incorporation into RMIR.

Greg did that Java port so it would be best if he has time to look into it. Otherwise I will do so, but I haven't the time to do it straight away.
Tony, I would now like to look into this. Could you post the files that created this error, so that I can reproduce it?

Posted: Thu Mar 08, 2012 3:08 am
by Anthony_Patrick
mathdon wrote:
mathdon wrote:Thanks, Tony. That confirms my suspicion that the problem with RMIR extender loading lies with the Java port of ExtInstall itself rather than with its incorporation into RMIR.

Greg did that Java port so it would be best if he has time to look into it. Otherwise I will do so, but I haven't the time to do it straight away.
Tony, I would now like to look into this. Could you post the files that created this error, so that I can reproduce it?
OK, I have uploaded the offending files. You can find them here.

Posted: Thu Mar 08, 2012 1:43 pm
by mathdon
I believe that this bug is fixed in RM/RMIR v2.02 Beta 1.5r. Please try it and report here.

Posted: Thu Mar 08, 2012 2:09 pm
by Anthony_Patrick
mathdon wrote:I believe that this bug is fixed in RM/RMIR v2.02 Beta 1.5r. Please try it and report here.
=================================
Test Results for RemoteMaster V2.02 Beta 1.5r
=================================
==================================================================================
the Remote ................................ the Extender ............................. the Result ..............................................................
==================================================================================
Titan URC-2056ISX JP1.4 .......... (none available yet) ................. No Issues
Comcast 1067Bx3 JP1.3 ............ 3A39ext-notes.hex (v1.02) ...... No Issues
Atlas URC-11055 JP1.3 .............. 3A33ext-notes.hex (v2.13) ...... No Issues
OFA-OARP05S JP1.3 ................... 3A79ext-notes.hex (v1.05) ...... No Issues (this is an RCA-RCRP05B in an OFA suit)
URC-8017B00-2K ....................... 6012-2K-3.hex ..... (ext 3) ........ Now works
URC-8910B02-2k ....................... 8910ex1.hex ........ (v1.2) ......... Now works
Kameleon URC-9962-2k ............. 9960ex2.hex ........ (v2) ........... Now works
Millenium 4 -B04 ....................... (none available) ........................ No Issues


Everything seems to be working now (at least on the set of remotes and devices that I have). Please let me know if you want me to test anything else as you develop RemoteMaster. Thanks for this, the new version of RemoteMaster is outstanding! :) :) :)