View Full Version : Error "Object reference not set to an instance of an ob
automator
October 2nd, 2005, 06:27 AM
Hello NetRemote-Team and -friends
First let me congratulate to the great netremote-software. I'm very lucky about the possibilities of this software... :lol:
But know my question:
I know, i'm not the first user with this problem, but the other posts couldn't solve my problem yet.
When I start the Netremote designer then i get the following error:
"Object reference not set to an instance of an object" ( english translation).
Attached is the designer.log.
I m use a registered Version (1.1.0.44) of Netremote Pro +IR.
The designer is installed on the same pc like netremote but in a another directory .
I have tried to start the designer with the new new-pro_480x640.ccf and with the older skin "nrpro.ccf" from NR-Version 1.1.0.38. But no way, it' allways the same error.
I'm also use girder in version 3.2 together with IR-trans.
Perhaps someone have any ideas or experiences with this error ???
The use of tonto with the new skins (1.1.0.44) isn't very intuitively, so i hope soon to use NR-Designer.... :)
Many thanks for any help...
automator
Ben S
October 3rd, 2005, 07:39 PM
I'm not sure why this is happening to some people (it doesn't happen here in the lab), but nonetheless I have a workaround which I will be posting shortly.
automator
October 4th, 2005, 11:44 AM
Hi Ben,
thanks for your reply and your help.
I have also installed the NR Designer on an another PC unfortunately with the same error.... :(
regards
automator
Ben S
October 4th, 2005, 12:07 PM
Did you try the new version posted last evening? It should correct this issue.
automator
October 4th, 2005, 01:02 PM
I have installed the new version of NR Designer.
But nothing has changed.... here is the Log:
Connecting to NetRemote object
Creating CoNetRemoteHelper
Creating CoNetRemote
Getting Namespace
Getting plugins
Getting configuration from registry
Creating ElementProperties reusable window
There was an uncaught exception initializing the application
Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. at com.promixis.Controls.ActionDesignerControl.LoadPl uginTree()
at com.promixis.Forms.ElementProperties..ctor(NRIEdit orControl parent)
at com.promixis.Controls.NRIEditorControl..ctor(NRIEd itorForm parent)
at com.promixis.Forms.NRIEditorForm.OpenFile(String filename)
at com.promixis.Forms.NRIEditorForm..ctor()
at com.promixis.Forms.NRIEditorForm.Main(String[] argv)
At least the following errors did not arise any longer:
Error adding plugin action to action list : System.ArgumentException: Das Element wurde bereits hinzugefügt. Schlüssel im Wörterbuch: "1.8" Hinzuzufügender Schlüssel: "1.8"
at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
at System.Collections.Hashtable.Add(Object key, Object value)
at com.promixis.NetRemotePluginWrapper..ctor(INetRemo tePlugin plugin, Int32 id[/code]
regards
harald
Ben S
October 4th, 2005, 01:08 PM
Can you please export and send me the contents of your HKEY_CURRENT_USER\Software\NetRemote registry entry, as well as tell me what files are in your plugin directory?
I'm assuming Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt is something about the object being null, right?
automator
October 4th, 2005, 01:31 PM
Hi Ben,
>I'm assuming Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt is something about the object being null, right?
The english translation is:
"Object reference not set to an instance of an object."
I think that means an invalid pointer ( i.e. reference).
Attached you find the registry-key.
these are the files in the
C:\Programme\NetRemote\plugins- Directory:
drv_avidutils.dll
drv_generic.dll
drv_girder.dll
drv_ir.dll
drv_mediabridge.dll
drv_nrbasic.dll
drv_webbrowser.dll
drv_wol.dll
drv_zoom.dll
I hope i could help you...
regards
harald
Ben S
October 4th, 2005, 10:32 PM
Okay Harald. Let us diagnose and we'll get back to you.
Thanks!
tmorten
October 5th, 2005, 06:04 PM
I've encountered this editing an existing CCF. The error started occurring when I deleted some existing page groups from the CCF. If I revert to a previous version of the CCF (which still has those page groups), everything seems to work OK.
tmorten
October 5th, 2005, 06:12 PM
Problem solved in my case: Deleting the pages didn't cause the open instance of those pages to close. Once I closed those tabs, life was good again :). Probably not helpful for the instances that others are seeing, but still something worth fixing.
Cheers,
Tim
Ben S
October 5th, 2005, 08:18 PM
Tim - is this with the new version? This is an error we corrected a few versions ago (or at least we thought).
Automator - Please try 0.9.6 (just uploaded), it has better exception handling around the loading of plugin actions. Please delete your NRDesigner.log before running, and then after running please post your NRDesigner.log here again.
automator
October 7th, 2005, 04:11 PM
Ben,
first the good news: the designer starts in version 0.9.7 but the log contain the error
further...
here is my Designer.log:
Connecting to NetRemote object
Creating CoNetRemoteHelper
Creating CoNetRemote
Getting Namespace
Getting plugins
Getting configuration from registry
Creating ElementProperties reusable window
Error adding Action nodes to Tree for Girder : System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
at com.promixis.Controls.ActionDesignerControl.LoadPl uginTree()
Creating ImagePicker reusable window
regards
harald
Ben S
October 9th, 2005, 08:19 PM
Can you tell me what you see in the Action designer now under the Girder node?
automator
October 10th, 2005, 04:04 PM
Hello Ben,
i have attached the girder node as a zipped hardcopy. There are some deprecated Actions, the other entries looks fine...
Regards
Harald
Ben S
October 10th, 2005, 09:43 PM
Thanks. I see the problem now, and can replicate. Will fix shortly.
Just a question - the GML you have in G3, is it your own custom one, or a default from somewhere?
Thanks!
automator
October 11th, 2005, 02:26 PM
>Just a question - the GML you have in G3, is it your own custom one, or a default from somewhere?
No it's my own. I'm using IRTrans as a USB IR Send and Receive hardware. For that i configured a many EventStrings for the Internet Event Server Plugin. Please tell me when you need the .gml for debugging...
Regards
Harald
Ben S
October 11th, 2005, 02:31 PM
Yes, could you please send it to me? Thanks!
automator
October 11th, 2005, 03:00 PM
OK, here it is...
Ben S
October 15th, 2005, 09:41 AM
Interesting. Is that the CCF that loads automatically in G3? It loads fine here.
mclark
November 5th, 2005, 12:22 PM
I had this problem also with .9.9.10. I took the "JLee_mod by 2re.ccf" from your site, and tried to change 'Sky' to 'Dish', and 'Lights' to 'Tivo'. After making changes I tried to save the file and got this error. No matter what I did I could not get rid of it. Finally, I deleted EVERYTHING from the CCF. All I had left in the left-hand pane was an empty 'masterTemplate', 'deviceTemplate' and 'macroTemplate', and a totally empty 'Page Groups'. I then tried to save that. I still got the error with the totally blank file.
mclark
November 6th, 2005, 08:06 PM
If you want an easy way to recreate the problem I had, I tried it again, and here's all I had to do to make it happen:
1) Get 'JLee v2.5_VGA mod by 2re' from your download site - http://www.promixis.com/download.php?ID=666
2) Get Carlton Bale's 'Philips ProntoPro TSU6000 CCF file' - http://www.carltonbale.com/ht/pronto/CarltonBale6000v8.zip
3) Copy 'DirecTivo' page from Carlton Bale CCF to JLee CCF
4) Try to save JLee CCF. Get error.
Ben S
November 7th, 2005, 09:13 AM
Thanks! We'll replicate and fix for the next prerelease.
mclark
November 9th, 2005, 08:32 AM
Any word on this? I'd like to try again to test it out.
Ben S
November 11th, 2005, 06:05 AM
None yet. Still investigating. Sorry for the delay.
Ben S
November 17th, 2005, 08:11 PM
Okay. We have found the problem. Copying a button/element/page/page group that has aliases in it causes this problem. Removing the alias actions will correct it, but we're in trying to find another solution.
Ben S
November 17th, 2005, 09:00 PM
Okay. It will attempt to keep aliases of items that are copied, but items that alias items from other page groups will be dropped.
We're going through a few tests now, and will post the new release in the morning.
Ginsonic
April 24th, 2006, 06:06 AM
Hmmh, very old thread, but actual problem for me.
I installed latest versions of NRD and NR2.0 under Windows2000 on my office PC. When I try to copy any button or frame (with and without aliases) between to different CCF, the message, which is title of this thread appears and saving is no longer possible. NR seems to have crashed (not responding anymore), the ".ccf.new" file is corrupted.
Any ideas about that :cry: ?
Dieter
Ginsonic
April 24th, 2006, 10:56 AM
The same here on my home PC under XP Home (new installation). Created two new CCF and tried to copy one button from one CCF to the other. Same error :( !
Ben S
April 24th, 2006, 12:04 PM
Can you send me both CCFs so I can attempt to replicate / resolve?
Ginsonic
April 24th, 2006, 02:10 PM
Hi Ben,
Many thanks ! I only created two empty CCFs (e.g. 1.ccf, 2.ccf) then created one new button (empty one without any action or graphics) in 2.CCF and saved it. Then copied this button, changed to 1.CCF and pasted. Then the error appeared, there is no need for special CCFs.
BUT: I just found the reason, when this happens for me :D ! It only happens, if the CCFs are in file format "NRD 1.1" ! Everything is OK when in "NRD 1.0". Maybe You can find something.
Dieter
Ben S
April 24th, 2006, 08:49 PM
Thanks Dieter. This helps.
Ginsonic
April 25th, 2006, 01:13 AM
ben,
New discovery :o . It crashes, if destination CCF is 1.1, if it is 1.0, all goes right. Version of source CCF is irrelevant.
Dieter
Ben S
April 25th, 2006, 05:32 AM
Yep, it's related to the new font stuff.
I'm having a (pretty big) problem with other sections when saving a new CCF. I'm trying to resolve and then will release.
Apologies for the delay.
Ginsonic
April 25th, 2006, 06:02 AM
Great, that You could locate it. I am continuing with NRD format version 1.0 meanwhile.
Dieter
Mastiff
October 14th, 2006, 03:26 AM
Talk about reviving an old thread! But I have this problem after half an hour or so of work on my main PPC CCF, and I think I have wasted that time. Trying to save or even save with another name gives me that error. It's not copying between CCF's, I did that, but even deleting those page groups doesn't change anything. Any ideas on what I am facing? Anyway it made the NetRemote instance I was working with crash and dissappear. Another thing: The last saved version was before I pasted the page group from the other CCF. So maybe the error still lasts even if that page group is removed?
Ben S
October 15th, 2006, 09:14 PM
Hi Mastiff - Sorry for the trouble. We'll investigate.
Mastiff
October 16th, 2006, 01:52 AM
And when we're at it, there's a weird thing: If I copy a frame with buttons on it from one CCF page to another (or even from one CCF to another) it's impossible to select any of the individual buttons by clicking on them. I have to close and re-open the CCF to be able to do that.
Rob H
October 16th, 2006, 02:08 AM
Actually, I found this one myself yesterday. :D
It's weirder than you think. If you do this, then have the 'source' page open in NRD but select the copied button in the tree then the marching ants highlight will appear in the source page but at the location of the button in the new page!
Something is clearly not being updated correctly when the frame is copied.
emery
October 27th, 2006, 08:32 PM
Having the same issue. I made just a simple jump between pages and upon exiting Designer, it crashes. I am saving in format 1.0 because that is the only option I get. (and I am paid up and registered).
Running Netremote 1.1.044
Designer 1.1.0.40
Girder 4.0.14
Could be I'm messing this up on some setting I have not figured out yet, but after a fresh install, nothing touched, it still occurs.
Any suggestions are appreciated.
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.