I think the NullPointerException is resolved in 0.4.0 with this ticket:
https://issues.apache.org/jira/browse/NIFI-975

The stacktrace above coming from line 644 which used to be:

property =
context.getProperty(descriptor).evaluateAttributeExpressions(flowFile).getValue().getBytes();

and is now:

final String value =
context.getProperty(descriptor).evaluateAttributeExpressions(flowFile).getValue();
if (value != null) {
  property = value.getBytes();
}


On Sun, Dec 13, 2015 at 9:02 PM, Matt Burgess <mattyb...@gmail.com> wrote:

> I'm thinking a PutElasticsearch processor to do bulk uploads of 1+ flow
> files (the batch size configurable), and another Get/Search Elasticsearch
> to use the search capability. Do you picture others, and/or more advanced
> options like specifying the index and creating it if it does not exist?
> Your experience and input are most welcome :)
>
> Regards,
> Matt
>
> Sent from my iPhone
>
> > On Dec 13, 2015, at 7:08 PM, Igor K. <igork.ine...@gmail.com> wrote:
> >
> > Hi Matt,
> >
> > I will try to use bot PostHTML and InvokeHTML and see what happens.
> > Regarding to make things easier... It would be nice to have the ability
> to
> > insert one or multiple documents. The same with querying.
> > Not sure if it is possible to implement in one processor.
> >
> >
> >
> > --
> > View this message in context:
> http://apache-nifi-developer-list.39713.n7.nabble.com/MergeContent-processor-set-demarcator-as-new-line-tp5747p5750.html
> > Sent from the Apache NiFi Developer List mailing list archive at
> Nabble.com.
>

Reply via email to