StringIndexOutOfBoundsException when deleting custom CSL Layout

Create issue
Issue #2895 open
Daniel Zoller created an issue

The following error occurs when someone tries to delete a custom named SO-690 (author-date, French):

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(String.java:1927) ~[?:1.8.0_101]
        at org.bibsonomy.database.managers.DocumentDatabaseManager.deleteDocumentWithNoPost(DocumentDatabaseManager
.java:302) ~[bibsonomy-database-3.9.2.jar:?]
        at org.bibsonomy.database.DBLogic.deleteDocument(DBLogic.java:2256) ~[bibsonomy-database-3.9.2.jar:?]
        at org.bibsonomy.webapp.controller.actions.AbstractExportFormatImportController.workOn(AbstractExportFormat
ImportController.java:96) ~[classes/:?]
        at org.bibsonomy.webapp.controller.actions.AbstractExportFormatImportController.workOn(AbstractExportFormat
ImportController.java:51) ~[classes/:?]
        at org.bibsonomy.webapp.util.spring.controller.MinimalisticControllerSpringWrapper.handleRequestInternal(Mi
nimalisticControllerSpringWrapper.java:289) [classes/:?]
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) [sprin
g-webmvc-3.2.17.RELEASE.jar:3.2.17.RELEASE]

Please check and fix the problem.

Comments (1)

  1. Log in to comment