RMIR Xsight Support
Moderator: Moderators
ARRX18G error downloading from remote, raw download attached
Hi! I'm new to the forum and I am getting "Error downloading from remote" with my ARRX18G connected to RMIR. The dialog told me to do a raw download and post  to this forum, so here goes:
http://www.hifi-remote.com/forums/dload ... e_id=13348
I am connecting the ARRX18G via USB to my Windows 7 laptop, and running RMIR version "RemoteMaster v2.03 build 2". Do I need to do anything else to make this work?
			
			
									
						
										
						http://www.hifi-remote.com/forums/dload ... e_id=13348
I am connecting the ARRX18G via USB to my Windows 7 laptop, and running RMIR version "RemoteMaster v2.03 build 2". Do I need to do anything else to make this work?
Well, after a couple saves and reloads I'm getting "Error loading file" again. The last thing I did was close the program, it said something about saving changes, I didn't think I had made any but I clicked OK.
The remote seems to work OK, and downloading it still works and looks OK.
I will try to retrace my steps and see where it's still going wrong.
end of rmaster.err:
I did look at one of the device icons but didn't change it.
			
			
									
						
							The remote seems to work OK, and downloading it still works and looks OK.
I will try to retrace my steps and see where it's still going wrong.
end of rmaster.err:
Code: Select all
Icon at index 254 has start listed as ffffff but calculated as 71f
Icon at index 254 has size error
Icon at index 254 has unexpected transparency data
Error setting new RemoteConfiguration: null
java.util.concurrent.ExecutionException: java.lang.NegativeArraySizeException
	at java.util.concurrent.FutureTask.report(Unknown Source)
	at java.util.concurrent.FutureTask.get(Unknown Source)
	at javax.swing.SwingWorker.get(Unknown Source)
	at com.hifiremote.jp1.RemoteMaster$LoadTask.done(RemoteMaster.java:3000)
	at javax.swing.SwingWorker$5.run(Unknown Source)
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
	at sun.swing.AccumulativeRunnable.run(Unknown Source)
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
	at javax.swing.Timer.fireActionPerformed(Unknown Source)
	at javax.swing.Timer$DoPostEvent.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(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)
Caused by: java.lang.NegativeArraySizeException
	at java.awt.image.DataBufferInt.<init>(Unknown Source)
	at java.awt.image.Raster.createPackedRaster(Unknown Source)
	at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
	at java.awt.image.BufferedImage.<init>(Unknown Source)
	at com.hifiremote.jp1.RemoteConfiguration.loadFiles(RemoteConfiguration.java:756)
	at com.hifiremote.jp1.RemoteConfiguration.parse(RemoteConfiguration.java:187)
	at com.hifiremote.jp1.RemoteConfiguration.<init>(RemoteConfiguration.java:60)
	at com.hifiremote.jp1.RemoteMaster$LoadTask.doInBackground(RemoteMaster.java:2992)
	at com.hifiremote.jp1.RemoteMaster$LoadTask.doInBackground(RemoteMaster.java:1)
	at javax.swing.SwingWorker$1.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at javax.swing.SwingWorker.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
RemoteMaster.windowClosing() entered
URC-8820 x2, URC-10820N, Insignia NS-RC05A-11 x2, RCA RCRP05B, Potenza ST ADB, OARI06G, URC-7980, OARUSB04G, Nevo C2 x3, AOC 67100BA1-017-R, onn URC-3660, Insignia NS-RMTSNY17, IRWidget
			
						Got it: I replaced the upgrade under General, then double-clicked the icon checkbox, hit Cancel on the icon list, then saved. The when I closed the program it said changes weren't saved (sign of a problem) and I hit OK to save again. The resulting save is corrupted.
It doesn't happen if you look at the icon for the old device.
			
			
									
						
							It doesn't happen if you look at the icon for the old device.
URC-8820 x2, URC-10820N, Insignia NS-RC05A-11 x2, RCA RCRP05B, Potenza ST ADB, OARI06G, URC-7980, OARUSB04G, Nevo C2 x3, AOC 67100BA1-017-R, onn URC-3660, Insignia NS-RMTSNY17, IRWidget
			
						Edit: Withdrawn, see below.
			
			
													
					Last edited by MrMoody on Fri May 08, 2015 8:00 pm, edited 1 time in total.
									
			
						
							URC-8820 x2, URC-10820N, Insignia NS-RC05A-11 x2, RCA RCRP05B, Potenza ST ADB, OARI06G, URC-7980, OARUSB04G, Nevo C2 x3, AOC 67100BA1-017-R, onn URC-3660, Insignia NS-RMTSNY17, IRWidget
			
						I knew that. Double clicking wasn't working. The checkbox would disappear and a 0 would appear in its place. It works now after restarting. So since I can't reproduce it, don't worry about it. Hopefully it was just a side effect.mdavej wrote:Works fine. Double click, not single click.MrMoody wrote:Whenever you get back to it, favorites icons are also broken, can't check the box or bring up the dialog on new entries. No rush.
URC-8820 x2, URC-10820N, Insignia NS-RC05A-11 x2, RCA RCRP05B, Potenza ST ADB, OARI06G, URC-7980, OARUSB04G, Nevo C2 x3, AOC 67100BA1-017-R, onn URC-3660, Insignia NS-RMTSNY17, IRWidget
			
						@psyclops
It looks as if the Volume Up button on the DirecTV device was once assigned to a Vol+ signal on a device that has since been deleted. There is a residue from this assignment still left in your setup data that RMIR was unable to handle. I will post a revised version in the next few days that can identify this residue and ignore it.
@MrMoody
I have been unable to reproduce the corruption caused by looking at icons, despite following your detailed description of what caused it. However, you are using the Edit Device button for something I never envisaged. I had expected it to be used only to modify the functions or button assignments for an existing device, not to replace the upgrade in its entirety, so it is not surprising if something is amiss when you use it to do that. I am looking carefully into the code to try to sort out any issues I can see that might arise from such use, in the hope that this may resolve your problems.
If you wonder why the Open button is there if I did not expect it to be used with Edit Device, it is because the same screen opens when you edit a device from the Devices panel, where my expectation is that it would be used to add a new device, not to replace an existing one.
			
			
									
						
							It looks as if the Volume Up button on the DirecTV device was once assigned to a Vol+ signal on a device that has since been deleted. There is a residue from this assignment still left in your setup data that RMIR was unable to handle. I will post a revised version in the next few days that can identify this residue and ignore it.
@MrMoody
I have been unable to reproduce the corruption caused by looking at icons, despite following your detailed description of what caused it. However, you are using the Edit Device button for something I never envisaged. I had expected it to be used only to modify the functions or button assignments for an existing device, not to replace the upgrade in its entirety, so it is not surprising if something is amiss when you use it to do that. I am looking carefully into the code to try to sort out any issues I can see that might arise from such use, in the hope that this may resolve your problems.
If you wonder why the Open button is there if I did not expect it to be used with Edit Device, it is because the same screen opens when you edit a device from the Devices panel, where my expectation is that it would be used to add a new device, not to replace an existing one.
Graham
			
						Here is RMIR v2.03c, as before a .jar file to replace RemoteMaster.jar in v2.03 build 2.
@psyclops
This should load your .rmir file without problems.
@MrMoody
Since I was unable to reproduce the corruption you experienced when looking at icons, I have no idea whether or not this has solved your problem. However, it should be more reliable when editing upgrades, even when replacing one upgrade with another. I am hoping that your problem was a side effect of some other corruption that this version may have solved.
If you still get reproducible problems, please post all the files needed for me to reproduce them. As your earlier bugs were dependent on particular situations in your files, I suspect your more recent ones are, too.
			
			
									
						
							@psyclops
This should load your .rmir file without problems.
@MrMoody
Since I was unable to reproduce the corruption you experienced when looking at icons, I have no idea whether or not this has solved your problem. However, it should be more reliable when editing upgrades, even when replacing one upgrade with another. I am hoping that your problem was a side effect of some other corruption that this version may have solved.
If you still get reproducible problems, please post all the files needed for me to reproduce them. As your earlier bugs were dependent on particular situations in your files, I suspect your more recent ones are, too.
Graham
			
						OK, still getting corruption if I say yes to save a file it says has changed but hasn't.
http://www.hifi-remote.com/forums/dload ... e_id=13363
Just open this file in RMIR and then close RMIR. It will say changes have not been saved and if you click Yes to save, it overwrites the good file with one which is much too small (exactly 32k) and won't load. File/Save works fine.
Don't waste time on this next one until I can nail it down, but I've also had the icon dialog won't open again, but have been unable to reproduce it after reopening RMIR, I'm not sure what's causing it.
I hope I'm not irritating you too much with my uncanny ability to break this program.
			
			
									
						
							http://www.hifi-remote.com/forums/dload ... e_id=13363
Just open this file in RMIR and then close RMIR. It will say changes have not been saved and if you click Yes to save, it overwrites the good file with one which is much too small (exactly 32k) and won't load. File/Save works fine.
Don't waste time on this next one until I can nail it down, but I've also had the icon dialog won't open again, but have been unable to reproduce it after reopening RMIR, I'm not sure what's causing it.
I hope I'm not irritating you too much with my uncanny ability to break this program.
URC-8820 x2, URC-10820N, Insignia NS-RC05A-11 x2, RCA RCRP05B, Potenza ST ADB, OARI06G, URC-7980, OARUSB04G, Nevo C2 x3, AOC 67100BA1-017-R, onn URC-3660, Insignia NS-RMTSNY17, IRWidget
			
						This is weird. The first two times I opened and then saved the file you posted, I got your sort of corruption - message about data being changed, saved file was too small and would not load. Further attempts to repeat this behaviour have failed, though. I've unzipped your file again to make sure I am dealing with the right file, but it saves and re-opens OK. So for the moment I remain puzzled.MrMoody wrote:OK, still getting corruption if I say yes to save a file it says has changed but hasn't.
Graham
			
						That was me being stupid. The first two times I did what you said. The others I used Save, rather than closing the file, having forgotten you said that Save worked OK.mathdon wrote:This is weird. The first two times I opened and then saved the file you posted, I got your sort of corruption - message about data being changed, saved file was too small and would not load. Further attempts to repeat this behaviour have failed
I've tracked this down. The .rmir file of an XSight remote is sufficiently large that it takes a significant time to save. The window closes before the save is complete, resulting in a corrupted file. Now I've got to find a way round it. There isn't an issue about it saying the data has changed when it hasn't. The data structures in XSight remotes are so complex that there are many ways of storing the same setup. RMIR says changed if it has used a different one from that originally loaded. In case you don't realise it, RMIR analyses the data and then reconstructs the file for uploading/saving, even if the user hasn't edited the data, so the data can still change.
Graham
			
						Wow, that's pretty nasty (and by that I mean nasty behavior on the part of Java and/or Windows). I wonder what would happen if you closed the window while it was uploading to the remote? I'm not going to try it.
			
			
									
						
							URC-8820 x2, URC-10820N, Insignia NS-RC05A-11 x2, RCA RCRP05B, Potenza ST ADB, OARI06G, URC-7980, OARUSB04G, Nevo C2 x3, AOC 67100BA1-017-R, onn URC-3660, Insignia NS-RMTSNY17, IRWidget