Hi, Over the past weeks I created several processes in Nifi in a DEV environment with Nifi running on a single Windows VM using an anonymous user. Today I was working on a process where one of the processors transformed a flowfile with a json array (coming from a ExecuteStreamCommandf with a python process producing the json array) into flowfiles each containing one json record.
After I started the run of the process I realized I had made a mistake in one of the processors and I decided to empty the queues before fixing the issue. The 'empty all queues' never finished, so I decided to end the Nifi server process (Ctrl-C in the Windows command processor). After rebooting Nifi I found the following error in the nifi-bootstrap.log file: 2020-12-24 13:55:57,563 INFO [NiFi Bootstrap Command Listener] org.apache.nifi.bootstrap.RunNiFi Apache NiFi now running and listening for Bootstrap requests on port 51689 2020-12-24 13:56:22,180 ERROR [NiFi logging handler] org.apache.nifi.StdErr WARNING: An illegal reflective access operation has occurred 2020-12-24 13:56:22,181 ERROR [NiFi logging handler] org.apache.nifi.StdErr WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector (file:/H:/NiFi-Install/nifi-1.12.1-bin/nifi-1.12.1/lib/java11/jaxb-impl-2.3.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) 2020-12-24 13:56:22,192 ERROR [NiFi logging handler] org.apache.nifi.StdErr WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector 2020-12-24 13:56:22,192 ERROR [NiFi logging handler] org.apache.nifi.StdErr WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations 2020-12-24 13:56:22,192 ERROR [NiFi logging handler] org.apache.nifi.StdErr WARNING: All illegal access operations will be denied in a future release The Nifi-app.log contained no errors The Nifi-user.log had one warning: 2020-12-24 13:56:43,603 WARN [main] o.a.n.w.s.o.StandardOidcIdentityProvider The OIDC provider is not configured or enabled Invoking nifi from the browser no longer worked. Have I lost all my work? Or, is there a way to recover from this issue. I did not have any versioning installed yet. Is there a way I can recover and get back to anonymous login via the browser? Is there a way to export created processing from the NiFi database, or to reuse that content after a fresh install? I could not find much on this topic in the NiFi System Administrator's Guide or on the internet that may help to fix the issue... With Kind Regards, Jan Klaver Worldline [email protected]<mailto:[email protected]> Visiting Address: Neptunusstraat 41-63, 2132 JA Hoofddorp worldline.com<https://worldline.com/>
