manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wright <daddy...@gmail.com>
Subject Re: Fatal Error
Date Thu, 26 May 2011 12:52:52 GMT
Is it possible for your connector to return a null value from a
getConfiguration() method call?  This would be unlikely if it extended
BaseOutputConnector, but maybe it does not.

Karl

On Thu, May 26, 2011 at 8:43 AM,  <hokie@farzad.net> wrote:
> So I put log statements in all my methods, the last one called is
> setThreadContext.  Also I'm not sharing objects in threads, removed the id
> code all together.  May something is corrupt in the db tables?  I'm just
> trying edit an existing job.  I could try zapping the db table and starting
> over.
>
>        public void setThreadContext(IThreadContext threadContext) {
>                if (Logging.connectors.isEnabledFor(Level.DEBUG)) {
>                        Logging.connectors.debug("Connection handle
> requested");
>                }
>                try {
>                        super.setThreadContext(threadContext);
>                } catch (ManifoldCFException e) {
>                        e.printStackTrace();
>                }
>        }
>
>
> On Wed, 25 May 2011 18:14:29 -0400, Karl Wright <daddywri@gmail.com> wrote:
>>
>> My guess would be inadvertant cross-thread object sharing again.
>> Nothing significant has changed in ManifoldCF in this area in a long
>> while.
>>
>> Karl
>>
>> On Wed, May 25, 2011 at 6:10 PM,  <hokie@farzad.net> wrote:
>>>
>>> I'm getting some very strange errors internal errors.  I'd like to say I
>>> haven't done something, but something must of changed since the last
>>> time.
>>>  Any ideas where I should be looking?  Thanks!
>>>
>>> SEVERE: Servlet.service() for servlet [jsp] in context with path
>>> [/mcf-crawler-ui] threw exception [java.lang.NullPointerException] with
>>> root
>>> cause
>>> java.lang.NullPointerException
>>>        at
>>>
>>>
>>> org.apache.manifoldcf.agents.interfaces.OutputConnectorFactory$PoolKey.hashCode(OutputConnectorFactory.java:491)
>>>        at java.util.HashMap.get(Unknown Source)
>>>        at
>>>
>>>
>>> org.apache.manifoldcf.agents.interfaces.OutputConnectorFactory.release(OutputConnectorFactory.java:395)
>>>        at org.apache.jsp.editjob_jsp._jspService(editjob_jsp.java:606)
>>>        at
>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>>>        at
>>>
>>>
>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
>>>        at
>>>
>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:391)
>>>        at
>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
>>>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>>>        at
>>>
>>>
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
>>>        at
>>>
>>>
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>>        at
>>>
>>>
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
>>>        at
>>>
>>>
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
>>>        at
>>>
>>>
>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
>>>        at
>>>
>>>
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
>>>        at
>>>
>>>
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>>>        at
>>>
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)
>>>        at
>>>
>>>
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>>        at
>>>
>>>
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:395)
>>>        at
>>>
>>>
>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:250)
>>>        at
>>>
>>>
>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
>>>        at
>>>
>>>
>>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
>>>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
>>> Source)
>>>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
>>> Source)
>>>        at java.lang.Thread.run(Unknown Source)
>>>
>>>
>
>

Mime
View raw message