The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or
I have taken the cfdump for tmpqry and it shows all data for
the range ( No error at this step ) . But when we exceute this
dbquery we get below mentioned error .
<cfquery name="qry" dbtype="query" >
SELECT *
FROM tmpqry
ORDER BY #arguments.colSort# ASC
</cfquery>
senerio:
I am using createobject to create a reference for component
and call MDArraySort function in the cfc and getting this error .
'The system has attempted to use an undefined value, which
usually indicates a programming error, either in your code or some
system code.
Null pointer is undefined.... '
i am using this code in a cfc file.
<cffunction name="MDArraySort" Returntype="query"
access="public" >
<cfargument name="colArray" type="array"
required="true">
<cfargument name="colNames" type="string"
required="true">
<cfargument name="colSort" type="string"
required="true">
<cfargument name="sensorIDs" type="string"
required="true">
<cfscript>
var tmpqry = Querynew(arguments.colNames);
var qRow = QueryAddRow(tmpqry, Arraylen(arguments.colArray)
</cfscript>
<cfloop from="1" to="#Arraylen(arguments.colArray)#"
index="qRowIndex">
<cfscript>
sIndexinSensorIDs = colArray[qRowIndex]["SENSOR"]&"##";
Temp_readin_code =
colArray[qRowIndex]["READING_CODE"]&"##";
QuerySetCell(tmpqry, 'SENSOR', sIndexinSensorIDs,
qRowIndex);
QuerySetCell(tmpqry,
'TYPE',javacast('String',colArray[qRowIndex]["TYPE"]), qRowIndex);
QuerySetCell(tmpqry, 'TIMESTAMP2',
LSParseDateTime(colArray[qRowIndex]["TIMESTAMP2"]), qRowIndex);
QuerySetCell(tmpqry,
'ORDER_BY_PARAM',javacast('String',colArray[qRowIndex]["ORDER_BY_PARAM"]),
qRowIndex);
QuerySetCell(tmpqry, 'READING_CODE',Temp_readin_code ,
qRowIndex);
QuerySetCell(tmpqry,
'READING',javacast('String',colArray[qRowIndex]["READING"]),
qRowIndex);
QuerySetCell(tmpqry,
'PK_READING',javacast('String',colArray[qRowIndex]["PK_READING"]),
qRowIndex);
QuerySetCell(tmpqry,
'ALARM_STATUS',javacast('String',colArray[qRowIndex]["ALARM_STATUS"]),
qRowIndex);
QuerySetCell(tmpqry, 'DURATION',
javacast('String',colArray[qRowIndex]["DURATION"]), qRowIndex);
QuerySetCell(tmpqry,
'DESCRIPTION',javacast('String',colArray[qRowIndex]["DESCRIPTION"]),
qRowIndex);
</cfscript>
</cfloop>
<cfquery name="qry" dbtype="query" >
SELECT *
FROM tmpqry
ORDER BY #arguments.colSort# ASC
</cfquery>
<cfreturn qry >
</cffunction>
It is working fine for some date range and and getting above
mentioned error in sone situation .
Hi All ,
Thank you for your support ,
Finally i have fix the issue using some changes in my
function in cfc .
<cffunction name="MDArraySort" Returntype="query"
access="public" >
<cfargument name="colArray" type="array"
required="true">
<cfargument name="colNames" type="string"
required="true">
<cfargument name="colSort" type="string"
required="true">
<cfargument name="sensorIDs" type="string"
required="true">
<cfscript>
//Declare variable collection used in function as local
--->
var tmpqry =
Querynew(arguments.colNames,"CF_SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_DATE,CF_SQL_VARCHAR,CF_ SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_VARCHAR");
var qRow = QueryAddRow(tmpqry,
Arraylen(arguments.colArray));
</cfscript>
<cfloop from="1" to="#Arraylen(arguments.colArray)#"
index="qRowIndex">
<cfscript>
// Populate the query table
QuerySetCell(tmpqry, 'SENSOR',
colArray[qRowIndex]["SENSOR"], qRowIndex);
QuerySetCell(tmpqry,
'TYPE',arguments.colArray[qRowIndex]["TYPE"], qRowIndex);
QuerySetCell(tmpqry, 'TIMESTAMP2',
LSParseDateTime(arguments.colArray[qRowIndex]["TIMESTAMP2"]),
qRowIndex);
QuerySetCell(tmpqry,
'ORDER_BY_PARAM',arguments.colArray[qRowIndex]["ORDER_BY_PARAM"],
qRowIndex);
QuerySetCell(tmpqry, 'READING_CODE',
colArray[qRowIndex]["READING_CODE"] , qRowIndex);
QuerySetCell(tmpqry,
'READING',arguments.colArray[qRowIndex]["READING"], qRowIndex);
QuerySetCell(tmpqry,
'PK_READING',arguments.colArray[qRowIndex]["PK_READING"],
qRowIndex);
QuerySetCell(tmpqry,
'ALARM_STATUS',arguments.colArray[qRowIndex]["ALARM_STATUS"],
qRowIndex);
QuerySetCell(tmpqry, 'DURATION',
arguments.colArray[qRowIndex]["DURATION"], qRowIndex);
QuerySetCell(tmpqry,
'DESCRIPTION',arguments.colArray[qRowIndex]["DESCRIPTION"],
qRowIndex);
</cfscript>
</cfloop>
<cfquery name="qry" dbtype="query" >
SELECT *
FROM tmpqry
ORDER BY #arguments.colSort# ASC
</cfquery>
<cfreturn qry >
</cffunction>
Rajesh
SCMS
India
Similar Messages
-
Log Name: System
Source: Microsoft-Windows-Kernel-Power
Date: 31-12-2014 14:35:18
Event ID: 41
Task Category: (63)
Level: Critical
Keywords: (2)
User: SYSTEM
Computer: BLISS-ORACLE
Description:
The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Kernel-Power" Guid="{331C3B3A-2005-44C2-AC5E-77220C37D6B4}" />
<EventID>41</EventID>
<Version>2</Version>
<Level>1</Level>
<Task>63</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000002</Keywords>
<TimeCreated SystemTime="2014-12-31T09:05:18.479605300Z" />
<EventRecordID>9113</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="8" />
<Channel>System</Channel>
<Computer>BLISS-ORACLE</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData>
<Data Name="BugcheckCode">0</Data>
<Data Name="BugcheckParameter1">0x0</Data>
<Data Name="BugcheckParameter2">0x0</Data>
<Data Name="BugcheckParameter3">0x0</Data>
<Data Name="BugcheckParameter4">0x0</Data>
<Data Name="SleepInProgress">false</Data>
<Data Name="PowerButtonTimestamp">0</Data>
</EventData>
</Event>Hi,
I agree with Mr X. This should be a BSOD issue. Did you refer to Mr X’s suggestions and solve this issue?
Just addition, troubleshoot this kind of kernel crash issue, we need to analyze the crash dump file to narrow down the root cause of the issue. Please refer to following articles
and check if can help you.
Crash dump analysis using the Windows debuggers (WinDbg)
How to read the small memory dump file that is created by Windows if a crash occurs
By the way, it may be not effective for us to debug the crash dump file here in the forum. If this issues is a state of emergency for you. Please contact Microsoft Customer
Service and Support (CSS) via telephone so that a dedicated Support Professional can assist with your request.
To obtain the phone numbers for specific technology request, please refer to the web site listed below:
http://support.microsoft.com/default.aspx?scid=fh;EN-US;OfferProPhone#faq607
Hope this helps.
Best regards,
Justin Gu
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Getting "An error in the system has occurred" using Safari on Apple site
When using Safari 3.1 on the Apple site to view the discussion forums I get the message: "An error in the system has occurred. Please contact the system administrator if the problem persists."
I'm able to use the forums using FireFox.
No one else seems to be having this problem according to the search function.This appears to be a one-off problem, so mark as resolved.
-
An error in the system has occurred. Please contact the system administrato
This error appears when I try to access the Leopard Server- Advanced forum:
Error
An error in the system has occurred. Please contact the system administrator if the problem persists.
Useful links :
Forum Home -- browse the forums here.
Search Forums -- visit the search page to query all forum content.Hi Roger!
My reply here Error when trying to mark a reply as "solved" , also has additinal information.
ali b -
My IPhone is set up with an internet downloaded firmware of ios7 because my phone would not restore, the system has failed and I had to do a manual erase fro within the phone. My computer will not accept the phone because they say it's a "Developer?" Help. I cannot not even get passed the activation step on the computer or phone because it will not activate the device.
Hello buddyacw
You would have to restore the iPhone. Download the latest version of iTunes and then follow the steps in the article below to get it working again.
iOS: Unable to update or restore
http://support.apple.com/kb/HT1808
Thanks for using Apple Support Communities.
Regards,
-Norm G. -
Warning: The system has not been taken off maintenance mode completely
After I enabled Maintenance mode using adadmin, I ran Compile Flexfields. Then I disabled Maintenance mode. But, on the 11i login page, I keep getting a warning message:
Warning
The system has not been taken off maintenance mode completely. Please contact your System Administrator.
I am sure I disabled the Maintenance mode in adadmin. Why I still get the warning? How to fix it? Thanks a lot.Thanks a lot. That is the fix.
One more question. After I ran "Compile Flexfields", I got
Number of successful descriptive flex compilations : 7520
Number of failed descriptive flex compilations : 1
How can I find the failed description flex? The log does not give info on this. And, how to fix it?
Thanks a lot for your help. -
Why do I get "The system has recovered from a serious error" after system shut down
Every time when start/restarting the computer using the attached .vi I get a window with "The system has recovered from a serious error." Although this does not seems to have any effect on application and I am able to use the test equipment but could someone explain why this is happening?
LV 8.2
TestStand 3.5
MAX 4.1
NI DAQ Card PXI-4461
Many Thanks
Mehran
Mehran Fard
Attachments:
System Shutdown.doc 63 KBHi Fardm,
how should we answer that question when you don't attach the VI, but only a picture hidden in some proprietary file format?
Attach the VI!
You also have some Rube-Goldberg in your code:
IF not zero THEN use ErrorCode ELSE use zero
Why not just connect errorcode directly with BundleByName? You don't need the Select function here...
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
Hello, Currently we are seeing this issue with a couple of our Lenovo T420s laptops with a Solid State Drive. ruffly about 10 or so. The Reboots happen randomly and do not create a dump file. We have contacted Lenovo and they are
not sure why its happening. Since this Crash I set it for Minidump this did not work my next steps will be to Disable Automatic restart on System Failure to see if it brings anything up. I am also looking at using Procmon to dump to a file as well.
If anyone has any other ideas please let me know.
The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly.
+ System
- Provider
[ Name] Microsoft-Windows-Kernel-Power
[ Guid] {331C3B3A-2005-44C2-AC5E-77220C37D6B4}
EventID 41
Version 2
Level 1
Task 63
Opcode 0
Keywords 0x8000000000000002
- TimeCreated
[ SystemTime] 2012-02-01T00:02:48.677610900Z
EventRecordID 8270
Correlation
- Execution
[ ProcessID] 4
[ ThreadID] 8
Channel System
Computer LR8K6TLC.cntr.thrivent.corp
- Security
[ UserID] S-1-5-18
- EventData
BugcheckCode 0
BugcheckParameter1 0x0
BugcheckParameter2 0x0
BugcheckParameter3 0x0
BugcheckParameter4 0x0
SleepInProgress false
PowerButtonTimestamp 129725280988099400
Event 89, Kernel-Power
ACPI thermal zone ACPI\ThermalZone\THM0 has been enumerated.
_PSV = 0K
_TC1 = 0
_TC2 = 0
_TSP = 0ms
_AC0 = 0K
_AC1 = 0K
_AC2 = 0K
_AC3 = 0K
_AC4 = 0K
_AC5 = 0K
_AC6 = 0K
_AC7 = 0K
_AC8 = 0K
_AC9 = 0K
_CRT = 371K
_HOT = 0K
_PSL - see event data.
---- Details
+
System
Provider
[ Name]
Microsoft-Windows-Kernel-Power
[ Guid]
{331C3B3A-2005-44C2-AC5E-77220C37D6B4}
EventID
89
Version
0
Level
4
Task
86
Opcode
0
Keywords
0x8000000000000020
TimeCreated
[ SystemTime]
2012-02-01T00:02:49.270411900Z
EventRecordID
8271
Correlation
Execution
[ ProcessID]
4
[ ThreadID]
68
Channel
System
Computer
LR8K6TLC.cntr.thrivent.corp
Security
[ UserID]
S-1-5-18
EventData
ThermalZoneDeviceInstanceLength
21
ThermalZoneDeviceInstance
ACPI\ThermalZone\THM0
AffinityCount
1
_PSV
0
_TC1
0
_TC2
0
_TSP
0
_AC0
0
_AC1
0
_AC2
0
_AC3
0
_AC4
0
_AC5
0
_AC6
0
_AC7
0
_AC8
0
_AC9
0
_CRT
371
_HOT
0
_PSL
0000000000000000
Thank you.We have tested and checked both the Bios and firmware of the SSD Drive's
Bios was up to date and no issue
Firmware was also up to date as well.
Users are still experiencing random Reboots. I tried to capture the issue with Procmon but since the PC shutdown (Goes to a black screen no power at all even when turning the "Automatically
restart" off under Startup and Recovery) No dmp files as of yet. Unable to configure Procdump due to not knowing where the issue is and what is causing it to happen.
Going to replace one of the PC's with a New one with different hardware to see if this resolve the issue. If anyone has any idea's to be able to capture what maybe happening that would
be great.
Thank you. -
Keep getting the 'system has run out of application memory' window, what to do?
I'm running a mid 2010 MacBook with 2.4 Ghz Intel Core 2 Duo processor and OS X 10.9.5. Every time I'm on Safari I get the 'System has run out of application memory' window and it asks you to quit out of programs you're not using. The problem is sometimes the only things running are Safari and Finder. It'll then freeze up programs and prevent web pages from loading or showing up. I'm not quite sure what this means or how to go about fixing it. Any help would be much appreciated.
Hi Meghan,
If you are seeing that alert that you are running out of application memory then I would take a look at using Activity Monitor to see how the memory is being used. If it looks normal usage to you, then you may want to upgrade the memory on your Mac. Take a look at the article below for more information.
OS X Mavericks: If your Mac runs slowly
https://support.apple.com/kb/PH13895
How to use Activity Monitor
https://support.apple.com/en-us/HT201464
Take it easy,
-Norm G. -
I prepared a new project but during the submission to browser media, the system has shown the error (-49). Somebody can help me?
In this particular case, you cannot start Tomcat because you have another web server or some other program already listening to the same port that Tomcat wants to use.
(If you don't know what a port is in this context, write back and we will go into more detail.)
I would guess that you may have Microsoft IIS running, particularly if you're on a corporate machine. You may have to look at the services running on your system and see if any of them are using the port - either check out start->control panel->administrative tools->services or do a "netstat -a" at the command prompt.
Alternatively you may configure Tomcat to use a different port. The instructions that came with Tomcat will tell you what you will need to do - it's usually just changing one line in the httpd.conf file or whatever the latest Tomcat uses now (I'm not certain anymore). -
The system has unsaved changes - WLC Startup-config
Hi guys,
Is there a command to see the startup-config?
Or a command to see "what exactly" am I going to save when receiving the below message:
The system has unsaved changes.
Would you like to save them now? (y/N)
I tried show run-config vs uploaded configuration file, but the format is different so I cannot compare...Hi
With Areonet OS (5508,2504,etc) you do not have this freedom
If it is IOS you can do this using a single command "show archive config differences nvram:startup-config system:running-config" So with 5760/3850 you can do this.
http://mrncciew.com/2012/11/08/show-archive-config-differences-is-your-friend/
With Areonet 5508,2504 if you need to know what commands your configuration will adds to your config, you can do some sort of workaround (though it is not clean,still you can see what lines adding to WLC config)
Do "debug aaa tacacs enable" on your WLC CLI & then make a change using WLC GUI, you will see on your CLI what commands it will add to your config.
So you have to make your changes one by one to learn all the CLI config addition to your configuration.
HTH
Rasika
**** Pls rate all useful responses **** -
An error in the system has occurred. Please contact the system admin'
Hi chaps
So I get this message when I try and click "Solved" :
An error in the system has occurred. Please contact the system administrator if the problem persists.
And then when I try to send a 'comment' AppleCare I get
"An error has occurred. Please try again later".
Is it me or them ?
Many thanks RogerHi Roger!
My reply here Error when trying to mark a reply as "solved" , also has additinal information.
ali b -
The USB ports on my 30" Cinema HD display appear to not work. The monitor has not been used for almost a year, when I upgraded to a new Mac Book Pro and the 27" retina display. Now I need to move the computer back and forth between two locations using the two displays. The need for operating USB ports is essential. Any ideas. The display appears entirely normal. Am running OS X 10.9.
Disregard, problem solved.
-
What are the system ports that XI uses to invoke web services?
Hi guys,
Anyone knows what are the system ports that XI uses to invoke and to be invoked from web services?
I think it uses the port of AFW but I dont have sure
Thanks in advance,
Ricardo.hi,
if you want to invoke a WS on the XI use
the j2ee port (5XX00)
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
During the software update the system has stop since 14 hours ???
I recently bought a Mac Pro with 16GB and 512Gb Flash Memory ,as i retutn home and try to up date the software the system has stop since 14 hours.
I'm new to the Mac word and i would like to Know if it is normal that any Software update takes so Long time.
Thanks's
AngeloIt's something wrong, you'd better stop software update and restart update again.
Maybe you are looking for
-
Link to a pdf page on web from a chm file
Hello, I'm using RoboHelp 9.0.2. I'm trying to create a link in a chm file to a specific pdf page using a URL. The link I am using is http://www.actuarialstandardsboard.org/pdf/exposure/ASOP_No27_second%20exposure_2011.pdf#p age=41 I put the above
-
Hi, How to move SQL database from one location to another location i.e. from C' drive to D' drive ? please share some link. Thanks and Regards, Rangnath Mali
-
Crystal Report Server XI R2 - Upgrade MySQL to 5.0 or 5.1?
Although SP4 for Crystal Report Server XI R2 contains mySQL v 4.1.23, there are security vulnerabilities which are only addressed in 4.1.24 and 4.1.25. These versions are not in release in binary form from mysql.com, as 4.1 is no longer supported. T
-
What is this use for? requestFocusInWindow()
protected void resetFocus() { passwordField.requestFocusInWindow(); }
-
Can Forms call ADF (JSP) applications of Jdeveloper?
Hallo all, i created a JSP application to show Master-Detail page, Guages,Pivottable. Gantt charts in Jdeveloper using the ADF BC. I want to create a button in Forms that will call these application without dependency on Jdeveloper.Pls can anyone adv