nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Kesselman (Jira)" <j...@apache.org>
Subject [jira] [Updated] (NIFI-7781) Bad nar crashes Jira
Date Tue, 01 Sep 2020 14:06:00 GMT

     [ https://issues.apache.org/jira/browse/NIFI-7781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joseph Kesselman updated NIFI-7781:
-----------------------------------
    Description: 
No matter what's broken about it, a bad nar should not be able to keep the rest of NiFi from
running. Catch and handle this exception. And preferably give us more information about what
the problem was than "unable to load" – was file not found, not a valid nar, in conflict
with other classes, written on a Thursday...

 

2020-08-31 23:58:20,960 ERROR [main] -> org.apache.nifi.NiFi -> Failure to launch NiFi
due to java.lang.IllegalStateException: Unable to load NAR with co
 java.lang.IllegalStateException: Unable to load NAR with coordinates com.ibm.rtwa:nifi-random-nar:1.0-SNAPSHOT
and working directory ./work/nar/extension
 at org.apache.nifi.nar.NarClassLoaders.load(NarClassLoaders.java:181)
 at org.apache.nifi.nar.NarClassLoaders.init(NarClassLoaders.java:119)
 at org.apache.nifi.NiFi.<init>(NiFi.java:134)
 at org.apache.nifi.NiFi.<init>(NiFi.java:72)
 at org.apache.nifi.NiFi.main(NiFi.java:301)

  was:
No matter what's broken about it, a bad nar should not be able to keep the rest of NiFi from
running. Catch and handle this exception.


2020-08-31 23:58:20,960 ERROR [main] -> org.apache.nifi.NiFi -> Failure to launch NiFi
due to java.lang.IllegalStateException: Unable to load NAR with co
java.lang.IllegalStateException: Unable to load NAR with coordinates com.ibm.rtwa:nifi-random-nar:1.0-SNAPSHOT
and working directory ./work/nar/extension
        at org.apache.nifi.nar.NarClassLoaders.load(NarClassLoaders.java:181)
        at org.apache.nifi.nar.NarClassLoaders.init(NarClassLoaders.java:119)
        at org.apache.nifi.NiFi.<init>(NiFi.java:134)
        at org.apache.nifi.NiFi.<init>(NiFi.java:72)
        at org.apache.nifi.NiFi.main(NiFi.java:301)


> Bad nar crashes Jira
> --------------------
>
>                 Key: NIFI-7781
>                 URL: https://issues.apache.org/jira/browse/NIFI-7781
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.11.4
>         Environment: Linux
>            Reporter: Joseph Kesselman
>            Priority: Major
>              Labels: exception-handling
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> No matter what's broken about it, a bad nar should not be able to keep the rest of NiFi
from running. Catch and handle this exception. And preferably give us more information about
what the problem was than "unable to load" – was file not found, not a valid nar, in conflict
with other classes, written on a Thursday...
>  
> 2020-08-31 23:58:20,960 ERROR [main] -> org.apache.nifi.NiFi -> Failure to launch
NiFi due to java.lang.IllegalStateException: Unable to load NAR with co
>  java.lang.IllegalStateException: Unable to load NAR with coordinates com.ibm.rtwa:nifi-random-nar:1.0-SNAPSHOT
and working directory ./work/nar/extension
>  at org.apache.nifi.nar.NarClassLoaders.load(NarClassLoaders.java:181)
>  at org.apache.nifi.nar.NarClassLoaders.init(NarClassLoaders.java:119)
>  at org.apache.nifi.NiFi.<init>(NiFi.java:134)
>  at org.apache.nifi.NiFi.<init>(NiFi.java:72)
>  at org.apache.nifi.NiFi.main(NiFi.java:301)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message