manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <>
Subject [jira] [Created] (CONNECTORS-1222) Getting list of activities fails when there's an unregistered connector
Date Mon, 13 Jul 2015 13:06:04 GMT
Karl Wright created CONNECTORS-1222:

             Summary: Getting list of activities fails when there's an unregistered connector
                 Key: CONNECTORS-1222
             Project: ManifoldCF
          Issue Type: Bug
          Components: Framework agents process
    Affects Versions: ManifoldCF 2.0.1
            Reporter: Karl Wright
            Assignee: Karl Wright
             Fix For: ManifoldCF 1.10, ManifoldCF 2.2

The following exception gets thrown under some conditions:

Caused by: java.lang.NullPointerException
        at org.apache.manifoldcf.agents.interfaces.OutputConnectionManagerFactor
        at org.apache.manifoldcf.crawler.system.ManifoldCF.getActivitiesList(Man
        at org.apache.jsp.simplereport_jsp._jspService(
        at org.apache.jasper.runtime.HttpJspBase.service(
        at javax.servlet.http.HttpServlet.service(
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
        ... 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);

This probably occurs when there's a referenced but unregistered connector around.

This message was sent by Atlassian JIRA

View raw message