You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (Jira)" <ji...@apache.org> on 2026/01/05 10:36:04 UTC
[jira] [Resolved] (NIFI-9232) NiFI Registry upload-bundle
[ https://issues.apache.org/jira/browse/NIFI-9232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pierre Villard resolved NIFI-9232.
----------------------------------
Resolution: Feedback Received
Apache NiFi 1.x is no longer maintained and no new release is planned on the 1.x release line. Marking as resolved as part of a cleanup operation. Please open a new one with an updated description if this is still relevant for NiFi 2.x.
> NiFI Registry upload-bundle
> ----------------------------
>
> Key: NIFI-9232
> URL: https://issues.apache.org/jira/browse/NIFI-9232
> Project: Apache NiFi
> Issue Type: Bug
> Components: NiFi Registry
> Affects Versions: 1.14.0
> Environment: Standard Linux NiFi environment
> Reporter: Michal Struzek
> Priority: Trivial
>
> Apache NiFi Registry with release 1.14.0
>
> ----------------- Issue Reproduction
> > bin/cli.sh registry upload-bundle --bucketIdentifier eac8c132-4f01-4468-bb3a-9f42067e4caf -ebt nifi-nar -ebf /opt/nifi-1.14.0/lib/nifi-mqtt-nar-1.14.0.nar -u [http://127.0.0.1:18080|http://127.0.0.1:18080/]
>
> > ERROR: Error executing command 'upload-bundle' : Error creating extension bundle version: An unexpected error has occurred. Please check the logs for additional details.
>
> org.apache.nifi.registry.service.extension.StandardExtensionService#getExtensionEntities : 336
>
> {code:java}
> // NullPointerException.class from getRestrictions() from missing branch when mapping extension
>
> extensionEntity.getRestrictions().forEach(r -> {
> r.setId(UUID.randomUUID().toString());
> r.setExtensionId(extensionEntity.getId());
> });
> {code}
>
> org.apache.nifi.registry.service.mapper.ExtensionMappings:213
> {code:java}
> if (extension.getRestricted() != null) {
> if (extension.getRestricted().getRestrictions() != null) {
> entity.setRestrictions(extension.getRestricted().getRestrictions().stream()
> .map(r -> map(r))
> .collect(Collectors.toSet()));
> }
> } else {
> entity.setRestrictions(Collections.emptySet());
> }
> {code}
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)