StringIndexOutOfBoundsException while editing or creating a post

Create issue
Issue #2756 open
Daniel Zoller created an issue
[org.bibsonomy.webapp.controller.actions.AbstractEditPublicationController] - could not extract hash and name from temp file. Filename was: 'Nigeria.pdf'
[2017-03-02 17:31:08,230] [ERROR] [org.bibsonomy.webapp.util.spring.controller.MinimalisticControllerSpringWrapper] - Could not complete controller (general exception) for request editPublication?ckey=fa89a716d2b9d77cb5805279a7eebb2d with referer http://www.bibsonomy.org/editPublication?ckey=fa89a716d2b9d77cb5805279a7eebb2d
java.lang.StringIndexOutOfBoundsException: String index out of range: 32
        at java.lang.String.substring(String.java:1963)
        at org.bibsonomy.webapp.controller.actions.AbstractEditPublicationController.preparePost(AbstractEditPublicationController.java:142)
        at org.bibsonomy.webapp.controller.actions.EditPublicationController.preparePost(EditPublicationController.java:203)
        at org.bibsonomy.webapp.controller.actions.EditPublicationController.preparePost(EditPublicationController.java:69)
        at org.bibsonomy.webapp.controller.actions.EditPostController.handleCreatePost(EditPostController.java:793)
        at org.bibsonomy.webapp.controller.actions.EditPostController.workOn(EditPostController.java:248)
        at org.bibsonomy.webapp.controller.actions.EditPostController.workOn(EditPostController.java:106)
        at org.bibsonomy.webapp.util.spring.controller.MinimalisticControllerSpringWrapper.handleRequestInternal(MinimalisticControllerSpringWrapper.java:294)

Comments (5)

  1. Log in to comment