chrisdutz opened a new issue, #5280:
URL: https://github.com/apache/streampipes/issues/5280

   `AbstractParameterExtractor.getStaticPropertyByName` returns the result of 
the first top-level `StaticPropertyGroup`
   unconditionally:
   
   ```java
   } else if (p.getStaticPropertyType() == 
StaticPropertyType.StaticPropertyGroup) {
     return getStaticPropertyByName(((StaticPropertyGroup) 
p).getStaticProperties(), name);
   }
   ```
   
   When the name is not inside that group, the lookup returns `null` and never 
looks at the properties after the group.
   An adapter or processor that declares a group followed by other fields 
cannot find those fields through the extractor.
   
   In the same method, an alternatives property with no selected alternative 
(e.g. while a form is still being filled
   in) throws `NoSuchElementException` from `findFirst().get()`, although the 
caller already handles `null`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to