Page 1 of 1
Upload files error information
PostPosted:Tue Jul 15, 2008 7:53 am
by Jim
No.1
My OpenKM.cfg content:
# Default configuration values
# repository.config=repository.xml
# repository.home=repository
# system.user=system
# default.user.role=UserRol
# default.admin.role=AdminRol
# principal.adapter=es.git.openkm.core.UsersRolesPrincipalAdapter
max.file.size=500
max.search.results=25
I upload one file(53M) into OpenKM,I got error information:
Exception: java.lang.NullPointerException
what\'s up??
No.2
I want to manage DWG files in OpenKM.How can I do it? Which mime type need I add into mime.types?I want to Index them in keywords too.
Re:Upload files error information
PostPosted:Tue Jul 15, 2008 3:32 pm
by pavila
- The confguration seems to be ok. Tell us about OpenKM version and post the server log.
- For adding new MIME types, see the FAQ.
... and please, use one forum thread for only one question.
Re:Upload files error information
PostPosted:Wed Jul 16, 2008 12:12 am
by Jim
well, thank pavila.:) My openkm version as below:
1.OpenKM 2.0
2.Jboss 4.2.2.GA
3.Windows XP SP2
4.JAVA JDK1.5
Please see the attached file for server log.
Re:Upload files error information
PostPosted:Wed Jul 16, 2008 12:25 am
by Jim
Server.log [file name=server-42b79cd8b43679e3b0a8abda2da949e8.zip size=63448]
http://www.openkm.com/images/fbfiles/fi ... a949e8.zip[/file]
Re:Upload files error information
PostPosted:Wed Jul 16, 2008 5:17 am
by tidus2728
Hi,
Can you send screenshots of the error message and the filename of the file you are uploading?
I can\'t seem to find the error message in the log..
Thanks
Re:Upload files error information
PostPosted:Wed Jul 16, 2008 9:49 am
by pavila
I don\'t see any \"NullPointerException\" in the log file.
Re:Upload files error information
PostPosted:Thu Jul 17, 2008 12:19 am
by Jim
Please see the attached files(screenshot and server.log). [file name=server-2860bc2cddc7a89c8b428d4a3fd33e04.zip size=60047]
http://www.openkm.com/images/fbfiles/fi ... d33e04.zip[/file]

Re:Upload files error information
PostPosted:Thu Jul 17, 2008 1:21 am
by tidus2728
Hi,
Can you also tell us the exact filename of the file you wish to upload?
It may be that the filename is too long or has too many special characters. You can try to rename the file with a very short filename with no special characters then try to upload.
Thanks.
Re:Upload files error information
PostPosted:Thu Jul 17, 2008 6:39 am
by Jim
It\'s DWG file,but I have uploaded some dwg files(less than 10M) successfully.I renamed it to try again,the error is same.
PS: MIME type :application/x-shellscript dwg
It caused?
Re:Upload files error information
PostPosted:Fri Jul 18, 2008 12:18 am
by tidus2728
Hi Jim,
Can you send the log file after the error occurred? Also did you add the dwg mime type as suggested in the other forum posts.
To make the log file short, stop OpenKM. Then start it again. Then upload the dwg file that has an error. Then send the log file after the error message has appeared. This will make the troubleshooting easier.
Thanks.