• java.lang.NullPointerException when bulk uploading documents

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #47542  by kefren69
 
Hello Forum,

I am on tomcat 8.5.24
OKM 6.3.6

I want to upload a document bulk via the administrative utility.
The utility seems to fail immediately and I think found why.
When navigating in the folders if I try to enter a folder with a special character french (which by chance is the first folder in list) the exception in subject is raised.
No error is raised if I navigate into any other folder which does not contain any special character.
On the other side if I tried to used the single document loading I can enter in the directory with special characters and correctly load the document.

Anything I forgot to configure?

thanks in advance

Giancarlo
 #47548  by kefren69
 
Actually an error is raised in the consolle…
Code: Select all
2019-03-01 08:59:01,932 [http-nio-0.0.0.0-8080-exec-2] ERROR c.o.e.servlet.DataBrowserServlet - null
java.lang.NullPointerException: null
I removed the OPENKM directory in the webapps to rebuild the packge but no luck.
I browsed the forum a little more in depth and the issue was reported in the past but no solutions have been provided

Regards

Giancarlo
 #47555  by jllort
 
Rebuild OpenKM.war has not sense.
We need more detailed description of the error:
1- catalina.log file ( when the error happened, does not share 2 days of catalina.log file )
2- some screenshot for better understanding of the error
 #47566  by kefren69
 
Thanks for the follow up.

Here the sequence...:

I navigate to the "administration" tab and click on the "import" tab - so far so good

Files are all local on C:/IKM

I click on File system path abd navigate where I need :

https://drive.google.com/open?id=1CT6ee ... D4WOv5fG8K

I click on directory (note the special french characters) path and I get the error :

https://drive.google.com/open?id=1-6dLJ ... jKJloo0Rag

Finally the Log on the Java consolle (I guess it is catalina response)

https://drive.google.com/open?id=1C7lvM ... C0rf30GRn5

Let me know if you have everything...

note : if I access the folder from the normal document load it works welll. Clearly I cannot load the documents one by one.

Thanks in advance

GIancarlo
 #47567  by kefren69
 
I did a test and created 2 directories :

~test
¡test

The first special character belongs to the first UTF8 section and I can navigate into it (~test) .
The second (¡test) has a special character which belongs to the extended UTF8 character sets.
Both are ok when I navigate in the W10 files explorer
When I navigate with the databrowser of OPKM I can navigate in the first directory but not in the second raising the same error

https://drive.google.com/open?id=1-6dLJ ... jKJloo0Rag


It may help....

Giancarlo

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.