Exception cleaning and unsetting batch mode on FS in JBoss BPMS 6.2.0
Environment
- Red Hat JBoss BPM Suite (BPMS) 6.1.0, 6.2.0
Issue
At random points while working with kie workbench, users get an error showing a modal dialog with "Unable to complete your request. The following exception occurred: Exception cleaning and unsetting batch mode on FS.." message.
The server.log file shows the following ERROR:
ERROR [org.uberfire.backend.server.io.watch.IOWatchServiceExecutorImpl] Unexpected error during WatchService events fire.: java.lang.RuntimeException: Exception cleaning and unsetting batch mode on FS.
at org.uberfire.io.impl.AbstractIOService.endBatch(AbstractIOService.java:173) [uberfire-io-0.8.0-SNAPSHOT.jar:0.8.0-SNAPSHOT]
at org.guvnor.inbox.backend.server.InboxBackendImpl.recordUserEditEvent(InboxBackendImpl.java:123) [guvnor-inbox-backend-6.4.0-SNAPSHOT.jar:6.4.0-SNAPSHOT]
at org.guvnor.inbox.backend.server.InboxBackendImpl$Proxy$$$_WeldClientProxy.recordUserEditEvent(InboxBackendImpl$Proxy$$$_WeldClientProxy.java) [guvnor-inbox-backend-6.4.0-SNAPSHOT.jar:6.4.0-SNAPSHOT]
...
Caused by: java.lang.RuntimeException: org.eclipse.jgit.errors.MissingObjectException: Missing tree 0088e577b06714a4357505f823089f2d65302ffc
at org.uberfire.java.nio.fs.jgit.util.JGitUtil.getDiff(JGitUtil.java:489)
...
Caused by: org.eclipse.jgit.errors.MissingObjectException: Missing tree 0088e577b06714a4357505f823089f2d65302ffc
at org.eclipse.jgit.internal.storage.file.WindowCursor.open(WindowCursor.java:149) [org.eclipse.jgit-3.7.1.201504261725-r.jar:3.7.1.201504261725-r]
or
ERROR [org.kie.workbench.common.screens.explorer.backend.server.ExplorerServiceHelper] Can't serialize user's state navigation: java.lang.RuntimeException: Exception cleaning and unsetting batch mode on FS.
at org.uberfire.io.impl.AbstractIOService.endBatch(AbstractIOService.java:173) [uberfire-io-0.8.0-SNAPSHOT.jar:0.8.0-SNAPSHOT]
at org.kie.workbench.common.screens.explorer.backend.server.ExplorerServiceHelper.store(ExplorerServiceHelper.java:344) [kie-wb-common-project-explorer-backend-6.4.0-SNAPSHOT.jar:6.4.0-SNAPSHOT]
at org.kie.workbench.common.screens.explorer.backend.server.ExplorerServiceHelper$1.run(ExplorerServiceHelper.java:290) [kie-wb-common-project-explorer-backend-6.4.0-SNAPSHOT.jar:6.4.0-SNAPSHOT]
(with the same 'caused by')
Resolution
Apply one-off patch 1 for BPMS 6.2.0.GA, or upgrade to the latest update release (once available). It is also fixed in the Updates available.
Root Cause
This is a bug in the product that has been found late in the release cycle during extensive testing of BPMS 6.2.0.GA.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
