Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
Description
On startup, we see this in the nifi-app.log:
2022-04-06 11:32:42,656 WARN [main] o.apache.nifi.documentation.DocGenerator Unable to document: class org.apache.nifi.processors.mongodb.gridfs.PutGridFS java.lang.NullPointerException: null at com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:458) at org.apache.nifi.documentation.html.HtmlDocumentationWriter.writeSimpleElement(HtmlDocumentationWriter.java:852) at org.apache.nifi.documentation.html.HtmlDocumentationWriter.writeProperties(HtmlDocumentationWriter.java:518) at org.apache.nifi.documentation.html.HtmlDocumentationWriter.writeBody(HtmlDocumentationWriter.java:160) at org.apache.nifi.documentation.html.HtmlDocumentationWriter.write(HtmlDocumentationWriter.java:92) at org.apache.nifi.documentation.DocGenerator.document(DocGenerator.java:142) at org.apache.nifi.documentation.DocGenerator.documentConfigurableComponent(DocGenerator.java:104) at org.apache.nifi.documentation.DocGenerator.generate(DocGenerator.java:65) at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:1028) at org.apache.nifi.NiFi.<init>(NiFi.java:170) at org.apache.nifi.NiFi.<init>(NiFi.java:82) at org.apache.nifi.NiFi.main(NiFi.java:330) 2022-04-06 11:32:42,657 WARN [main] o.apache.nifi.documentation.DocGenerator Unable to document: class org.apache.nifi.processors.standard.SegmentContent java.lang.NullPointerException: null at com.ctc.wstx.sw.BaseStreamWriter.writeCharacters(BaseStreamWriter.java:458) at org.apache.nifi.documentation.html.HtmlDocumentationWriter.writeSimpleElement(HtmlDocumentationWriter.java:852) at org.apache.nifi.documentation.html.HtmlDocumentationWriter.writeProperties(HtmlDocumentationWriter.java:518) at org.apache.nifi.documentation.html.HtmlDocumentationWriter.writeBody(HtmlDocumentationWriter.java:160) at org.apache.nifi.documentation.html.HtmlDocumentationWriter.write(HtmlDocumentationWriter.java:92) at org.apache.nifi.documentation.DocGenerator.document(DocGenerator.java:142) at org.apache.nifi.documentation.DocGenerator.documentConfigurableComponent(DocGenerator.java:104) at org.apache.nifi.documentation.DocGenerator.generate(DocGenerator.java:65) at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:1028) at org.apache.nifi.NiFi.<init>(NiFi.java:170) at org.apache.nifi.NiFi.<init>(NiFi.java:82) at org.apache.nifi.NiFi.main(NiFi.java:330)
For pretty much every component. As a result, the documentation is unavailable when clicking "View Usage"