mobrien118
asked on
The system has attempted to use an undefined value
I am getting this incredibly annoying error, but ONLY on my production server, not on test. It only happens when I try to access a .CFC file. it happens when I try to access ANY .CFC file. Also, the /CFIDE/ directory is not available to the applications which means that none of the CFFORM validation functions work, and I'd immagine there is other deminished functionality. I'm not so worried about the /CFIDE/ directory problem, I just thought they might be related and I need to put this thing into production and this is the only thing holding me back. Also, I need to do it by tomorrow morning at 9. Please Help! Here is the 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 Pointers are another name for undefined values.
Resources:
* Check the ColdFusion documentation to verify that you are using the correct syntax.
* Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Remote Address 128.207.232.41
Referrer
Date/Time 17-Sep-06 08:43 AM
Stack Trace
java.lang.NullPointerExcep tion
at coldfusion.runtime.Servlet ContextWra pper.doGet RealPath(S ervletCont extWrapper .java:149)
at coldfusion.runtime.Servlet ContextWra pper.getRe alPath(Ser vletContex tWrapper.j ava:114)
at coldfusion.runtime.Templat eProxyFact ory.getFul lName(Temp lateProxyF actory.jav a:432)
at coldfusion.runtime.Templat eProxyFact ory.resolv eName(Temp lateProxyF actory.jav a:138)
at coldfusion.runtime.Templat eProxyFact ory.resolv eName(Temp lateProxyF actory.jav a:102)
at coldfusion.runtime.Templat eProxyFact ory.resolv eName(Temp lateProxyF actory.jav a:96)
at coldfusion.runtime.Templat eProxyFact ory.resolv eFile(Temp lateProxyF actory.jav a:74)
at coldfusion.filter.Componen tFilter.in voke(Compo nentFilter .java:110)
at coldfusion.filter.Applicat ionFilter. invoke(App licationFi lter.java: 210)
at coldfusion.filter.BrowserD ebugFilter .invoke(Br owserDebug Filter.jav a:52)
at coldfusion.filter.PathFilt er.invoke( PathFilter .java:86)
at coldfusion.filter.Exceptio nFilter.in voke(Excep tionFilter .java:69)
at coldfusion.filter.ClientSc opePersist enceFilter .invoke(Cl ientScopeP ersistence Filter.jav a:28)
at coldfusion.filter.BrowserF ilter.invo ke(Browser Filter.jav a:38)
at coldfusion.filter.GlobalsF ilter.invo ke(Globals Filter.jav a:38)
at coldfusion.filter.Datasour ceFilter.i nvoke(Data sourceFilt er.java:22 )
at coldfusion.xml.rpc.CFCServ let.invoke (CFCServle t.java:106 )
at coldfusion.xml.rpc.CFCServ let.doGet( CFCServlet .java:157)
at javax.servlet.http.HttpSer vlet.servi ce(HttpSer vlet.java: 740)
at org.apache.axis.transport. http.AxisS ervletBase .service(A xisServlet Base.java: 327)
at javax.servlet.http.HttpSer vlet.servi ce(HttpSer vlet.java: 853)
at coldfusion.bootstrap.Boots trapServle t.service( BootstrapS ervlet.jav a:78)
at jrun.servlet.ServletInvoke r.invoke(S ervletInvo ker.java:9 1)
at jrun.servlet.JRunInvokerCh ain.invoke Next(JRunI nvokerChai n.java:42)
at jrun.servlet.JRunRequestDi spatcher.i nvoke(JRun RequestDis patcher.ja va:259)
at jrun.servlet.ServletEngine Service.di spatch(Ser vletEngine Service.ja va:541)
at jrun.servlet.jrpp.JRunProx yService.i nvokeRunna ble(JRunPr oxyService .java:204)
at jrunx.scheduler.ThreadPool $ThreadThr ottle.invo keRunnable (ThreadPoo l.java:428 )
at jrunx.scheduler.WorkerThre ad.run(Wor kerThread. java:66)
The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code.
Null Pointers are another name for undefined values.
Resources:
* Check the ColdFusion documentation to verify that you are using the correct syntax.
* Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Remote Address 128.207.232.41
Referrer
Date/Time 17-Sep-06 08:43 AM
Stack Trace
java.lang.NullPointerExcep
at coldfusion.runtime.Servlet
at coldfusion.runtime.Servlet
at coldfusion.runtime.Templat
at coldfusion.runtime.Templat
at coldfusion.runtime.Templat
at coldfusion.runtime.Templat
at coldfusion.runtime.Templat
at coldfusion.filter.Componen
at coldfusion.filter.Applicat
at coldfusion.filter.BrowserD
at coldfusion.filter.PathFilt
at coldfusion.filter.Exceptio
at coldfusion.filter.ClientSc
at coldfusion.filter.BrowserF
at coldfusion.filter.GlobalsF
at coldfusion.filter.Datasour
at coldfusion.xml.rpc.CFCServ
at coldfusion.xml.rpc.CFCServ
at javax.servlet.http.HttpSer
at org.apache.axis.transport.
at javax.servlet.http.HttpSer
at coldfusion.bootstrap.Boots
at jrun.servlet.ServletInvoke
at jrun.servlet.JRunInvokerCh
at jrun.servlet.JRunRequestDi
at jrun.servlet.ServletEngine
at jrun.servlet.jrpp.JRunProx
at jrunx.scheduler.ThreadPool
at jrunx.scheduler.WorkerThre
ASKER
My server administrator discovered that the problem is caused by our authentication software in combination with the way CF handles remote .CFC calls.
The problem is internal and thus cannot be solved on this forum. Thank you, gdemaria, for your effort, but I am going to have to request that the administrator close this request.
--mobrien118
The problem is internal and thus cannot be solved on this forum. Thank you, gdemaria, for your effort, but I am going to have to request that the administrator close this request.
--mobrien118
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I've experienced this error after upgrading MySQL from 4 to 5
I've put together this small article on how to temporarily fix it until a hot fix is released from Adobe:
http://www.thebluepipe.com/Developer/tutorials/coldfusion/coldfusion-mysql-5-fix
ing-the-system-has-attempt ed.html
I hope it helps
I've put together this small article on how to temporarily fix it until a hot fix is released from Adobe:
http://www.thebluepipe.com/Developer/tutorials/coldfusion/coldfusion-mysql-5-fix
ing-the-system-has-attempt
I hope it helps
go into your web server (IIS?) and add /CFIDE/ as a virtual directory pointing to the CFIDE folder something like..
C:\inetpub\wwwroot\CFIDE
Regarding your error, you have a variable that you are using and is not yet defined. The error message pasted in doesn't show the name of the variable or line number from what I can see, perhaps getting the /cfide directory in place may give you this information.
A good rule of thumb is to place a <cfparam> tag at the top of the file for each variable that you are expecting to receive. Often if the page is receiving a form submit, it may be caused by a checkbox that is not checked (unchecked checkboxes do not create a form variable).
<cfparam name="form.my_checkbox" value="No">
<cfif form.my_checkbox is "yes"> <!---- its being used here, make sure the <cfparam is above ---->
Try to see what variables you use but don't have set yet.