Strange error in production server

147 views
Skip to first unread message

Samson Quaye

unread,
Oct 12, 2012, 6:07:45 AM10/12/12
to cfwh...@googlegroups.com

Hello,


I usually hit this error every morning on my production server. Can anyone help me with this.

The stack trace shows the detail of the error. To me, it seems to be coming from onrequest.cfm in the wheels\events folder.

Any help with this would really be appreciated.

Thanks


Summary

Error:

URL:
http://hafedpolytech.com/

Method:
GET

IP Address:
41.184.97.88

User Agent:
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4

Date & Time:
October 12, 2012 at 2:40 AM

Details

CGI

struct

AUTH_PASSWORD: [empty string]
AUTH_TYPE: [empty string]
AUTH_USER: [empty string]
CERT_COOKIE: [empty string]
CERT_FLAGS: [empty string]
CERT_ISSUER: [empty string]
CERT_KEYSIZE: [empty string]
CERT_SECRETKEYSIZE: [empty string]
CERT_SERIALNUMBER: [empty string]
CERT_SERVER_ISSUER: [empty string]
CERT_SERVER_SUBJECT: [empty string]
CERT_SUBJECT: [empty string]
CF_TEMPLATE_PATH: C:\inetpub\wwwroot\hafed\rewrite.cfm
CONTENT_LENGTH: 0
CONTENT_TYPE: [empty string]
CONTEXT_PATH: [empty string]
GATEWAY_INTERFACE: CGI/1.1
HTTPS: off
HTTPS_KEYSIZE: [empty string]
HTTPS_SECRETKEYSIZE: [empty string]
HTTPS_SERVER_ISSUER: [empty string]
HTTPS_SERVER_SUBJECT: [empty string]
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING: gzip,deflate,sdch
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.8
HTTP_CONNECTION: keep-alive
HTTP_COOKIE: JSESSIONID=84306fbf160a01c8b37d17a47323b74d7b40; CFID=48925; CFTOKEN=62835143
HTTP_HOST: hafedpolytech.com
HTTP_REFERER: [empty string]
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4
PATH_INFO: /
PATH_TRANSLATED: C:\inetpub\wwwroot\hafed\rewrite.cfm
QUERY_STRING: [empty string]
REMOTE_ADDR: 41.184.97.88
REMOTE_HOST: 41.184.97.88
REMOTE_USER: [empty string]
REQUEST_METHOD: GET
SCRIPT_NAME: /rewrite.cfm
SERVER_NAME: hafedpolytech.com
SERVER_PORT: 80
SERVER_PORT_SECURE: 0
SERVER_PROTOCOL: HTTP/1.1
SERVER_SOFTWARE: Microsoft-IIS/7.5
WEB_SERVER_API: [empty string]

Form

struct [empty]

URL

struct [empty]

Application

struct

applicationname: 35776F45F5A172FEE1F78A2CA0C908D1
smssessionid: b97c8a57-79e5-442c-a76b-ee48cf0503fa

Session

struct

cfid: 49402
cftoken: 47504119
sessionid: 35776F45F5A172FEE1F78A2CA0C908D1_49402_47504119
urltoken: CFID=49402&CFTOKEN=47504119

Request

struct

cfdumpinited: FALSE
cgi:  
	[struct]
	content_type: [empty string]
	http_accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
	http_host: hafedpolytech.com
	http_referer: [empty string]
	http_x_requested_with: [empty string]
	path_info: /
	query_string: [empty string]
	remote_addr: 41.184.97.88
	request_method: GET
	script_name: /rewrite.cfm
	server_name: hafedpolytech.com
	server_port: 80
	server_port_secure: 0
	server_protocol: HTTP/1.1

Cookie

struct

CFID: 49402
CFTOKEN: 47504119
JSESSIONID: 84306fbf160a01c8b37d17a47323b74d7b40

Exception

struct [Filtered - 1 of 8 keys hidden]

Detail: An exception occurred while invoking an event handler method from Application.cfc. The method name is: onRequest.
Message: Event handler exception.
RootCause:  
	[struct]
	Message: [empty string]
	RootCause:  
		[struct]
		Message: [empty string]
		StackTrace: java.lang.NullPointerException
		TagContext:  
			[array]
		Type: java.lang.NullPointerException
		 
	StackTrace: java.lang.NullPointerException
	TagContext:  
		[array]
	Type: coldfusion.util.RuntimeWrapper
	 
StackTrace: coldfusion.runtime.EventHandlerException: Event handler exception.
	at coldfusion.runtime.AppEventInvoker.onRequest(AppEventInvoker.java:288)
	at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:356)
	at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
	at coldfusion.filter.PathFilter.invoke(PathFilter.java:94)
	at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
	at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
	at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
	at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
	at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
	at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
	at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
	at coldfusion.CfmServlet.service(CfmServlet.java:200)
	at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
	at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
	at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
	at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
	at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
	at jrun.servlet.FilterChain.service(FilterChain.java:101)
	at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
	at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
	at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
	at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
	at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
	at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
	at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
	at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
	at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
Caused by: java.lang.NullPointerException
	at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:84)
	at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
	at cfcfml2ecfm2099171951$func$THROW.runFunction(C:\inetpub\wwwroot\hafed\wheels\global\cfml.cfm:157)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:517)
	at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2547)
	at cfcoldroute2ecfc690977751$func$CALLACTION.runFunction(C:\inetpub\wwwroot\hafed\plugins\coldroute\coldroute.cfc:549)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:517)
	at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2547)
	at cfprocessing2ecfm899463463$func$PROCESSACTION.runFunction(C:\inetpub\wwwroot\hafed\wheels\controller\processing.cfm:60)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
	at cfrequest2ecfm1394121715$func$REQUEST.runFunction(C:\inetpub\wwwroot\hafed\wheels\dispatch\request.cfm:167)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337)
	at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
	at cfindex2ecfm97670875.runPage(C:\inetpub\wwwroot\hafed\wheels\index.cfm:1)
	at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
	at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
	at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
	at cfrewrite2ecfm824076851.runPage(C:\inetpub\wwwroot\hafed\rewrite.cfm:1)
	at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
	at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
	at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
	at cfonrequest2ecfm1846702188$funcONREQUEST.runFunction(C:\inetpub\wwwroot\hafed\wheels\events\onrequest.cfm:1)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
	at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405)
	at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
	at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)
	at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
	at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491)
	at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337)
	at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:88)
	at coldfusion.runtime.AppEventInvoker.onRequest(AppEventInvoker.java:280)
	... 26 more
TagContext:  
	[array]
	1) [struct]
		COLUMN: 0
		ID: CFTHROW
		LINE: 157
		RAW_TRACE: at cfcfml2ecfm2099171951$func$THROW.runFunction(C:\inetpub\wwwroot\hafed\wheels\global\cfml.cfm:157)
		TEMPLATE: C:\inetpub\wwwroot\hafed\wheels\global\cfml.cfm
		TYPE: CFML 
	2) [struct]
		COLUMN: 0
		ID: CF_UDFMETHOD
		LINE: 549
		RAW_TRACE: at cfcoldroute2ecfc690977751$func$CALLACTION.runFunction(C:\inetpub\wwwroot\hafed\plugins\coldroute\coldroute.cfc:549)
		TEMPLATE: C:\inetpub\wwwroot\hafed\plugins\coldroute\coldroute.cfc
		TYPE: CFML 
	3) [struct]
		COLUMN: 0
		ID: CF_UDFMETHOD
		LINE: 60
		RAW_TRACE: at cfprocessing2ecfm899463463$func$PROCESSACTION.runFunction(C:\inetpub\wwwroot\hafed\wheels\controller\processing.cfm:60)
		TEMPLATE: C:\inetpub\wwwroot\hafed\wheels\controller\processing.cfm
		TYPE: CFML 
	4) [struct]
		COLUMN: 0
		ID: CF_TEMPLATEPROXY
		LINE: 167
		RAW_TRACE: at cfrequest2ecfm1394121715$func$REQUEST.runFunction(C:\inetpub\wwwroot\hafed\wheels\dispatch\request.cfm:167)
		TEMPLATE: C:\inetpub\wwwroot\hafed\wheels\dispatch\request.cfm
		TYPE: CFML 
	5) [struct]
		COLUMN: 0
		ID: CF_TEMPLATEPROXY
		LINE: 1
		RAW_TRACE: at cfindex2ecfm97670875.runPage(C:\inetpub\wwwroot\hafed\wheels\index.cfm:1)
		TEMPLATE: C:\inetpub\wwwroot\hafed\wheels\index.cfm
		TYPE: CFML 
	6) [struct]
		COLUMN: 0
		ID: CFINCLUDE
		LINE: 1
		RAW_TRACE: at cfrewrite2ecfm824076851.runPage(C:\inetpub\wwwroot\hafed\rewrite.cfm:1)
		TEMPLATE: C:\inetpub\wwwroot\hafed\rewrite.cfm
		TYPE: CFML 
	7) [struct]
		COLUMN: 0
		ID: CFINCLUDE
		LINE: 1
		RAW_TRACE: at cfonrequest2ecfm1846702188$funcONREQUEST.runFunction(C:\inetpub\wwwroot\hafed\wheels\events\onrequest.cfm:1)
		TEMPLATE: C:\inetpub\wwwroot\hafed\wheels\events\onrequest.cfm
		TYPE: CFML 
Type: Expression
name: onRequest

jmail

unread,
Oct 12, 2012, 1:23:24 PM10/12/12
to cfwh...@googlegroups.com
Probably you are trying to use anything from application what is set later in request.; Can you show your's onrequeststart.cfm file?

Samson Quaye

unread,
Oct 12, 2012, 1:29:29 PM10/12/12
to cfwh...@googlegroups.com
I don't have anything in my onrequeststart.cfm file. Could calling something like session.currentUser.hasEnrollment() from event\function.cfm be the cause?
To view this discussion on the web visit https://groups.google.com/d/msg/cfwheels/-/ZXLTGKMhH3gJ.
To post to this group, send email to cfwh...@googlegroups.com.
To unsubscribe from this group, send email to cfwheels+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cfwheels?hl=en.

Chris Peters

unread,
Oct 12, 2012, 1:31:05 PM10/12/12
to cfwh...@googlegroups.com
This looks like it's not going to be tracable from the strack trace. I recommend hooking up FusionReactor or SeeFusion to see what's causing the error. Sometimes it's something unrelated causing the issue.

--
You received this message because you are subscribed to the Google Groups "ColdFusion on Wheels" group.

Samson Quaye

unread,
Oct 14, 2012, 2:15:01 PM10/14/12
to cfwh...@googlegroups.com
Problem solved. Taking out a model call from the helper, solved the problem. I store a model object in the session scope and attempted calling it from that something like session.currentUser.profile.hasEnrollment() from the a helper file. When i changed it to a controller filter, the application worked like a breeze. Thanks for all your remarks 
Reply all
Reply to author
Forward
0 new messages