Uploaded image for project: 'StreamPipes'
  1. StreamPipes
  2. STREAMPIPES-244

JS Evalutor is not working in docker

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.67.0
    • Pipeline Elements
    • None

    Description

      During runtime there is a null pointer in the JS evaluator when running in docker.

       

      pipeline-elements-all-jvm_1    | java.lang.NullPointerException
      pipeline-elements-all-jvm_1    |        at org.apache.streampipes.processors.enricher.jvm.processor.jseval.JSEval.onInvocation(JSEval.java:45)
      pipeline-elements-all-jvm_1    |        at org.apache.streampipes.processors.enricher.jvm.processor.jseval.JSEval.onInvocation(JSEval.java:33)
      pipeline-elements-all-jvm_1    |        at org.apache.streampipes.wrapper.standalone.runtime.StandaloneEventProcessorRuntime.bindEngine(StandaloneEventProcessorRuntime.java:89)
      pipeline-elements-all-jvm_1    |        at org.apache.streampipes.wrapper.standalone.runtime.StandaloneEventProcessorRuntime.bindRuntime(StandaloneEventProcessorRuntime.java:64)
      pipeline-elements-all-jvm_1    |        at org.apache.streampipes.wrapper.declarer.PipelineElementDeclarer.invokeEPRuntime(PipelineElementDeclarer.java:40)
      pipeline-elements-all-jvm_1    |        at org.apache.streampipes.wrapper.declarer.EventProcessorDeclarer.invokeRuntime(EventProcessorDeclarer.java:44)
      pipeline-elements-all-jvm_1    |        at org.apache.streampipes.wrapper.declarer.EventProcessorDeclarer.invokeRuntime(EventProcessorDeclarer.java:30)
      pipeline-elements-all-jvm_1    |        at org.apache.streampipes.container.api.InvocableElement.invokeRuntime(InvocableElement.java:76)
      pipeline-elements-all-jvm_1    |        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      pipeline-elements-all-jvm_1    |        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      pipeline-elements-all-jvm_1    |        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      pipeline-elements-all-jvm_1    |        at java.lang.reflect.Method.invoke(Unknown Source)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$$Lambda$563/000000005C22CEC0.invoke(Unknown Source)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
      pipeline-elements-all-jvm_1    |        at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
      pipeline-elements-all-jvm_1    |        at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
      pipeline-elements-all-jvm_1    |        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
      pipeline-elements-all-jvm_1    |        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
      pipeline-elements-all-jvm_1    |        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
      pipeline-elements-all-jvm_1    |        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      pipeline-elements-all-jvm_1    |        at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
      pipeline-elements-all-jvm_1    |        at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
      pipeline-elements-all-jvm_1    |        at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
      pipeline-elements-all-jvm_1    |        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      pipeline-elements-all-jvm_1    |        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:269)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:78)
      pipeline-elements-all-jvm_1    |        at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:99)
      pipeline-elements-all-jvm_1    |        at io.undertow.server.Connectors.executeRootHandler(Connectors.java:370)
      pipeline-elements-all-jvm_1    |        at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830)
      pipeline-elements-all-jvm_1    |        at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      pipeline-elements-all-jvm_1    |        at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)
      pipeline-elements-all-jvm_1    |        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)
      pipeline-elements-all-jvm_1    |        at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449)
      pipeline-elements-all-jvm_1    |        at java.lang.Thread.run(Unknown Source)

      Attachments

        Activity

          People

            Unassigned Unassigned
            zehnder Philipp Zehnder
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: