Any idea why I would get this failure on registering my connector. Hadn't seen it before. I was trying to setup a new system and was issuing commands to setup the database. Note I was able to register Null Output and File System connectors without error.

D:\Program Files\Apache\ManifoldCF\myMCF>processes\script\executecommand.bat org.apache.manifoldcf.agents.RegisterOutput org.apache.manifoldcf.agents.
output.dupfinder.DupFinderConnector DupFinder
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(OutputConnectorFactory.java:149) at org.apache.manifoldcf.agents.interfaces.OutputConnectorFactory.install(OutputConnectorFactory.java:50) at org.apache.manifoldcf.agents.outputconnmgr.OutputConnectorManager.registerConnector(OutputConnectorManager.java:180) at org.apache.manifoldcf.agents.RegisterOutput.doExecute(RegisterOutput.java:47) at org.apache.manifoldcf.agents.TransactionalAgentsInitializationCommand.execute(TransactionalAgentsInitializationCommand.java:43) at org.apache.manifoldcf.agents.RegisterOutput.main(RegisterOutput.java:70)

D:\Program Files\Apache\ManifoldCF\myMCF>processes\script\executecommand.bat org.apache.manifoldcf.agents.RegisterOutput org.apache.manifoldcf.agents.output.nullconnector.NullConnector NullOutput
Configuration file successfully read
Successfully registered output connector 'org.apache.manifoldcf.agents.output.nullconnector.NullConnector'

D:\Program Files\Apache\ManifoldCF\myMCF>processes\script\executecommand.bat org.apache.manifoldcf.crawler.Register org.apache.manifoldcf.crawler.connectors.filesystem.FileConnector FileSystem
Configuration file successfully read
Successfully registered connector 'org.apache.manifoldcf.crawler.connectors.filesystem.FileConnector'

D:\Program Files\Apache\ManifoldCF\myMCF>

Reply via email to