Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1469

Confusing Error Notifications when calling Analysis Menu

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 2.3.0-alpha1, 2.3.0
    • None
    • backend
    • None

      When
      I go to the Analysis menu.

      Then
      an error appears in the server log

      Expected Behavior
      Opening the Analysis menu is not an error at all. So I expect no error message when I enter the menu.

      15:54:51.472 [qtp346224929-294] WARN  o.c.o.s.e.r.ProcessDefinitionReader - Could not find process definition xml with key [] and version []
      15:54:51.473 [qtp346224929-294] ERROR o.c.o.r.p.GenericExceptionMapper - Mapping REST error
      java.lang.NullPointerException: null
              at org.camunda.optimize.service.es.reader.ProcessDefinitionReader.getFlowNodeNames(ProcessDefinitionReader.java:214)
              at org.camunda.optimize.rest.FlowNodeRestService.getFlowNodeNames(FlowNodeRestService.java:29)
              at sun.reflect.GeneratedMethodAccessor233.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:76)
              at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:148)
              at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:191)
              at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:243)
              at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:103)
              at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:493)
              at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:415)
              at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:104)
              at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:277)
              at org.glassfish.jersey.internal.Errors$1.call(Errors.java:272)
              at org.glassfish.jersey.internal.Errors$1.call(Errors.java:268)
              at org.glassfish.jersey.internal.Errors.process(Errors.java:316)
              at org.glassfish.jersey.internal.Errors.process(Errors.java:298)
              at org.glassfish.jersey.internal.Errors.process(Errors.java:268)
              at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:289)
              at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:256)
              at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:703)
              at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:416)
              at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:370)
              at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:389)
              at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:342)
              at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:229)
              at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
              at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:201)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
              at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)
              at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:301)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
              at org.camunda.optimize.jetty.LicenseFilter.doFilter(LicenseFilter.java:66)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
              at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
              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.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:258)
              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)
      

      Hint:
      This error message should only be shown if the log level is set to debug.

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              michael.schoettes Michael Schoettes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: