[NSUserDefaults setObject:forKey:]: Attempt to insert non-property valu
Hi all
I have been writting classes at work in Xcode 4.? SL 10.6.8 and every thing has been working fine. When I bring a copy home to work on under Lion in Xcode 4.3.2 I get issues (Lots of them)
While I have solved or worked around most I am unsure why I am getting an error with my NSUserDefaults.
I have a method that I run in a singleton
+ (void)setSaveLocation : (NSString *) saveLocation
NSMutableDictionary * ccLogManagerDictionaryFromUserDefaults = [[NSMutableDictionary alloc] initWithDictionary:[[NSUserDefaults standardUserDefaults] valueForKey:@"CCLogManager"]];
[ccLogManagerDictionaryFromUserDefaults setObject:saveLocation forKey:@"Save Location"];
[[NSUserDefaults standardUserDefaults] setObject:ccLogManagerDictionaryFromUserDefaults forKey:@"CCLogManager"];
[ccLogManagerDictionaryFromUserDefaults release];
// Post a notification to inform other classes that the savelocation has changed
NSNotificationCenter *notification = [NSNotificationCenter defaultCenter];
[notification postNotificationName:@"CCLogManagerNotificationSaveLocation" object:self];
This worked fine before. The only change I have made is to the method in a different class that send the information :
- (IBAction)changeSaveLocation: (id)sender
NSOpenPanel* openDlg = [NSOpenPanel openPanel];
[openDlg setCanChooseFiles:NO];
[openDlg setCanChooseDirectories:YES];
if ( [openDlg runModal] == NSOKButton )
NSArray* files = [openDlg URLs];
int i;
for( i = 0; i < [files count]; i++ )
NSString* fileName = [files objectAtIndex:i];
[CCLogManager setSaveLocation:fileName];
I had to change two lines due to depreciation:
if ( [openDlg runModalForDirectory:nil file:nil] == NSOKButton )
and
NSArray* files = [openDlg filenames];
What I dont understand is that I am still passing a NSString as required. And if in the first method I simpy insert a @"" string like so
[ccLogManagerDictionaryFromUserDefaults setObject:
@"file://localhost/Volumes/MacPro%20RAID/Home%20Folder/Downloads/8-tileable-meta l-textures/" forKey:@"Save Location"];
Then it works
Any assistance would be most appreciated.
Cheers
Steve
Oh and the error is:
2012-06-14 22:41:31.843 ProControl[3630:403] *** -[NSUserDefaults setObject:forKey:]: Attempt to insert non-property value '{
"Logging Enabled" = 1;
"Save Location" = "file://localhost/Volumes/MacPro%20RAID/Home%20Folder/Downloads/8-tileable-meta l-textures/";
}' of class '__NSCFDictionary'. Note that dictionaries and arrays in property lists must also contain only property values.
And it don't save to the User Defaults.
Hi etresoft, thanks for the reply.
Do you mean the number 1 pertaining to "Loggining Enabled" = 1?
If so this should be a [NSNumber numberWithBool: YES] which is already in the userdefauts.plist. before copying the original dictionary.
The method save should be copying a dictionary from the .plist and only changing the dictionary entry for "Save Location" which is a NSString. It shouldn't be doing anything to the "Logging Enabled" entry which as I say should already be a NSNumber numberWithBool . Plus seeing as you can change the line
[ccLogManagerDictionaryFromUserDefaults setObject:saveLocation forKey:@"Save Location"];
to
[ccLogManagerDictionaryFromUserDefaults setObject:
@"file://localhost/Volumes/MacPro%20RAID/Home%20Folder/Downloads/8-tileable-meta l-textures/" forKey:@"Save Location"];
and still not touch the "Loggining Enabled" = 1 I don't that the 1 is an issue.
Sorry if I'm being dense.
Similar Messages
-
Debugging advice - attempt to insert nil value
Hello,
I have a program that gets its data from a lot of XML files.
When working on the XML files, if I do something wrong like, misspell a tag, or put a file that doesn't exists between the tags, or something like that, I often get this error.
iPhone_Comprehension[7991:207] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[NSCFDictionary setObject:forKey:]: attempt to insert nil value (key: TheFilename)'
Then it also gives some Stack information that I can't grok.
These are always tough for me to debug because I never know where in the XML file the mistake was made.
Is there an easier or more efficient way to identify the source of these errors? Or do I have to go through the XML file line by line until I discover my mistake?
Thanks for any help on this!
HarveyI'll tell you what I've done in the past....
When I'm working with a data file that suddenly brings down the tent, I split it up* (segments A & B) and try again.
If it works with segment A, you know that the cruft is in segment B.
Repeat the split (you now have A, B & C) and try with B. If it works you know the issue is within those 500 lines that represent C. You've just quickly eliminated 1500 lines you don't have to be concerned with. When you stop splitting/segmenting and start manually scanning again depends on your scanning skills.
I can read/scan 3000 words per minute - the size of my blocks actually depends on the size of the original file. *I really don't bother segmenting as a ts tactic until I get around 5k lines in a data file, so if the total is less, I'll just scan.
Now, of course, all of this assumes you've given up on undo's or backup files, etc. That part of coding discipline is another topic and at this point, I'm concluding you've decided that they don't work for your current issue(s). -
Attempt to insert nil key error
In my mail preferences, when I go to edit the outgoing server list, the drop down flicker a second but the window to edit the list never comes up. I checked the console log and get two of the messages pasted in below. Any ideas!?
9/2/10 7:27:29 AM Mail[84563] * -[NSCFDictionary setObject:forKey:]: attempt to insert nil key
Stack Trace: (
2438687984,
2534180076,
etc.Either one of these articles may assist you
Lion Server: When binding an Lion Open Directory Server using SSL, "Unable to add server" appears
http://support.apple.com/kb/TS3958
or
Mac OS X v10.7: Unable to connect to a Mac OS X v10.6 Open Directory Server
http://support.apple.com/kb/TS3861?viewlocale=en_US -
.mac sync error msg "attempt to insert nil value
I've been trying to reset .Mac sync, and I keep getting this error msg
*(NSCFDictionary setObject:forKey:]: attempt to insert nil value
what is this?A bug; probably the result of a corrupt schema. If you really want to wipe the slate clean you can get rid of ~/Library/Application Support/SyncServices/Local, but you should make sure you have a backup handy just in case you lose something you care about in the process.
-
Netboot gone haywire - "attempt to insert nil value"
I was happily NetBooting and re-imaging using DeployStudio, when everything went haywire. I was not getting any imaging done, and in the process of hunting down what went wrong all **** broke loose.
I have deleted all the NetBoot images from NetBootSP0 and copied a fresh image to that folder. I have tried to stop the NetBoot service in Server Admin, but the service now has a red triangle in it and I can stop nor start the service. When I start Server Admin, I get an error "A connection with a server or service was lost" and it then takes a while for Server Admin to connect to the server to get the services. NetBoot still has a red triangle.
The NetBoot service starts if I enter "serveradmin start netboot", but "serveradmin fullstatus netboot" reveals the following:
2008-10-14 09:25:18.105 serveradmin[18720] Exception in doCommand: * -[NSCFDictionary setObject:forKey:]: attempt to insert nil value
netboot:error = "NILRESPONSEERR (* -[NSCFDictionary setObject:forKey:]: attempt to insert nil value)"
I have restarted the server a couple of times over the weekend, but that has not helped.
Any help would be greatly appreciated.A helpful friend notified me of the following: The NBImageInfo.plist file can get corrupted. If the Name key is missing, the image will not be identified properly. I do not know exactly what the contents of the file should be, but when I added the Name key and restarted NetBoot, all was well.
-
Sync Services malfunction: attempt to insert nil
I've been using Entourage (Office 2008) and iCal for years, with calendar entries in Entourage syncing to iCal (and thence to my iPhone and back again).
Recently, the syncing process has gone haywire. By and large, Sync Services is only updating old calendar entries (2008 and earlier) into iCal. Some (but not all) repeating events get synced, so I see a handful of birthdays in 2011 and beyond in Cal. But nothing else more recent than 2008. It appears that the syncing process starts, but then aborts for reasons unknown.
The console log is chock full of Sync Services errors. The following is but a snippet.
9/30/11 9:56:11 AM iCalExternalSync[4950] [ICalExternalSync ]Encountered *** -[NSCFSet addObject:]: attempt to insert nil
9/30/11 9:56:11 AM com.apple.syncservices.SyncServer[4122] 2011-09-30 09:56:11.066 iCalExternalSync[4950:903] [ICalExternalSync ]Encountered *** -[NSCFSet addObject:]: attempt to insert nil
9/30/11 9:56:11 AM iCalExternalSync[4950] [ICalExternalSync ]#2 0x00007fff88e3e5d7 in +[NSException raise:format:arguments:] ()
#3 0x00007fff88e3e564 in +[NSException raise:format:] ()
#4 0x00007fff894ffe53 in -[NSCFSet addObject:] ()
#5 0x0000000100015eec in ?? ()
#6 0x000000010000fc7d in ?? ()
#7 0x00007fff83980457 in -[ISyncConcreteSessionDriver _pullPhaseOfSession] ()
#8 0x00007fff8397cf91 in -[ISyncConcreteSessionDriver _sync:] ()
#9 0x000000010000f0ec in ?? ()
#10 0x000000010001e9d0 in ?? ()
#11 0x0000000100001e50 in ?? ()
9/30/11 9:56:11 AM com.apple.syncservices.SyncServer[4122] 2011-09-30 09:56:11.257 iCalExternalSync[4950:903] [ICalExternalSync ]#2 0x00007fff88e3e5d7 in +[NSException raise:format:arguments:] ()
9/30/11 9:56:11 AM com.apple.syncservices.SyncServer[4122] #3 0x00007fff88e3e564 in +[NSException raise:format:] ()
9/30/11 9:56:11 AM com.apple.syncservices.SyncServer[4122] #4 0x00007fff894ffe53 in -[NSCFSet addObject:] ()
9/30/11 9:56:11 AM com.apple.syncservices.SyncServer[4122] #5 0x0000000100015eec in ?? ()
9/30/11 9:56:11 AM com.apple.syncservices.SyncServer[4122] #6 0x000000010000fc7d in ?? ()
9/30/11 9:56:11 AM com.apple.syncservices.SyncServer[4122] #7 0x00007fff83980457 in -[ISyncConcreteSessionDriver _pullPhaseOfSession] ()
9/30/11 9:56:11 AM com.apple.syncservices.SyncServer[4122] #8 0x00007fff8397cf91 in -[ISyncConcreteSessionDriver _sync:] ()
9/30/11 9:56:11 AM com.apple.syncservices.SyncServer[4122] #9 0x000000010000f0ec in ?? ()
9/30/11 9:56:11 AM com.apple.syncservices.SyncServer[4122] #10 0x000000010001e9d0 in ?? ()
9/30/11 9:56:11 AM com.apple.syncservices.SyncServer[4122] #11 0x0000000100001e50 in ?? ()
9/30/11 9:56:11 AM iCalExternalSync[4950] [ICalExternalSync ]NSException name:NSInvalidArgumentException reason:*** -[NSCFSet addObject:]: attempt to insert nil
9/30/11 9:56:11 AM com.apple.syncservices.SyncServer[4122] 2011-09-30 09:56:11.258 iCalExternalSync[4950:903] [ICalExternalSync ]NSException name:NSInvalidArgumentException reason:*** -[NSCFSet addObject:]: attempt to insert nil
9/30/11 9:56:32 AM iCalExternalSync[5076] [ICalExternalSync ]Another sync will be executed to insure the com.apple.ical.calendars.TaskOrder singleton is correct
9/30/11 9:56:32 AM com.apple.syncservices.SyncServer[4122] 2011-09-30 09:56:32.531 iCalExternalSync[5076:903] [ICalExternalSync ]Another sync will be executed to insure the com.apple.ical.calendars.TaskOrder singleton is correct
9/30/11 9:56:35 AM iCalExternalSync[5076] [ICalExternalSync ]Encountered *** -[NSCFSet addObject:]: attempt to insert nil
9/30/11 9:56:35 AM com.apple.syncservices.SyncServer[4122] 2011-09-30 09:56:35.319 iCalExternalSync[5076:903] [ICalExternalSync ]Encountered *** -[NSCFSet addObject:]: attempt to insert nil
The repeated messages about "attempt to insert nil" seems suspect, but I'm not sure what to do about it.
Syncservices is generating many megabytes of log files, starting a few days ago.
My troubleshooting so far:
reboot OSX
disable the Sync preference in Entourage ('Synchronize events and tasks'), and re-enable
quit/ relaunch Entourage (many times)
quit/relaunch iCal (many times)
rebuild the Entourage database (in case it had become corrupted)
delete the iCal prefs and database, per an article at http://www.office.mvps.org/syncservices/ical.html which said:Deleting these files should restore your default iCal calendars:
~/library/preferences/com.apple.iCal.AlarmScheduler.plist
~/library/preferences/com.apple.iCal.helper.plist
~/library/preferences/com.apple.iCal.plist
and delete the contents of
~/Library/Calendars/Calendar Cache
re-enable the Sync preference in Entourage. After doing so, The Entourage calendar in iCal reappeared, but once again, only really old calendar entries from Entourage were transferred over. Sync Services announced there was a large number of conflicts that needed to be resolved. I granted permission, but the listed events didn't appear.
I don't have MobileMe. I don't sync to Google Calendars or anything else.
My iPhone is now stranded - I don't dare sync it with iTunes as the calendar information which is in it will get clobbered.
Any ideas on how to restore proper syncing?OP reporting more information.
I used Time Machine to go back to last week when syncing was working, and restored all the sync-related files that I could find:
~/Library/Application Support/Calendars
~/Library/Application Support/iSync
~/Library/Application Support/SyncServices
~/Library/Application Support/iCal
~/Library/Application Support/PreferencesSync
~/Library/Preferences/iCal.plist
~/Library/Preferences/iSync.plist
This had the beneficial effect of restoring most of my event data from iCal into Entourage. (it's pretty much the view in iCal that I had last week). However, syncing is still not working. Any changes made to events on either side (Entourage or iCal) don't get synced across.
Every time SyncServices runs, it generates thousands of errors in the log. It seems to be logging in Debug mode, as if it knows there's something wrong. I've scanned through the logged messages, but nothing jumps out as being the cause of the non-syncing.
Perhaps I'll have to reinstall OSX from scratch :-( -
Error : FRM-41316: cannot set insert allowed property of disabled item
Hi Forum,
I have a requirement to making the following field non editable Ship Confirm Rule+ in Order Management-->"Release Sales Orders"-->"Shipping" tab
I tried to achieve this using form personalization using the below condition and action
Trigger Event - WHEN-NEW-ITEM-INSTANCE
Trigger Object - RELEASE.DOC_NAME
Condition - :RELEASE.PICKING_RULE is not NULL
Processing Mode - Both
Action Type - Property
Object Type - Item
Target Object - RELEASE.SHIPCONFIRM_RULE_NAME
Property Name - ENABLED
Value - FALSE
I could see the field becomes non editable but when i navigate to "Release Sales Orders"-->"Shipping" tab and press tab button on the field "Trip" I am getting the below error
FRM-41316: cannot set insert allowed property of disabled item RELEASE.SHIPCONFIRM_RULE_NAME
Even i have tried with the following Property Names set to " FALSE " but still the field is able to editable
ENTERABLE
ENTERABLE(APPLICATIONS COVER)
INSERT_ALLOWED
INSERT_ALLOWED(ITEM-INSTANCE)
UPDATE_ALLOWED
UPDATE_ALLOWED(ITEM-INSTANCE)
Please help me to resolve this issue.
Thanks in advance
Regards,
CSKHi Francoiq,
Thanks, As you advised I will post this in E-Business Suite
Regards,
CSK -
Custom Component: Instantiation attempted on a non-constructor.
Hi all, i've created an empty class that extends the Slider
control. it compiles fine, but when i run it, i get the following
error: Error #1007: Instantiation attempted on a non-constructor.
this is how i'm calling it:
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
xmlns:tix="com.tixsmart.flex.controls.*" >
<tix:SeekBar x="91" y="223" width="424"
height="11"/>Adobe Newsbot hopes that the following resources helps you.
NewsBot is experimental and any feedback (reply to this post) on
its utility will be appreciated:
Flex 3 - Metadata tags:
This MXML code generates an error because Flex cannot convert
the Strings ' abc ' and ' def ' to a Number. You insert the
[ArrayElementType] metadata tag
Link:
http://livedocs.adobe.com/flex/3/html/metadata_3.html
How to highlight the ticks ina slider - Flex India Community:
Apr 15, 2008 ... There was an error processing your request.
Please try again. Standard view View as tree ... I am new to Flex
and I have created a slider.
Link:
http://groups.google.com/group/flex_india/browse_thread/thread/f0f5b69c171ae859
[#SDK-11271] A Flash Container can only take a Flex container
as a:
See code: <?xml version='1.0'?> <!--
skins/PictureFrame.mxml --> <mx:Application xmlns:mx='
http://www.adobe.com/2006/mxml'
xmlns:myComps='*'>
Link:
http://bugs.adobe.com/jira/browse/SDK-11271
Slider and Text Input Issue - Flex India Community | Google
Groups:
Aug 7, 2008 ... following code is solution for ur problem
<?xml version='1.0' encoding='utf-8'?> <mx:Application
xmlns:mx='
http://www.adobe.com/2006/mxml'
Link:
http://groups.google.com/group/flex_india/browse_thread/thread/8bc9cccc3681711b?fwc=1
HSlider and VSlider controls -- Flex 2:
Flex provides two sliders: the HSlider (Horizontal Slider)
control, which creates ... <mx:Application xmlns:mx='
http://www.adobe.com/2006/mxml'>
<mx:HSlider
Link:
http://livedocs.adobe.com/flex/2/docs/00000542.html
Disclaimer: This response is generated automatically by the
Adobe NewsBot based on Adobe
Community
Engine. -
I received this error using apple IPAD version 7.1.2 connecting to cisco WiSM controller version 7.0.250. access point wireless setup using local-hreap.
below are the syslog messages.
: *mmListen: Aug 25 10:38:35.962: %APF-4-CREATE_PMK_CACHE_FAILED: apf_pmkcache.c:561 Attempt to insert PMK to the key cache failed. unable to insert a new entry in PMK cache list.Length: 32. Station:98:fe:94:90:70:ef
: *mmListen: Aug 25 10:38:35.962: %MM-4-PMKCACHE_ADD_FAILED: mm_listen.c:6479 Failed to create PMK/CCKM cache entry for station 98:fe:94:90:70:ef with update from controller
: *dot1xMsgTask: Aug 25 12:09:27.883: %DOT1X-3-MAX_EAP_RETRIES: 1x_auth_pae.c:3092 Max EAP identity request retries (3) exceeded for client 98:fe:94:90:70:ef
: *dot1xMsgTask: Aug 25 12:57:32.503: %DOT1X-3-MAX_EAP_RETRIES: 1x_auth_pae.c:3092 Max EAP identity request retries (3) exceeded for client 98:fe:94:90:70:efHi Ravi Rai,
I'm sorry to hear about the issue you are having with your Mac. If you are having hard freezes or restart issue that don't appear to be drive related, even after reinstalling Mavericks, you may want to try the troubleshooting steps outlined in the following article:
OS X: When your computer spontaneously restarts or displays "Your computer restarted because of a problem."
Regards,
- Brenden -
Attempt to unregister non-registered thread in the ContextProvider
Hi,
I am running the baseline graph on Endeca integrator 2.3. While running the baseline graph I am getting the following error
INFO [main] - *** CloverETL framework/transformation graph, (c) 2002-2012 Javlin a.s, released under GNU Lesser General Public License ***
INFO [main] - Running with CloverETL library version 3.2.1 build#63 compiled 04/01/2012 12:53:21
INFO [main] - Running on 4 CPU(s), OS Windows 7, architecture amd64, Java version 1.6.0_20, max available memory for JVM 1818624 KB
INFO [main] - Loading default properties from: defaultProperties
INFO [main] - Graph definition file: graph/Baseline.grf
INFO [main] - Graph revision: 1.127 Modified by: alsukuma Modified: Tue Jan 28 14:37:06 IST 2014
INFO [main] - Checking graph configuration...
INFO [main] - Graph configuration is valid.
INFO [main] - Graph initialization (Baseline)
INFO [main] - [Clover] Initializing phase: 0
INFO [main] - [Clover] phase: 0 initialized successfully.
INFO [main] - [Clover] Initializing phase: 1
INFO [main] - [Clover] phase: 1 initialized successfully.
INFO [main] - [Clover] Initializing phase: 2
INFO [main] - [Clover] phase: 2 initialized successfully.
INFO [main] - [Clover] Initializing phase: 3
INFO [main] - [Clover] phase: 3 initialized successfully.
INFO [main] - [Clover] Initializing phase: 4
INFO [main] - [Clover] phase: 4 initialized successfully.
INFO [main] - [Clover] Initializing phase: 5
INFO [main] - [Clover] phase: 5 initialized successfully.
INFO [main] - register MBean with name:org.jetel.graph.runtime:type=CLOVERJMX_1306871483270_0
INFO [WatchDog] - Starting up all nodes in phase [0]
INFO [WatchDog] - Successfully started all nodes in phase!
INFO [RUN_GRAPH1_0] - Running graph ./graph/admin/InitDataStore.grf in the same instance.
INFO [RUN_GRAPH1_0] - Checking graph configuration...
INFO [RUN_GRAPH1_0] - Graph configuration is valid.
INFO [RUN_GRAPH1_0] - Graph initialization (InitDataStore)
INFO [RUN_GRAPH1_0] - [Clover] Initializing phase: 0
INFO [RUN_GRAPH1_0] - Messenger configuration context loaded.
INFO [RUN_GRAPH1_0] - Axis2-specific client dispatcher established for service >control< based on WSDL document.
INFO [RUN_GRAPH1_0] - Axis2 modules engaged for client dispatcher.
INFO [RUN_GRAPH1_0] - WS-Policy expressions processed.
INFO [RUN_GRAPH1_0] - Message validation on request is disabled.
INFO [RUN_GRAPH1_0] - Message validation on response is disabled.
INFO [RUN_GRAPH1_0] - Asynchronous messenger initilized for operation '{http://www.endeca.com/endeca-server/control/1}control#controlPort#createDataStore'.
INFO [RUN_GRAPH1_0] - Messenger configuration context loaded.
INFO [RUN_GRAPH1_0] - Axis2-specific client dispatcher established for service >control< based on WSDL document.
INFO [RUN_GRAPH1_0] - Axis2 modules engaged for client dispatcher.
INFO [RUN_GRAPH1_0] - WS-Policy expressions processed.
INFO [RUN_GRAPH1_0] - Message validation on request is disabled.
INFO [RUN_GRAPH1_0] - Message validation on response is disabled.
INFO [RUN_GRAPH1_0] - Asynchronous messenger initilized for operation '{http://www.endeca.com/endeca-server/control/1}control#controlPort#dataStoreStatus'.
INFO [RUN_GRAPH1_0] - Messenger configuration context loaded.
INFO [RUN_GRAPH1_0] - Axis2-specific client dispatcher established for service >control< based on WSDL document.
INFO [RUN_GRAPH1_0] - Axis2 modules engaged for client dispatcher.
INFO [RUN_GRAPH1_0] - WS-Policy expressions processed.
INFO [RUN_GRAPH1_0] - Message validation on request is disabled.
INFO [RUN_GRAPH1_0] - Message validation on response is disabled.
INFO [RUN_GRAPH1_0] - Asynchronous messenger initilized for operation '{http://www.endeca.com/endeca-server/control/1}control#controlPort#startDataStore'.
INFO [RUN_GRAPH1_0] - Messenger configuration context loaded.
INFO [RUN_GRAPH1_0] - Axis2-specific client dispatcher established for service >control< based on WSDL document.
INFO [RUN_GRAPH1_0] - Axis2 modules engaged for client dispatcher.
INFO [RUN_GRAPH1_0] - WS-Policy expressions processed.
INFO [RUN_GRAPH1_0] - Message validation on request is disabled.
INFO [RUN_GRAPH1_0] - Message validation on response is disabled.
INFO [RUN_GRAPH1_0] - Asynchronous messenger initilized for operation '{http://www.endeca.com/endeca-server/control/1}control#controlPort#attachDataStore'.
INFO [RUN_GRAPH1_0] - [Clover] phase: 0 initialized successfully.
INFO [RUN_GRAPH1_0] - register MBean with name:org.jetel.graph.runtime:type=CLOVERJMX_1331002769234_805
INFO [WatchDog] - Starting up all nodes in phase [0]
INFO [WatchDog] - Successfully started all nodes in phase!
INFO [WatchDog] - [Clover] Post-execute phase finalization: 0
INFO [WatchDog] - [Clover] phase: 0 post-execute finalization successfully.
INFO [WatchDog] - ----------------------** Final tracking Log for phase [0] **---------------------
INFO [WatchDog] - Time: 28/01/14 14:38:04
INFO [WatchDog] - Node ID Port #Records #KB aRec/s aKB/s
INFO [WatchDog] - ---------------------------------------------------------------------------------
INFO [WatchDog] - Verify Data Store WEB_SERVICE_CLIENT1 FINISHED_OK
INFO [WatchDog] - %cpu:.. Out:0 0 0 0 0
INFO [WatchDog] - Out:1 1 0 0 0
INFO [WatchDog] - Check Fault Detail PARTITION1 FINISHED_OK
INFO [WatchDog] - %cpu:.. In:0 1 0 0 0
INFO [WatchDog] - Out:0 1 0 0 0
INFO [WatchDog] - Build WS Attach Req BUILD_WS_ATTACH_REQ FINISHED_OK
INFO [WatchDog] - %cpu:.. In:0 1 0 0 0
INFO [WatchDog] - Out:0 1 1 0 0
INFO [WatchDog] - Attach Data Store WEB_SERVICE_CLIENT3 FINISHED_OK
INFO [WatchDog] - %cpu:.. In:0 1 1 0 0
INFO [WatchDog] - Out:0 0 0 0 0
INFO [WatchDog] - Out:1 1 0 0 0
INFO [WatchDog] - Check Fault Detail PARTITION2 FINISHED_OK
INFO [WatchDog] - %cpu:.. In:0 1 0 0 0
INFO [WatchDog] - Out:0 0 0 0 0
INFO [WatchDog] - Out:1 1 0 0 0
INFO [WatchDog] - Do nothing TRASH0 FINISHED_OK
INFO [WatchDog] - %cpu:.. In:0 0 0 0 0
INFO [WatchDog] - In:1 0 0 0 0
INFO [WatchDog] - In:2 1 0 0 0
INFO [WatchDog] - Build WS Create Req BUILD_WS_CREATE_REQ FINISHED_OK
INFO [WatchDog] - %cpu:.. In:0 0 0 0 0
INFO [WatchDog] - Out:0 0 0 0 0
INFO [WatchDog] - Create Data Store WEB_SERVICE_CLIENT0 FINISHED_OK
INFO [WatchDog] - %cpu:.. In:0 0 0 0 0
INFO [WatchDog] - Check Response State CHECK_RESPONSE_STATE FINISHED_OK
INFO [WatchDog] - %cpu:.. In:0 0 0 0 0
INFO [WatchDog] - Out:0 0 0 0 0
INFO [WatchDog] - Out:1 0 0 0 0
INFO [WatchDog] - Start Data Store WEB_SERVICE_CLIENT2 FINISHED_OK
INFO [WatchDog] - %cpu:.. In:0 0 0 0 0
INFO [WatchDog] - ---------------------------------** End of Log **--------------------------------
INFO [WatchDog] - Execution of phase [0] successfully finished - elapsed time(sec): 0
INFO [WatchDog] - -----------------------** Summary of Phases execution **---------------------
INFO [WatchDog] - Phase# Finished Status RunTime(sec) MemoryAllocation(KB)
INFO [WatchDog] - 0 FINISHED_OK 0 34859
INFO [WatchDog] - ------------------------------** End of Summary **---------------------------
INFO [WatchDog] - WatchDog thread finished - total execution time: 0 (sec)
INFO [RUN_GRAPH1_0] - Running graph ./graph/config/LoadPreDataConfig.grf in the same instance.
INFO [RUN_GRAPH1_0] - Checking graph configuration...
INFO [RUN_GRAPH1_0] - Graph configuration is valid.
INFO [RUN_GRAPH1_0] - Graph initialization (LoadPreConfig)
INFO [RUN_GRAPH1_0] - [Clover] Initializing phase: 0
INFO [RUN_GRAPH1_0] - [Clover] phase: 0 initialized successfully.
INFO [RUN_GRAPH1_0] - [Clover] Initializing phase: 1
INFO [RUN_GRAPH1_0] - [Clover] phase: 1 initialized successfully.
INFO [RUN_GRAPH1_0] - [Clover] Initializing phase: 2
INFO [RUN_GRAPH1_0] - [Clover] phase: 2 initialized successfully.
INFO [RUN_GRAPH1_0] - register MBean with name:org.jetel.graph.runtime:type=CLOVERJMX_1338400039337_554
INFO [WatchDog] - Starting up all nodes in phase [0]
INFO [WatchDog] - Successfully started all nodes in phase!
INFO [RUN_GRAPH1_554] - Running graph ./graph/config/PreData/LoadInitialAttributes.grf in the same instance.
INFO [RUN_GRAPH1_554] - Checking graph configuration...
INFO [RUN_GRAPH1_554] - Graph configuration is valid.
INFO [RUN_GRAPH1_554] - Graph initialization (LoadConfiguration)
INFO [RUN_GRAPH1_554] - [Clover] Initializing phase: 0
INFO [RUN_GRAPH1_554] - Mapping type set to MAP_NAMES
INFO [RUN_GRAPH1_554] - Mapping type set to MAP_NAMES
WARN [RUN_GRAPH1_554] - WS messenger cleanup failed.
java.lang.NullPointerException
at org.apache.axis2.client.Stub.cleanup(Stub.java:134)
at com.opensys.cloveretl.component.WebServiceClient.free(Unknown Source)
at org.jetel.graph.Phase.free(Phase.java:487)
at org.jetel.graph.TransformationGraph.freeResources(TransformationGraph.java:681)
at org.jetel.graph.TransformationGraph.free(TransformationGraph.java:955)
at org.jetel.graph.runtime.PrimitiveAuthorityProxy.executeGraph(PrimitiveAuthorityProxy.java:149)
at org.jetel.component.RunGraph.runGraphThisInstance(RunGraph.java:511)
at org.jetel.component.RunGraph.runSingleGraph(RunGraph.java:409)
at org.jetel.component.RunGraph.execute(RunGraph.java:302)
at org.jetel.graph.Node.run(Node.java:414)
at java.lang.Thread.run(Thread.java:619)
./graph/config/PreData/LoadInitialAttributes.grf: Execution of graph failed! Error during graph initialization: Phase 0 can't be initilized.
WARN [RUN_GRAPH1_554] - Some graphs wasn't executed (because graph "./graph/config/PreData/LoadInitialAttributes.grf" finished with error).
WARN [RUN_GRAPH1_554] - Some graph(s) finished with error.
WARN [RUN_GRAPH1_554] - Attempt to unregister non-registered thread in the ContextProvider.
ERROR [WatchDog] - Graph execution finished with error
ERROR [WatchDog] - Node RUN_GRAPH1 finished with status: ERROR caused by: Graph './graph/config/PreData/LoadInitialAttributes.grf' failed!
ERROR [WatchDog] - Node RUN_GRAPH1 error details:
org.jetel.exception.JetelException: Graph './graph/config/PreData/LoadInitialAttributes.grf' failed!
at org.jetel.component.RunGraph.execute(RunGraph.java:324)
at org.jetel.graph.Node.run(Node.java:414)
at java.lang.Thread.run(Thread.java:619)
INFO [WatchDog] - [Clover] Post-execute phase finalization: 0
INFO [WatchDog] - [Clover] phase: 0 post-execute finalization successfully.
INFO [WatchDog] - Execution of phase [0] finished with error - elapsed time(sec): 0
ERROR [WatchDog] - !!! Phase finished with error - stopping graph run !!!
INFO [WatchDog] - -----------------------** Summary of Phases execution **---------------------
INFO [WatchDog] - Phase# Finished Status RunTime(sec) MemoryAllocation(KB)
INFO [WatchDog] - 0 ERROR 0 21549
INFO [WatchDog] - 1 N/A 0 0
INFO [WatchDog] - 2 N/A 0 0
INFO [WatchDog] - ------------------------------** End of Summary **---------------------------
INFO [WatchDog] - WatchDog thread finished - total execution time: 0 (sec)
./graph/config/LoadPreDataConfig.grf: Execution of graph failed! null
WARN [RUN_GRAPH1_0] - Some graphs wasn't executed (because graph "./graph/config/LoadPreDataConfig.grf" finished with error).
WARN [RUN_GRAPH1_0] - Some graph(s) finished with error.
WARN [RUN_GRAPH1_0] - Attempt to unregister non-registered thread in the ContextProvider.
ERROR [WatchDog] - Graph execution finished with error
ERROR [WatchDog] - Node RUN_GRAPH1 finished with status: ERROR caused by: Graph './graph/config/LoadPreDataConfig.grf' failed!
ERROR [WatchDog] - Node RUN_GRAPH1 error details:
org.jetel.exception.JetelException: Graph './graph/config/LoadPreDataConfig.grf' failed!
at org.jetel.component.RunGraph.execute(RunGraph.java:324)
at org.jetel.graph.Node.run(Node.java:414)
at java.lang.Thread.run(Thread.java:619)
INFO [WatchDog] - [Clover] Post-execute phase finalization: 0
INFO [WatchDog] - [Clover] phase: 0 post-execute finalization successfully.
INFO [WatchDog] - Execution of phase [0] finished with error - elapsed time(sec): 0
ERROR [WatchDog] - !!! Phase finished with error - stopping graph run !!!
INFO [WatchDog] - -----------------------** Summary of Phases execution **---------------------
INFO [WatchDog] - Phase# Finished Status RunTime(sec) MemoryAllocation(KB)
INFO [WatchDog] - 0 ERROR 0 21929
INFO [WatchDog] - 1 N/A 0 0
INFO [WatchDog] - 2 N/A 0 0
INFO [WatchDog] - 3 N/A 0 0
INFO [WatchDog] - 4 N/A 0 0
INFO [WatchDog] - 5 N/A 0 0
INFO [WatchDog] - ------------------------------** End of Summary **---------------------------
INFO [WatchDog] - WatchDog thread finished - total execution time: 0 (sec)
INFO [main] - Freeing graph resources.
ERROR [main] - Execution of graph failed !
Kindly help
Thanksjava.lang.NullPointerException
at org.apache.axis2.client.Stub.cleanup(Stub.java:134)
at com.opensys.cloveretl.component.WebServiceClient.free(Unknown Source)
It looks like there is a problem with your Web Services Client component. Check the configuration of this component.
RLJII -
Transient VO insert error-Attempting to insert row with no matching EO base
Hi ,
I have a transient Vo (created using option - rows populated programmatically, not based on Query) and I need to uptade/insert rows in vo on click of a button.
when i nsert row, i get following error
oracle.jbo.InvalidOperException: JBO-26020: Attempting to insert row with no matching EO base
This is what I am doing in my code
ViewObject vo2 = am.findViewObject("TransientVO1");
vo2.executeQuery();
if (vo2 == null) {System.out.println("vo2 is null");}
if (vo2 != null)
System.out.println("in vo2 != null");
Row row2 = vo2.createRow();
row2.setAttribute("PlatformName", "ss");
row2.setAttribute("UserName", "ss");
vo.insertRow(row2);
System.out.println(" vo2.getRowCount()"+ vo2.getRowCount());
Why is it saying no EO base... is it mandatory to have EO for transient VO? Please help.
ThanksThe EO handles all DML, hence you need it if you have to set attributes in a VO. An EO handles the storage of a the single row (or part if your VO consists of multiple tables).
You can try and overwrite the setter method of the attributes in ViewRowImpl class and store the changes somewhere else.
Timo -
Inserting non-serializable objects
Is there any way to insert non-serializable objects into a database? (Or to convert them to bytes?)
Is there any way to insert non-serializable objectsinto a database?
A joke right?No, it's not a joke. It would be a pretty bad one if it were.
Yes, there is a way. Create a table that corresponds
to the object where each attribute in the object
corresponds to field in the object. Add a unique key
if one doesn't exist.I wish it were that simple. I don't have access to those attributes...
>
To create an object insert a row into the table. To
load the object use the unique key to query for the
row. To 'delete' the object delete the row from the
table.BTW, the object in question is the java.awt.geom.Area object (http://java.sun.com/j2se/1.3/docs/api/java/awt/geom/Area.html ).
The only way I can think of to insert an object that doesn't map to a SQL type is to convert it to bytes through serialization, and insert it as RAW data.
I've extended Area to add a name and made my class serializable. However, since Area is not serializable, the only data I can retrieve after deserializing is the name I added (from my understanding of serialization, I have to save Area's data myself, but can't since I don't have access to it, so the deserialization process calls the Area() constructor which initializes the object to empty). -
Sybase Error 2601 Attempt to insert duplicate key row in object with unique
RE: Sybase Error 2601 Attempt to insert duplicate key row in object with unique index.
Hi Folks,
I'm getting the following error whilst executing a stored procedure in Sybase.
ERROR: Sybase Error 2601 Attempt to insert duplicate key row in object with unique index.
I understand that duplicate values have been inserted into a column that has a unique constraint.
I just can't figure out how to rectify the problem.
Your help will be greatly appreciated!
Many thanks in advance.If the value I'm trying to insert (using update)
already exists in the unique-value field then the DB
refuses to update the field.
If the value is different it will update.Are you trying to insert or update in SQL (identified by the keyword INSERT or UPDATE respectively)?
Even in case of an UPDATE query, if you are going to update the values of some columns to violate the unique constraints, the update will not succeed and you will get the error message.
or is it?
it tries to create a new row, but can't because there
is another row with the same unique-values.
If this is the case, I am only trying to update and
not create a new item.To put it in simpler words, if you have a set of values defining the uniqueness of a record, you cannot insert another record with the same set of unique values. Similarly, you cannot update an existing record by modifying the set to conflict with another set of unique values which already exist in the database.
Suppose there are two columns A and B defining the uniqueness of the record and you have only two records at the moment like -
A B
========
1 1
2 1
If you try to insert a record with A = 1 and B = 1, it will fail because a record already exists. You cannot violate uniqueness because the database has already been told that there will be only one record for any given combination of A and B.
Similarly, if you try to update the second record from A = 2 to A = 1, the end result would be A =1 and B = 1. There is already a record with that set of values and this will result in a violation of the uniqueness. So, this update will also be disallowed. On the other hand, if you try to update B to some value, say 3, there is no problem in doing so.
For convenience, you can imagine an UPDATE operation to be equivalent to DELETE + INSERT operation, though it doesn't necessarily work the same way internally.
I hope I was clear enough. -
JBO-26020: Attempting to insert row with no matching EO base
Hi All,
I have a bit of a problem here. The following is some background information. Please help if possible.
Aim: I have a custom application whereby I need to add the sequence value (assuming the sequence.nextval is already taken and stored into a variable/original table) to my custom table.
Procedures taken: I have found the EO which gets the sequence value for the original application and the VO that gets the EO. I have added both EO and VO to my project and tried to add the VO to my custom AM. In my custom AM I have added the following code to initialize the create function of the standard EO:
**********CODE******************
OAViewObject vo3 = (OAViewObject)getRegRequestsVO1();
if (!vo3.isPreparedForExecution())
vo3.executeQuery();
Row row = vo.createRow();
vo3.insertRow(row);
row3.setNewRowState(Row.STATUS_INITIALIZED);
Problem: However when I use the code vo3.insertRow(row); it prompts me with the applicaiton error of JBO-26020: Attempting to insert row with no matching EO base. I don't quite understand what I am doing wrong.
Can anyone please help.
CheersThis i have find out .
FYI...
JBO-26020: InvalidOperException
Cause: The application code tried to take a row from one row set (or view object) and insert it into another row set (view object). In response, the framework will make a "copy" of the row in the new row set. This new row will share references to the underlying entity objects. However, if the source and destination row sets do not share any entity object bases at all, this operation will fail as it does not find any entity rows to share.
Action: When attempting to take a row from one row set and insert into another, make sure that they share at least one entity object base.
Thanks -
TypeError: Error #1007: Instantiation attempted on a non-constructor.
So I am trying out Flex 4 and started so by creating a basic class that extends the spark.components.Application class.
package
import spark.components.Application;
public class SimpleApp extends Application
public function SimpleApp():void
super();
It compiles time but at runtime I am getting this error:
TypeError: Error #1007: Instantiation attempted on a non-constructor.
at mx.preloaders::Preloader/initialize()
at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::initialize()
at mx.managers::SystemManager/initHandler()
Anyone have any insight into this? I found this http://forums.adobe.com/message/2724794 but it doesn't really seem to be a whole lot of help in my case.K so I just setup a simple mxml file for it
<?xml version="1.0"?>
<sa:SimpleApp xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:sa="com.simpleapp.*" />
Now it seems to be happy. Thanks.
Maybe you are looking for
-
I want to move voice memos from iPhone to PC (not just sync to itunes)
Hi, I want to move voice memos from my iPhone to Windows desktop. I saw several posts about syncing them to iTunes. Thats not what i want. I want to copy them to my desktop not just sync to iTunes. Unable to copy - paste from iTunes either.
-
Oracle 10G Express:Unable To open DataBase Home Page
I am not able to open Database Home page. http://127.0.0.1:8040/apex I verified the below steps: 1.OracleListener and Service are starting up fine. C:\oraclexe\app\oracle\product\10.2.0\server\BIN>net start OracleXETNSListener The OracleXETNSListener
-
How to get iTunes connect to iPod after you verified your account on line
I need help to get my account that I created on the website to work On my iPods iTunes settings
-
We need 3 seats for adobe creative suite cloud
How much is three seats and ALSO we run 2 intel imacs running 10.6 plus an older G5 running 10.4 is this an issue ? currently running CS4 on ALL of them
-
SharePoints_backup crashes after snow leopard upgrade
Aug 30 11:50:23 mini sharePoints_backup[22671]: * Terminating app due to uncaught exception 'NSRangeException', reason: '* -[NSCFString substringToIndex:]: Range or index out of bounds'\n* Call stack at first throw:\n(\n 0 CoreFoundation 0x00007fff81