Exceptions when creating a top-level community (dspace built from master branch)

114 views
Skip to first unread message

Pantelis Karamolegkos

unread,
May 25, 2016, 9:31:10 AM5/25/16
to DSpace Technical Support
DSpace6 based on checkout from the master branch, on Ubuntu 16.04, using Tomcat8 and Java8.

On a fresh install, after creating admin account, the following exception appears on the dspace.log when hitting the 'Upload a logo ' button while trying to add a 'top level community)


Admin Home Page --> Browse / Communities & Collections --> Create Top-Level Community --> Upload

2016-05-25 16:18:31,876 WARN  org.dspace.app.util.Util @ Unable to recoginze UUID from String "null". Will return null.
java.lang.IllegalArgumentException: Invalid UUID string: null
    at java.util.UUID.fromString(UUID.java:194)
    at org.dspace.app.util.Util.getUUIDParameter(Util.java:262)
    at org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.doDSPost(EditCommunitiesServlet.java:156)



(here is the entire stack trace)

The upload logo page comes up however and after selecting a file and clicking 'Upload', the following exception comes up:

2016-05-25 16:27:12,063 ERROR org.dspace.storage.bitstore.DSBitStoreService @ put(16994001143855103125446320897951791631, inputstream)
java.io.IOException: No such file or directory
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.createNewFile(File.java:1012)
    at org.dspace.storage.bitstore.DSBitStoreService.put(DSBitStoreService.java:125)
    at org.dspace.storage.bitstore.BitstreamStorageServiceImpl.store(BitstreamStorageServiceImpl.java:107)
    at org.dspace.content.BitstreamServiceImpl.create(BitstreamServiceImpl.java:101)
    at org.dspace.content.CommunityServiceImpl.setLogo(CommunityServiceImpl.java:220)
    at org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.processUploadLogo(EditCommunitiesServlet.java:966)



(full stack trace)


Pantelis Karamolegkos

unread,
May 25, 2016, 10:23:30 AM5/25/16
to DSpace Technical Support
The issue regarding the second exception was resolved after manually creating the assetstore folder under [dspace-inst] and granting tomcat8 rwx access to it!

Why was the assetstore folder not created automatically upon installation / build? Any ideas?
Reply all
Reply to author
Forward
0 new messages