Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
ManifoldCF 2.0.1
-
None
Description
The following exception gets thrown under some conditions:
Caused by: java.lang.NullPointerException at org.apache.manifoldcf.agents.interfaces.OutputConnectionManagerFactor y.getAllOutputActivities(OutputConnectionManagerFactory.java:74) at org.apache.manifoldcf.crawler.system.ManifoldCF.getActivitiesList(Man ifoldCF.java:1161) at org.apache.jsp.simplereport_jsp._jspService(simplereport_jsp.java:468 ) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:388) ... 44 more
This turns out to be related to difficulty getting a list of activities for a connector:
String[] activities = OutputConnectorFactory.getActivitiesList(tc,connection.getClassName()); for (String activityName : activities) { String activity = ManifoldCF.qualifyOutputActivityName(activityName,connectionName); map.add(activity); }
This probably occurs when there's a referenced but unregistered connector around.