Resolve error "Designer Inspection Failed" in Dataflow for Spectrum 9 SP 1 Enterprise

Product Feature: Enterprise Designer

Issue

When using an Inspection Point in Spectrum 9 SP 1, we see an Inspection error that reads "Data inspection failed." as well as an Inspect error that reads "There is a problem on inspecting the dataflow." that will appear sporadically.

User-added image

User-added image

Below is an associated wrapper.log error message:

ERROR [AbstractFaultChainInitiatorObserver] Error occurred during error handling, give up!
org.apache.cxf.interceptor.Fault: Unregistered streamId=23d01816-4e60-41dc-8327-8defa72d9289
at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:162) ~[cxf-api-2.7.7.jar:2.7.7]
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:128) ~[cxf-api-2.7.7.jar:2.7.7]
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:192) ~[cxf-rt-frontend-jaxrs-2.7.7.jar:2.7.7]
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:100) ~[cxf-rt-frontend-jaxrs-2.7.7.jar:2.7.7]
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:57) ~[cxf-api-2.7.7.jar:2.7.7]
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:93) ~[cxf-api-2.7.7.jar:2.7.7]
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272) ~[cxf-api-2.7.7.jar:2.7.7]
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) [cxf-api-2.7.7.jar:2.7.7]
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:239) [cxf-rt-transports-http-2.7.7.jar:2.7.7]
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:248) [cxf-rt-transports-http-2.7.7.jar:2.7.7]
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:222) [cxf-rt-transports-http-2.7.7.jar:2.7.7]
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:153) [cxf-rt-transports-http-2.7.7.jar:2.7.7]
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:167) [cxf-rt-transports-http-2.7.7.jar:2.7.7]
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286) [cxf-rt-transports-http-2.7.7.jar:2.7.7]
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:211) [cxf-rt-transports-http-2.7.7.jar:2.7.7]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:735) [javax.servlet-3.0.0.v201112011016.jar:na]
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262) [cxf-rt-transports-http-2.7.7.jar:2.7.7]
at com.pb.spectrum.platform.server.common.manager.service.soap.RemoteServerForwardingServlet.service(RemoteServerForwardingServlet.java:56) [spectrum-server-common-manager-service-9.1.jar:9.1]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:698) [jetty-servlet-9.0.6.v20130930.jar:9.0.6.v20130930]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1509) [jetty-servlet-9.0.6.v20130930.jar:9.0.6.v20130930]
at com.g1.dcg.server.jetty.SecurityContextFilter.doFilter(SecurityContextFilter.java:26) [spectrum-server-servlet-jetty-9.1.jar:9.1]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1489) [jetty-servlet-9.0.6.v20130930.jar:9.0.6.v20130930]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:517) [jetty-servlet-9.0.6.v20130930.jar:9.0.6.v20130930]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:138) [jetty-server-9.0.6.v20130930.jar:9.0.6.v20130930]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:540) [jetty-security-9.0.6.v20130930.jar:9.0.6.v20130930]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:213) [jetty-server-9.0.6.v20130930.jar:9.0.6.v20130930]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1097) [jetty-server-9.0.6.v20130930.jar:9.0.6.v20130930]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:446) [jetty-servlet-9.0.6.v20130930.jar:9.0.6.v20130930]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:175) [jetty-server-9.0.6.v20130930.jar:9.0.6.v20130930]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1031) [jetty-server-9.0.6.v20130930.jar:9.0.6.v20130930]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136) [jetty-server-9.0.6.v20130930.jar:9.0.6.v20130930]
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:200) [jetty-server-9.0.6.v20130930.jar:9.0.6.v20130930]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [jetty-server-9.0.6.v20130930.jar:9.0.6.v20130930]
at org.eclipse.jetty.server.Server.handle(Server.java:445) [jetty-server-9.0.6.v20130930.jar:9.0.6.v20130930]
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:269) [jetty-server-9.0.6.v20130930.jar:9.0.6.v20130930]
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:229) [jetty-server-9.0.6.v20130930.jar:9.0.6.v20130930]
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:358) [jetty-io-9.0.6.v20130930.jar:9.0.6.v20130930]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:601) [jetty-util-9.0.6.v20130930.jar:9.0.6.v20130930]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:532) [jetty-util-9.0.6.v20130930.jar:9.0.6.v20130930]
at java.lang.Thread.run(Thread.java:722) [na:1.7.0_17]
Caused by: java.lang.IllegalStateException: Unregistered streamId=23d01816-4e60-41dc-8327-8defa72d9289
at com.pb.spectrum.platform.server.runtime.core.protocol.esclient.queue.QueueStreamFactory.getEntry(QueueStreamFactory.java:148) ~[spectrum-server-runtime-core-9.1.jar:9.1]
at com.pb.spectrum.platform.server.runtime.core.protocol.esclient.queue.QueueStreamFactory.createInputStream(QueueStreamFactory.java:81) ~[spectrum-server-runtime-core-9.1.jar:9.1]
at com.pb.spectrum.platform.server.runtime.core.protocol.esclient.ESClientStreamConnection.getInputStream(ESClientStreamConnection.java:35) ~[spectrum-server-runtime-core-9.1.jar:9.1]
at com.pb.spectrum.platform.server.runtime.core.protocol.esclient.ESClientURLConnection.getInputStream(ESClientURLConnection.java:71) ~[spectrum-server-runtime-core-9.1.jar:9.1]
at com.pb.spectrum.platform.server.runtime.core.ws.protocol.esclient.ESClientJAXRSService.getStream(ESClientJAXRSService.java:42) ~[spectrum-server-runtime-core-ws-9.1.jar:9.1]
at sun.reflect.GeneratedMethodAccessor521.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_17]
at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_17]
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180) ~[cxf-api-2.7.7.jar:2.7.7]
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96) ~[cxf-api-2.7.7.jar:2.7.7]
... 38 common frames omitted

Cause

This is a known issue for Spectrum 9 SP 1 that appears when an an inspection point takes longer than 5 seconds to inspect with Enterprise Designer.

Resolution

UPDATED: October 19, 2017
This issue is resolved by applying the CDQ 9.0 S23 patch.  Below are the patch notes:

Flow inspection will fail if one of the stages takes more than 5 seconds to finish. This patch is intended for customers.
server\app\lib\spectrum-server-runtime-core-9.1.jar

This product update fixes a problem where dataflow inspection in Enterprise Designer fails if a stage takes longer than five seconds to execute.

This patch will also be included within the Spectrum 9 SP 2 release.