You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by markap14 <gi...@git.apache.org> on 2017/01/13 17:42:15 UTC

[GitHub] nifi issue #1413: NIFI-1135: Returning event summaries instead of full event...

Github user markap14 commented on the issue:

    https://github.com/apache/nifi/pull/1413
  
    @mcgilman very cool to have this making its way into NiFi! I did some testing, and things work well for the most part. However, I did hit a NPE when running in non-cluster mode:
    
    ```
    2017-01-13 17:39:42,680 ERROR [NiFi Web Server-33] o.a.nifi.web.api.config.ThrowableMapper An unexpected error has occurred: java.lang.NullPointerException. Returning Internal Server Error response.
    java.lang.NullPointerException: null
            at org.apache.nifi.web.api.ProvenanceEventResource.getProvenanceEvent(ProvenanceEventResource.java:293) ~[classes/:na]
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_111]
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_111]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_111]
            at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111]
    ```
    
    Looks like the resource is calling getClusterCoordinator() and not expecting a 'null' to be returned. But in standalone mode, there's no Cluster Coordinator.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---