Occasional java.lang.NullPointerException error

27 views
Skip to first unread message

Juan Aguilar

unread,
Oct 12, 2015, 2:01:29 PM10/12/15
to BugLogHQ

Occasionally, I get an e-mail alert with the following message:


This email is sent because the buglog server could not be contacted. The error was: java.lang.NullPointerException


Any suggestions on how to troubleshoot this? There's not much going on in the logs, except sometimes, a sequence like this in catalina.out:


BugLogListener: 00:46:00: Processing queue. Queue size: 1

BugLogListener: 00:52:00: Processing queue. Queue size: 1


string BuglogHQ Init. Using instance: default 

 


string BuglogHQ Init. Using instance: default 

 

BugLogListener: 06:32:00: Processing queue. Queue size: 1

BugLogListener: 06:36:00: Processing queue. Queue size: 1


(With spaces like that.)

Oscar Arevalo

unread,
Oct 12, 2015, 4:26:34 PM10/12/15
to bugl...@googlegroups.com
@Juan are you running the buglog server on the same box as the app that posts to it?
If not, you should be looking at the logs of the box where the app is. That error happens when the app is unable to reach the server for some reason.

Oscar


--

---
You received this message because you are subscribed to the Google Groups "BugLogHQ" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bugloghq+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Oscar Arevalo

Juan Aguilar

unread,
Nov 12, 2015, 12:59:45 AM11/12/15
to BugLogHQ
Hi Oscar,

I'm running buglog on a different server. Here's the trace which is thrown on the app server that's trying to report the error:

java.lang.NullPointerException
at lucee.runtime.type.scope.CGIImplReadOnly.get(CGIImplReadOnly.java:154)
at lucee.runtime.type.util.StructUtil.toDumpTable(StructUtil.java:187)
at lucee.runtime.type.scope.CGIImplReadOnly.toDumpData(CGIImplReadOnly.java:340)
at lucee.runtime.dump.DumpUtil.toDumpData(DumpUtil.java:242)
at lucee.runtime.type.util.StructUtil.toDumpTable(StructUtil.java:187)
at lucee.runtime.type.util.StructSupport.toDumpData(StructSupport.java:146)
at lucee.runtime.dump.DumpUtil.toDumpData(DumpUtil.java:242)
at lucee.runtime.functions.other.DumpStruct.call(DumpStruct.java:91)
at dump_cfc$cf.udfCall1(/opt/railo/lib/lucee-server/context/library/tag/Dump.cfc:154)
at dump_cfc$cf.udfCall(/opt/railo/lib/lucee-server/context/library/tag/Dump.cfc)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:111)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:328)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:216)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:608)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:524)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1778)
at lucee.runtime.tag.CFTag.cfcStartTag(CFTag.java:393)
at lucee.runtime.tag.CFTag.doStartTag(CFTag.java:176)
at bugloghq.plugin.buglogservice_cfc$cf.udfCall(/var/www/www.website.com/plugins/BugLogHQ/plugin/bugLogService.cfc:501)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:111)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:328)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:229)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:766)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:742)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1590)
at bugloghq.plugin.buglogservice_cfc$cf.udfCall(/var/www/www.website.com/plugins/BugLogHQ/plugin/bugLogService.cfc:424)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:111)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:328)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:229)
at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:766)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:742)
at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1590)
at bugloghq.plugin.buglogservice_cfc$cf.udfCall(/var/www/www.website.com/plugins/BugLogHQ/plugin/bugLogService.cfc:159)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:111)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:328)
at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:216)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:608)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:524)
at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1778)
at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:773)
at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1600)
at bugloghq.plugin.eventhandler_cfc$cf.threadCall(/var/www/www.website.com/plugins/BugLogHQ/plugin/eventHandler.cfc:104)
at lucee.runtime.thread.ChildThreadImpl.execute(ChildThreadImpl.java:199)
at lucee.runtime.thread.ChildThreadImpl.run(ChildThreadImpl.java:148)
Reply all
Reply to author
Forward
0 new messages