[
https://issues.apache.org/jira/browse/STREAMPIPES-390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17371286#comment-17371286
]
Patrick Wiener commented on STREAMPIPES-390:
--------------------------------------------
This is related to my observation here:
https://issues.apache.org/jira/browse/STREAMPIPES-299
It seems the StaticPropertyAlternative does respect the default set value even
though correctly rendered in the UI. I found a quick-test to see if its working
is to actively select another option then go back to the default one. This
worked for me at least. This lead me to the assumption that it's a UI back
rather that a backend/PE issue.
> Pipeline with MQTT sink does not start
> --------------------------------------
>
> Key: STREAMPIPES-390
> URL: https://issues.apache.org/jira/browse/STREAMPIPES-390
> Project: StreamPipes
> Issue Type: Bug
> Components: Pipeline Elements
> Reporter: Philipp Zehnder
> Priority: Blocker
> Fix For: 0.68.0
>
>
> 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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)