[jira] [Resolved] (CONNECTORS-1222) Getting list of activities fails when there's an unregistered connector
[ https://issues.apache.org/jira/browse/CONNECTORS-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Wright resolved CONNECTORS-1222. - Resolution: Fixed r1690665 (trunk) r1690666 (dev_1x) Getting list of activities fails when there's an unregistered connector --- Key: CONNECTORS-1222 URL: https://issues.apache.org/jira/browse/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: {code} 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 {code} This turns out to be related to difficulty getting a list of activities for a connector: {code} String[] activities = OutputConnectorFactory.getActivitiesList(tc,connection.getClassName()); for (String activityName : activities) { String activity = ManifoldCF.qualifyOutputActivityName(activityName,connectionName); map.add(activity); } {code} This probably occurs when there's a referenced but unregistered connector around. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CONNECTORS-1222) Getting list of activities fails when there's an unregistered connector
Karl Wright created CONNECTORS-1222: --- Summary: Getting list of activities fails when there's an unregistered connector Key: CONNECTORS-1222 URL: https://issues.apache.org/jira/browse/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: {code} 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 {code} This turns out to be related to difficulty getting a list of activities for a connector: {code} String[] activities = OutputConnectorFactory.getActivitiesList(tc,connection.getClassName()); for (String activityName : activities) { String activity = ManifoldCF.qualifyOutputActivityName(activityName,connectionName); map.add(activity); } {code} This probably occurs when there's a referenced but unregistered connector around. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
Build failed in Jenkins: ManifoldCF-ant #404
See https://builds.apache.org/job/ManifoldCF-ant/404/changes Changes: [kwright] Fix for CONNECTORS-1222. -- [...truncated 4583 lines...] compile-pull-agent: jar-pull-agent: compile-jetty-runner: jar-jetty-runner: compile-script-engine: jar-script-engine: lib: process-lib-classpath: lib-proprietary: process-lib-proprietary-classpath: database-lib-classpath: jetty-lib-classpath: setup-start-processes-proprietary: general-set-start-classpath: compile-authority-servlet: jar-authority-servlet: compile-authority-service: webapp-authority-service: war-authority-service: compile-api-servlet: jar-api-servlet: compile-api-service: webapp-api-service: war-api-service: compile-crawler-ui: webapp-crawler-ui: war-crawler-ui: compile-combined-service: webapp-combined-service: war-combined-service: wars: webapp-authority-service-proprietary: [copy] Copying 3 files to https://builds.apache.org/job/ManifoldCF-ant/ws/framework/build/webapp/authority-service-proprietary/WEB-INF/lib war-authority-service-proprietary: [war] Building war: https://builds.apache.org/job/ManifoldCF-ant/ws/framework/build/war-proprietary/mcf-authority-service.war webapp-api-service-proprietary: [copy] Copying 3 files to https://builds.apache.org/job/ManifoldCF-ant/ws/framework/build/webapp/api-service-proprietary/WEB-INF/lib war-api-service-proprietary: [war] Building war: https://builds.apache.org/job/ManifoldCF-ant/ws/framework/build/war-proprietary/mcf-api-service.war webapp-crawler-ui-proprietary: [copy] Copying 3 files to https://builds.apache.org/job/ManifoldCF-ant/ws/framework/build/webapp/crawler-ui-proprietary/WEB-INF/lib war-crawler-ui-proprietary: [war] Building war: https://builds.apache.org/job/ManifoldCF-ant/ws/framework/build/war-proprietary/mcf-crawler-ui.war webapp-combined-service-proprietary: [copy] Copying 3 files to https://builds.apache.org/job/ManifoldCF-ant/ws/framework/build/webapp/combined-service-proprietary/WEB-INF/lib war-combined-service-proprietary: [war] Building war: https://builds.apache.org/job/ManifoldCF-ant/ws/framework/build/war-proprietary/mcf-combined-service.war wars-proprietary: [copy] Copying 4 files to https://builds.apache.org/job/ManifoldCF-ant/ws/framework/dist/web-proprietary/war compile-connector-common: jar-connector-common: connector-common-lib: example-common: script-engine: preclean-engine-processes: [delete] Deleting: https://builds.apache.org/job/ManifoldCF-ant/ws/framework/dist/script-engine/options.env.win [delete] Deleting: https://builds.apache.org/job/ManifoldCF-ant/ws/framework/dist/script-engine/options.env.unix scripts-common: scripts-engine: [copy] Copying 2 files to https://builds.apache.org/job/ManifoldCF-ant/ws/framework/dist/script-engine compile-core: jar-core: compile-ui-core: jar-ui-core: compile-agents: jar-agents: compile-pull-agent: jar-pull-agent: compile-jetty-runner: jar-jetty-runner: compile-script-engine: jar-script-engine: lib: engine-lib-classpath: setup-engine-processes: general-set-engine-classpath: obfuscation-utility: preclean-obfuscate-processes: [delete] Deleting: https://builds.apache.org/job/ManifoldCF-ant/ws/framework/dist/obfuscation-utility/options.env.win [delete] Deleting: https://builds.apache.org/job/ManifoldCF-ant/ws/framework/dist/obfuscation-utility/options.env.unix scripts-common: scripts-obfuscate: [copy] Copying 2 files to https://builds.apache.org/job/ManifoldCF-ant/ws/framework/dist/obfuscation-utility compile-core: jar-core: compile-ui-core: jar-ui-core: compile-agents: jar-agents: compile-pull-agent: jar-pull-agent: compile-jetty-runner: jar-jetty-runner: compile-script-engine: jar-script-engine: lib: obfuscate-lib-classpath: setup-obfuscate-processes: general-set-obfuscate-classpath: buildfiles: compile-core-tests: jar-core-tests: compile-agents-tests: jar-agents-tests: compile-pull-agent-tests: jar-pull-agent-tests: compile-script-engine-tests: jar-script-engine-tests: jar-tests: test-lib: build: deliver-framework: [copy] Copying 4 files to https://builds.apache.org/job/ManifoldCF-ant/ws/dist/web-proprietary [copy] Copying 3 files to https://builds.apache.org/job/ManifoldCF-ant/ws/dist/lib-proprietary [copy] Copying 7 files to https://builds.apache.org/job/ManifoldCF-ant/ws/dist/multiprocess-file-example [copy] Copying 7 files to https://builds.apache.org/job/ManifoldCF-ant/ws/dist/multiprocess-file-example-proprietary [copy] Copying 9 files to https://builds.apache.org/job/ManifoldCF-ant/ws/dist/multiprocess-zk-example [copy] Copying 9 files to https://builds.apache.org/job/ManifoldCF-ant/ws/dist/multiprocess-zk-example-proprietary [copy] Copying 5 files to https://builds.apache.org/job/ManifoldCF-ant/ws/dist/example [copy] Copying 6 files to