Expand my Community achievements bar.

Cannot start any workflow in AEM 6.3

Avatar

Level 4

Hi,

I'm getting this error whenever I try to start a workflow in AEM 6.3. We have started using 6.3 only now and I'm logged in as an admin and the workflow I initiated was "Request for activation" OOB itself. Please help.

wf_error.JPG

20 Replies

Avatar

Level 10

I tried the same in 6.3 and it worked fine for me.

Do you see any errors in the logs or browser ??

Can you try on any other instance and verify if you are seeing the same issue.

Thanks,

Lokesh

Avatar

Level 7

Did you get any solution for this ? I have administrators group and permissions to all the nodes of workflow but not able to start application specific workflows ?

Getting "Could not start workflow" message.

Any ideas ?

Thanks,

Sri

Avatar

Level 7

I see following when I tried OTB workflows:

3.12.2017 16:14:05.573 *ERROR* [sling-threadpool-aade99ba-9e87-41c1-bb3f-c30f2b2d3783-(apache-sling-job-thread-pool)-727-Granite Transient Workflow Queue(com/adobe/granite/workflow/transient/job/etc/workflow/models/dam/update_asset/jcr_content/model)] com.adobe.granite.workflow.core.job.JobHandler Error processing workflow job

java.lang.NullPointerException: null

at com.adobe.granite.workflow.core.jcr.WorkflowManager.getSimpleModelId(WorkflowManager.java:1088)

at com.adobe.granite.workflow.core.jcr.WorkflowManager.createWorkflowInstance(WorkflowManager.java:298)

at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:159)

at org.apache.sling.event.impl.jobs.JobConsumerManager$JobConsumerWrapper.process(JobConsumerManager.java:500)

at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.startJob(JobQueueImpl.java:291)

at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.access$100(JobQueueImpl.java:58)

at org.apache.sling.event.impl.jobs.queues.JobQueueImpl$1.run(JobQueueImpl.java:227)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

13.12.2017 16:14:07.601 *ERROR* [sling-threadpool-aade99ba-9e87-41c1-bb3f-c30f2b2d3783-(apache-sling-job-thread-pool)-728-Granite Transient Workflow Queue(com/adobe/granite/workflow/transient/job/etc/workflow/models/dam/update_asset/jcr_content/model)] com.adobe.granite.workflow.core.job.JobHandler Error processing workflow job

java.lang.NullPointerException: null

at com.adobe.granite.workflow.core.jcr.WorkflowManager.getSimpleModelId(WorkflowManager.java:1088)

at com.adobe.granite.workflow.core.jcr.WorkflowManager.createWorkflowInstance(WorkflowManager.java:298)

at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:159)

at org.apache.sling.event.impl.jobs.JobConsumerManager$JobConsumerWrapper.process(JobConsumerManager.java:500)

at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.startJob(JobQueueImpl.java:291)

at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.access$100(JobQueueImpl.java:58)

at org.apache.sling.event.impl.jobs.queues.JobQueueImpl$1.run(JobQueueImpl.java:227)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

I do not see anything in logs, when i try to start custom workflow. i get an alert "Could not start workflow" message.

Avatar

Level 10

Is this an updated AEM instance or a fresh install?

Avatar

Level 9

The log message complaning about worflow model id.   Sounds like version of that model does not exist.   Delete the workflow model in problamatic instance.  Create a package of that workflow model from another working instance & install in problamatic instance.

Thanks.

Avatar

Level 7

I deleted the workflow node and got the workflow package from local 6.3 instance where workflows are working.

Getting below log exceptions.

Avatar

Level 7

version is 6.3.0.2 ( CFP installed)

Thanks.

Avatar

Level 7

we had fresh 6.3 install and then CFP installed. now the version is 6.3.0.2

Avatar

Level 7

Can anyone tell me , if I am missing any cofigurations ?

In my local instance, I debug the code and i could see the "RUNNING" workflow in instances tab.

But in other environments "Could not start workflow" alert is coming.

Any help.

Avatar

Level 7

The following is the exception for Update Dam Asset Workflow

15.12.2017 11:42:08.466 *WARN* [Apache Sling Resource Resolver Finalizer Thread] org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl Closed unclosed ResourceResolver. The creation stacktrace is available on info log level.

15.12.2017 11:42:08.467 *INFO* [Apache Sling Resource Resolver Finalizer Thread] org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl Unclosed ResourceResolver was created here:

java.lang.Exception: Opening Stacktrace

at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl$ResolverReference.<init>(CommonResourceResolverFactoryImpl.java:521)

at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.register(CommonResourceResolverFactoryImpl.java:218)

at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.<init>(ResourceResolverImpl.java:101)

at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.<init>(ResourceResolverImpl.java:94)

at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.getResourceResolverInternal(CommonResourceResolverFactoryImpl.java:263)

at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.getResourceResolver(CommonResourceResolverFactoryImpl.java:173)

at org.apache.sling.resourceresolver.impl.ResourceResolverFactoryImpl.getResourceResolver(ResourceResolverFactoryImpl.java:105)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getResolver(SlingAuthenticator.java:791)

at org.apache.sling.auth.core.impl.SlingAuthenticator.doHandleSecurity(SlingAuthenticator.java:506)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleSecurity(SlingAuthenticator.java:460)

at org.apache.sling.extensions.webconsolesecurityprovider.internal.SlingWebConsoleSecurityProvider2.authenticate(SlingWebConsoleSecurityProvider2.java:69)

at org.apache.felix.webconsole.internal.servlet.OsgiManagerHttpContext.handleSecurity(OsgiManagerHttpContext.java:103)

at org.apache.felix.http.base.internal.service.ServletContextImpl.handleSecurity(ServletContextImpl.java:421)

at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:57)

at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:128)

at org.apache.felix.http.base.internal.dispatch.DispatcherServlet.service(DispatcherServlet.java:49)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)

at org.eclipse.jetty.server.Server.handle(Server.java:499)

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)

at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)

at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)

at java.lang.Thread.run(Thread.java:748)

15.12.2017 11:42:08.467 *WARN* [Apache Sling Resource Resolver Finalizer Thread] org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl Closed unclosed ResourceResolver. The creation stacktrace is available on info log level.

15.12.2017 11:42:08.467 *INFO* [Apache Sling Resource Resolver Finalizer Thread] org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl Unclosed ResourceResolver was created here:

java.lang.Exception: Opening Stacktrace

at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl$ResolverReference.<init>(CommonResourceResolverFactoryImpl.java:521)

at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.register(CommonResourceResolverFactoryImpl.java:218)

at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.<init>(ResourceResolverImpl.java:101)

at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.<init>(ResourceResolverImpl.java:94)

at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.getResourceResolverInternal(CommonResourceResolverFactoryImpl.java:263)

at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.getResourceResolver(CommonResourceResolverFactoryImpl.java:173)

at org.apache.sling.resourceresolver.impl.ResourceResolverFactoryImpl.getResourceResolver(ResourceResolverFactoryImpl.java:105)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getResolver(SlingAuthenticator.java:791)

at org.apache.sling.auth.core.impl.SlingAuthenticator.doHandleSecurity(SlingAuthenticator.java:506)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleSecurity(SlingAuthenticator.java:460)

at org.apache.sling.extensions.webconsolesecurityprovider.internal.SlingWebConsoleSecurityProvider2.authenticate(SlingWebConsoleSecurityProvider2.java:69)

at org.apache.felix.webconsole.internal.servlet.OsgiManagerHttpContext.handleSecurity(OsgiManagerHttpContext.java:103)

at org.apache.felix.http.base.internal.service.ServletContextImpl.handleSecurity(ServletContextImpl.java:421)

at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:57)

at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:128)

at org.apache.felix.http.base.internal.dispatch.DispatcherServlet.service(DispatcherServlet.java:49)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)

at org.eclipse.jetty.server.Server.handle(Server.java:499)

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)

at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)

at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)

at java.lang.Thread.run(Thread.java:748)

15.12.2017 11:42:08.467 *WARN* [Apache Sling Resource Resolver Finalizer Thread] org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl Closed unclosed ResourceResolver. The creation stacktrace is available on info log level.

15.12.2017 11:42:08.467 *INFO* [Apache Sling Resource Resolver Finalizer Thread] org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl Unclosed ResourceResolver was created here:

java.lang.Exception: Opening Stacktrace

at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl$ResolverReference.<init>(CommonResourceResolverFactoryImpl.java:521)

at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.register(CommonResourceResolverFactoryImpl.java:218)

at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.<init>(ResourceResolverImpl.java:101)

at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.<init>(ResourceResolverImpl.java:94)

at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.getResourceResolverInternal(CommonResourceResolverFactoryImpl.java:263)

at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.getResourceResolver(CommonResourceResolverFactoryImpl.java:173)

at org.apache.sling.resourceresolver.impl.ResourceResolverFactoryImpl.getResourceResolver(ResourceResolverFactoryImpl.java:105)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getResolver(SlingAuthenticator.java:791)

at org.apache.sling.auth.core.impl.SlingAuthenticator.doHandleSecurity(SlingAuthenticator.java:506)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleSecurity(SlingAuthenticator.java:460)

at org.apache.sling.extensions.webconsolesecurityprovider.internal.SlingWebConsoleSecurityProvider2.authenticate(SlingWebConsoleSecurityProvider2.java:69)

at org.apache.felix.webconsole.internal.servlet.OsgiManagerHttpContext.handleSecurity(OsgiManagerHttpContext.java:103)

at org.apache.felix.http.base.internal.service.ServletContextImpl.handleSecurity(ServletContextImpl.java:421)

at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:57)

at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:128)

at org.apache.felix.http.base.internal.dispatch.DispatcherServlet.service(DispatcherServlet.java:49)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)

at org.eclipse.jetty.server.Server.handle(Server.java:499)

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)

at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)

at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)

at java.lang.Thread.run(Thread.java:748)

15.12.2017 11:42:08.468 *WARN* [Apache Sling Resource Resolver Finalizer Thread] org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl Closed unclosed ResourceResolver. The creation stacktrace is available on info log level.

15.12.2017 11:42:08.468 *INFO* [Apache Sling Resource Resolver Finalizer Thread] org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl Unclosed ResourceResolver was created here:

java.lang.Exception: Opening Stacktrace

at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl$ResolverReference.<init>(CommonResourceResolverFactoryImpl.java:521)

at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.register(CommonResourceResolverFactoryImpl.java:218)

at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.<init>(ResourceResolverImpl.java:101)

at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.<init>(ResourceResolverImpl.java:94)

at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.getResourceResolverInternal(CommonResourceResolverFactoryImpl.java:263)

at org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl.getResourceResolver(CommonResourceResolverFactoryImpl.java:173)

at org.apache.sling.resourceresolver.impl.ResourceResolverFactoryImpl.getResourceResolver(ResourceResolverFactoryImpl.java:105)

at org.apache.sling.auth.core.impl.SlingAuthenticator.getResolver(SlingAuthenticator.java:791)

at org.apache.sling.auth.core.impl.SlingAuthenticator.doHandleSecurity(SlingAuthenticator.java:506)

at org.apache.sling.auth.core.impl.SlingAuthenticator.handleSecurity(SlingAuthenticator.java:460)

at org.apache.sling.extensions.webconsolesecurityprovider.internal.SlingWebConsoleSecurityProvider2.authenticate(SlingWebConsoleSecurityProvider2.java:69)

at org.apache.felix.webconsole.internal.servlet.OsgiManagerHttpContext.handleSecurity(OsgiManagerHttpContext.java:103)

at org.apache.felix.http.base.internal.service.ServletContextImpl.handleSecurity(ServletContextImpl.java:421)

at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:57)

at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:128)

at org.apache.felix.http.base.internal.dispatch.DispatcherServlet.service(DispatcherServlet.java:49)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)

at org.eclipse.jetty.server.Server.handle(Server.java:499)

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)

at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)

at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)

at java.lang.Thread.run(Thread.java:748)

15.12.2017 11:42:11.195 *WARN* [qtp10875848-130272] org.eclipse.jetty.http.HttpParser badMessage: 400 Unknown Version for HttpChannelOverHttp@4b97ae70{r=0,c=false,a=IDLE,uri=}

15.12.2017 11:42:11.426 *WARN* [qtp10875848-127056] org.eclipse.jetty.http.HttpParser badMessage: 400 Unknown Version for HttpChannelOverHttp@4dea2d45{r=0,c=false,a=IDLE,uri=}

15.12.2017 11:42:16.182 *WARN* [qtp10875848-137493] org.eclipse.jetty.http.HttpParser badMessage: 400 Unknown Version for HttpChannelOverHttp@740c9f15{r=0,c=false,a=IDLE,uri=}

15.12.2017 11:42:16.476 *WARN* [qtp10875848-137499] org.eclipse.jetty.http.HttpParser badMessage: 400 Unknown Version for HttpChannelOverHttp@6ae97a81{r=0,c=false,a=IDLE,uri=}

15.12.2017 11:42:19.973 *INFO* [sling-oak-observation-9357] org.apache.sling.event.impl.jobs.queues.JobQueueImpl.Granite Transient Workflow Queue Starting job queue Granite Transient Workflow Queue

15.12.2017 11:42:19.975 *INFO* [sling-oak-observation-9357] org.apache.sling.event Service [QueueMBean for queue Granite Transient Workflow Queue,77272, [org.apache.sling.event.jobs.jmx.StatisticsMBean]] ServiceEvent REGISTERED

15.12.2017 11:42:20.001 *ERROR* [sling-threadpool-aade99ba-9e87-41c1-bb3f-c30f2b2d3783-(apache-sling-job-thread-pool)-2049-Granite Transient Workflow Queue(com/adobe/granite/workflow/transient/job/etc/workflow/models/dam/update_asset/jcr_content/model)] com.adobe.granite.workflow.core.job.JobHandler Error processing workflow job

java.lang.NullPointerException: null

at com.adobe.granite.workflow.core.jcr.WorkflowManager.getSimpleModelId(WorkflowManager.java:1088)

at com.adobe.granite.workflow.core.jcr.WorkflowManager.createWorkflowInstance(WorkflowManager.java:298)

at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:159)

at org.apache.sling.event.impl.jobs.JobConsumerManager$JobConsumerWrapper.process(JobConsumerManager.java:500)

at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.startJob(JobQueueImpl.java:291)

at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.access$100(JobQueueImpl.java:58)

at org.apache.sling.event.impl.jobs.queues.JobQueueImpl$1.run(JobQueueImpl.java:227)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

15.12.2017 11:42:20.061 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.081 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.081 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.082 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.085 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.085 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.085 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.085 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.089 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.089 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.089 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.089 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.093 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.093 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.093 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.093 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.096 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.096 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.097 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.097 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.100 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.100 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.100 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.101 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.104 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.104 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.104 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.104 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.108 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.108 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.108 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.108 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.111 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.111 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.111 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.112 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.115 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.115 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.115 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.116 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.119 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.119 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.119 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.119 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.123 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.123 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.123 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.123 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.126 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.126 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.126 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:20.127 *WARN* [172.21.98.142 [1513363340023] GET /content/dam/best-western/destinations/multicard.assets.json HTTP/1.1] com.adobe.granite.xss.impl.XSSFilterImpl Cannot use custom policies.

15.12.2017 11:42:21.111 *WARN* [qtp10875848-137452] org.eclipse.jetty.http.HttpParser badMessage: 400 Unknown Version for HttpChannelOverHttp@55d6cee5{r=0,c=false,a=IDLE,uri=}

15.12.2017 11:42:21.407 *WARN* [qtp10875848-137493] org.eclipse.jetty.http.HttpParser badMessage: 400 Unknown Version for HttpChannelOverHttp@4e23235e{r=0,c=false,a=IDLE,uri=}

15.12.2017 11:42:22.018 *ERROR* [sling-threadpool-aade99ba-9e87-41c1-bb3f-c30f2b2d3783-(apache-sling-job-thread-pool)-2050-Granite Transient Workflow Queue(com/adobe/granite/workflow/transient/job/etc/workflow/models/dam/update_asset/jcr_content/model)] com.adobe.granite.workflow.core.job.JobHandler Error processing workflow job

java.lang.NullPointerException: null

at com.adobe.granite.workflow.core.jcr.WorkflowManager.getSimpleModelId(WorkflowManager.java:1088)

at com.adobe.granite.workflow.core.jcr.WorkflowManager.createWorkflowInstance(WorkflowManager.java:298)

at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:159)

at org.apache.sling.event.impl.jobs.JobConsumerManager$JobConsumerWrapper.process(JobConsumerManager.java:500)

at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.startJob(JobQueueImpl.java:291)

at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.access$100(JobQueueImpl.java:58)

at org.apache.sling.event.impl.jobs.queues.JobQueueImpl$1.run(JobQueueImpl.java:227)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

15.12.2017 11:42:24.037 *ERROR* [sling-threadpool-aade99ba-9e87-41c1-bb3f-c30f2b2d3783-(apache-sling-job-thread-pool)-2027-Granite Transient Workflow Queue(com/adobe/granite/workflow/transient/job/etc/workflow/models/dam/update_asset/jcr_content/model)] com.adobe.granite.workflow.core.job.JobHandler Error processing workflow job

java.lang.NullPointerException: null

at com.adobe.granite.workflow.core.jcr.WorkflowManager.getSimpleModelId(WorkflowManager.java:1088)

at com.adobe.granite.workflow.core.jcr.WorkflowManager.createWorkflowInstance(WorkflowManager.java:298)

at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:159)

at org.apache.sling.event.impl.jobs.JobConsumerManager$JobConsumerWrapper.process(JobConsumerManager.java:500)

at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.startJob(JobQueueImpl.java:291)

at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.access$100(JobQueueImpl.java:58)

at org.apache.sling.event.impl.jobs.queues.JobQueueImpl$1.run(JobQueueImpl.java:227)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

Avatar

Level 9

Hi,

Apache Sling Resource Resolver Finalizer Thread will close long unused session. You can ignore this.

Avatar

Level 7

Following is the log exception for Custom Application workflows:

15.12.2017 11:45:01.153 *WARN* [qtp10875848-137452] org.eclipse.jetty.http.HttpParser badMessage: 400 Unknown Version for HttpChannelOverHttp@514c65f2{r=0,c=false,a=IDLE,uri=}

15.12.2017 11:45:01.447 *WARN* [qtp10875848-137493] org.eclipse.jetty.http.HttpParser badMessage: 400 Unknown Version for HttpChannelOverHttp@35648fe2{r=0,c=false,a=IDLE,uri=}

15.12.2017 11:45:03.457 *ERROR* [172.21.98.142 [1513363503454] POST /etc/workflow/instances HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught Throwable

java.lang.NullPointerException: null

at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:192)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getNode(SessionImpl.java:303)

at com.adobe.granite.repository.impl.CRX3SessionImpl.getNode(CRX3SessionImpl.java:173)

at com.adobe.granite.workflow.core.jcr.WorkflowBucketManager.createWorkflowInstanceNode(WorkflowBucketManager.java:175)

at com.adobe.granite.workflow.core.jcr.WorkflowManager.createWorkflowInstance(WorkflowManager.java:300)

at com.adobe.granite.workflow.core.WorkflowSessionImpl.startWorkflow(WorkflowSessionImpl.java:1574)

at com.adobe.granite.workflow.console.servlet.InstancesServlet.doPost(InstancesServlet.java:98)

at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.java:149)

at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:346)

at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:378)

at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:552)

at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:44)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:77)

at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:156)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:375)

at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:190)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at com.day.cq.personalization.impl.TargetComponentFilter.doFilter(TargetComponentFilter.java:96)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:282)

at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChain.java:49)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:77)

at com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareAuthHandler.doFilter(AdhocAssetShareAuthHandler.java:436)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at com.day.cq.dam.core.impl.servlet.ActivityRecordHandler.doFilter(ActivityRecordHandler.java:154)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:73)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:73)

at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:109)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at com.adobe.cq.social.ugcbase.security.impl.SaferSlingPostServlet.doFilter(SaferSlingPostServlet.java:126)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at com.adobe.granite.rest.impl.servlet.ApiResourceFilter.doFilter(ApiResourceFilter.java:70)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at com.adobe.granite.requests.logging.impl.RequestLoggerImpl.doFilter(RequestLoggerImpl.java:113)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at com.adobe.granite.rest.assets.impl.AssetContentDispositionFilter.doFilter(AssetContentDispositionFilter.java:96)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at com.adobe.granite.csrf.impl.CSRFFilter.doFilter(CSRFFilter.java:217)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at org.apache.sling.security.impl.ContentDispositionFilter.doFilter(ContentDispositionFilter.java:180)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl.doFilter(AuthoringUIModeServiceImpl.java:367)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:248)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:73)

at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgressTrackerLogFilter.java:107)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at com.adobe.cq.social.commons.cors.CORSAuthenticationFilter.doFilter(CORSAuthenticationFilter.java:91)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at com.day.cq.wcm.foundation.forms.FormsHandlingServletHelper.handleFilter(FormsHandlingServletHelper.java:221)

at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.java:138)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at com.adobe.granite.optout.impl.OptOutFilter.doFilter(OptOutFilter.java:76)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at com.day.cq.wcm.foundation.forms.FormsHandlingServletHelper.handleFilter(FormsHandlingServletHelper.java:221)

at com.adobe.cq.wcm.core.components.internal.servlets.CoreFormHandlingServlet.doFilter(CoreFormHandlingServlet.java:131)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:90)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at com.adobe.cq.history.impl.HistoryRequestFilter.doFilter(HistoryRequestFilter.java:122)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at com.adobe.cq.mcm.campaign.servlets.CampaignCopyTracker.doFilter(CampaignCopyTracker.java:100)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:83)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at com.adobe.granite.httpcache.impl.InnerCacheFilter.doFilter(InnerCacheFilter.java:81)

at com.adobe.granite.httpcache.impl.InnerCacheFilter.doFilter(InnerCacheFilter.java:60)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:138)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:73)

at com.adobe.granite.resourceresolverhelper.impl.ResourceResolverHelperImpl.doFilter(ResourceResolverHelperImpl.java:83)

at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)

at org.apache.sling.engine.impl.SlingRequestProcessorImpl.doProcessRequest(SlingRequestProcessorImpl.java:151)

at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:219)

at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:85)

at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:79)

at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:308)

at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)

at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:96)

at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)

at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:295)

at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)

at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:138)

at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)

at org.apache.sling.featureflags.impl.FeatureManager.doFilter(FeatureManager.java:116)

at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)

at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:72)

at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)

at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:74)

at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:128)

at org.apache.felix.http.base.internal.dispatch.DispatcherServlet.service(DispatcherServlet.java:49)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)

at org.eclipse.jetty.server.Server.handle(Server.java:499)

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)

at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)

at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)

at java.lang.Thread.run(Thread.java:748)

15.12.2017 11:45:06.287 *WARN* [qtp10875848-137452] org.eclipse.jetty.http.HttpParser badMessage: 400 Unknown Version for HttpChannelOverHttp@4b413a85{r=0,c=false,a=IDLE,uri=}

15.12.2017 11:45:06.562 *WARN* [qtp10875848-137493] org.eclipse.jetty.http.HttpParser badMessage: 400 Unknown Version for HttpChannelOverHttp@1a451c35{r=0,c=false,a=IDLE,uri=}

Avatar

Level 9

the error indicates node is not visible & sounds like repository inconsistence. I would recommend to engage with official support.

Avatar

Level 3

Hi,

We are getting the same error after migrating from 6.1 to 6.3? any idea how this issue got fixed?

POST /etc/workflow/instances HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught Throwable

java.lang.NullPointerException: null

Avatar

Level 7

@vasudevaraog73192255

Could be due to corruption of content repo.

1. I would suggest to have a fresh instance , try out OTB workflows.

2. deploy the application code and try out custom workflow on OTB assets or pages.

3. deploy the content and try out custom workflow on application pages, assets

If above does not work, try out installing latest service pack ( i do not recommend it, as there is no way of knowing if service pack installed properly and it could bring up more new issues , has to do whole application testing again and not sure if there is a way to revert back the service pack )

in our app, we are trying to do above steps, will let you know once the test complete. You could also let me know, if any of the above works for you.

Thanks,

Sri

Avatar

Level 2
Level 2

@vasudevaraog73192255,

So I was running into this problem and tracked down several articles that pointed me to checking /system/console/configMgr/com.adobe.granite.workflow.core.WorkflowSessionFactory and seeing who the superusers were of the workflow. For some reason, I no longer had the "workflow-administrators" group defined in my instance, so I created it (and made the groups that it was part of and the user that was in the group match the out of the box setting).

This solved my problem.

Jit

Avatar

Level 3

Hi Jit,

We have a Group with "workflow-administrators" but still persisting the same issue.

1408873_pastedImage_0.png

Avatar

Level 2
Level 2

Hi vasudevaraog73192255​,

So to troubleshoot i would do the following:

  1. Check the defined workflow administrators [AEM Server]/system/console/configMgr/com.adobe.granite.workflow.core.WorkflowSessionFactory
  2. Add the problematic user to one of the groups defined in the OSGI config (Or you can add the user directly as one in that configuration as a test).
  3. Verify that the user can trigger the workflow (When i was troubleshooting, only the admin was able to successfully create a workflow, and the admin was defined there)
    1. If successful, then you know that there is a problem with how the group / membership is set up. A couple of things to try / check:
      • Compare the members of the groups defined in that config and see if it matches an out of the box setting
      • Make sure that wcm-workflow-service is a member of the workflow-administrators group
      • Make sure that the user has workflow rights (should be inherited via being in Authors or Contributors or DAM users... i don't remember off the top of my head)
    2. If not successful, then this is most likely another problem