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

Pipeline with MQTT sink does not start

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Duplicate
    • None
    • 0.68.0
    • Pipeline Elements
    • None

    Description

      I created a pipeline with the 'Machine Data Simulator' as a source and MQTT publisher as a sink.

      When storing the pipeline the UI shows the following error: "Your pipeline could not be stored."

      It seems to be a problem with the secret static property. I also tried to set the values for the basic auth, but the error was the same. 

      In the backend this exception occurs:

      backend_1 | 09:58:30.390 SP [http-nio-8030-exec-1] ERROR o.a.c.c.C.[.[.[.[.a.s.b.StreamPipesResourceConfig] - Servlet.service() for servlet [org.apache.streampipes.backend.StreamPipesResourceConfig] in context with path [/streampipes-backend] threw exception [java.lang.NullPointerException] with root cause
      backend_1 | java.lang.NullPointerException: null
      backend_1 | at org.apache.streampipes.manager.secret.SecretVisitor.visit(SecretVisitor.java:99)
      backend_1 | at org.apache.streampipes.model.staticproperty.StaticPropertyAlternative.accept(StaticPropertyAlternative.java:79)
      backend_1 | at org.apache.streampipes.manager.secret.SecretVisitor.lambda$visit$1(SecretVisitor.java:106)
      backend_1 | at org.apache.streampipes.manager.secret.SecretVisitor$$Lambda$1232/0x00000000fc026e20.accept(Unknown Source)
      backend_1 | at java.util.ArrayList.forEach(ArrayList.java:1259)
      backend_1 | at org.apache.streampipes.manager.secret.SecretVisitor.visit(SecretVisitor.java:106)
      backend_1 | at org.apache.streampipes.model.staticproperty.StaticPropertyAlternatives.accept(StaticPropertyAlternatives.java:69)
      backend_1 | at org.apache.streampipes.manager.secret.SecretService.lambda$applyConfig$0(SecretService.java:49)
      backend_1 | at org.apache.streampipes.manager.secret.SecretService$$Lambda$537/0x000000003c147450.accept(Unknown Source)
      b

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: