manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [CONF] Apache Connectors Framework > How to Write an Output Connector
Date Thu, 21 Oct 2010 19:40:00 GMT
Space: Apache Connectors Framework (
Page: How to Write an Output Connector (

Comment added by Farzad:

When is the currentContext handle in BaseConnector valid? I tried to add an ID object, so
I can track the debug statements and the example wouldn't even start.

Object id = currentContext.get("id");
if (id == null) {"id", new Integer(idNum));

Here is the error message:

Configuration file successfully read
Exception in thread "main" java.lang.ClassCastException: java.lang.NullPointerException cannot
be cast to org.apache.manifoldcf.core.interfaces.ManifoldCFException
        at org.apache.manifoldcf.agents.interfaces.OutputConnectorFactory.getConnectorNoCheck(
        at org.apache.manifoldcf.agents.interfaces.OutputConnectorFactory.deinstall(
        at org.apache.manifoldcf.agents.outputconnmgr.OutputConnectorManager.unregisterConnector(
        at org.apache.manifoldcf.jettyrunner.ManifoldCFJettyRunner.main(

Change your notification preferences:

View raw message