You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streampipes.apache.org by "MichaelKoch11 (via GitHub)" <gi...@apache.org> on 2026/07/01 11:11:25 UTC
Re: [D] NullPointerException when using custom adapter after deploying extension
GitHub user MichaelKoch11 closed a discussion: NullPointerException when using custom adapter after deploying extension
I created a new adapter and wanted to deploy it as a custom extension.
Steps I followed:
1. Created the adapter extension.
2. Built the Docker image.
3. Deployed the extension in Kubernetes.
4. Installed the extension in StreamPipes.
5. Tried to use the adapter in the UI.
When opening/using the adapter in the UI, I get the following error in the backend logs:
```
servlet.service() for servlet [dispatcherServlet] in context with path [/streampipes-backend] threw exception [Request processing failed: java.lang.NullPointerException: Cannot invoke "java.util.List.stream()" because the return value of "org.apache.streampipes.model.extensions.svcdiscovery.SpServiceRegistration.getSupportedScriptLanguages()" is null] with root cause
java.lang.NullPointerException: Cannot invoke "java.util.List.stream()" because the return value of "org.apache.streampipes.model.extensions.svcdiscovery.SpServiceRegistration.getSupportedScriptLanguages()" is null
at org.apache.streampipes.rest.impl.connect.TransformationScriptLanguageResource.getAll(TransformationScriptLanguageResource.java:63)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
```
Environment:
- Extension SDK version: `0.98`
- StreamPipes version: `0.99.0-SNAPSHOT`
- Deployment: Kubernetes
Could this be caused by an incompatibility between the SDK version and the StreamPipes version, or is this a bug?
Thanks!
GitHub link: https://github.com/apache/streampipes/discussions/4668
----
This is an automatically sent email for dev@streampipes.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@streampipes.apache.org