Bug 724660 (BRMS-563)
| Summary: | After importing and reimporting same XML, the PathNotFoundException is thrown when archiving package. ModeShape used. | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | Petr Široký <psiroky> | ||||||||||||||
| Component: | Modeshape | Assignee: | Randall Hauch <rhauch> | ||||||||||||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | |||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||
| Priority: | urgent | ||||||||||||||||
| Version: | 5.1.0 GA | CC: | jlocker, psiroky, rhauch | ||||||||||||||
| Target Milestone: | --- | Keywords: | TestBlocker | ||||||||||||||
| Target Release: | 5.1.0.PostGA | ||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||
| OS: | Unspecified | ||||||||||||||||
| URL: | http://jira.jboss.org/jira/browse/BRMS-563 | ||||||||||||||||
| Whiteboard: | |||||||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||
| Clone Of: | Environment: |
ModeShape from SOA 5.1 GA (revision 2692)
Local MySQL 5.1 database.
|
|||||||||||||||
| Last Closed: | 2011-03-22 23:57:50 UTC | Type: | Bug | ||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||
| Embargoed: | |||||||||||||||||
| Bug Depends On: | |||||||||||||||||
| Bug Blocks: | 780543 | ||||||||||||||||
| Attachments: |
|
||||||||||||||||
Attached config files, log file and XML file that is being imported (and reimported). Attachment: Added: archive-package-error.png Attachment: Added: brms-jdbc-ds.xml Attachment: Added: components.xml Attachment: Added: modeshape-config.xml Attachment: Added: rule_repository.xml Attachment: Added: server.log Link: Added: This issue is related to BRMS-557 Like with BRMS-562, is the MySQL database using InnoDB? If so, could you re-run the tests using the InnoDB dialect for Hibernate? Thanks for the SVN link, Jiri. Same exception is thrown when using org.hibernate.dialect.MySQLInnoDBDialect. Link: Added: This issue Cloned to BRMS-569 Link: Added: This issue is a dependency of SOA-2976 I have a proposed fix for this issue under MODE-1114, and hope to committed the change soon to the '2.2.x' branch in SVN. However, I discovered another issue (MODE-1117) that I think may critical enough to warrant a fix. That issue is currently waiting on several reviews by key people in the ModeShape community, as it deals with spec compliance. The fix for MODE-1114 has been committed to the 'master' and '2.2.x' branches in Git and the '2.2.x' branch in SVN. MODE-1117 is likely still an issue. I've committed the changes for MODE-1117 to the 'master' and '2.2.x' branches in Git, and to the '2.2.x' branch in SVN (the latter is what BRMS and SOA-P use). Van should be able to rebuild the JAR files with these changes, and testing should be able to resume. I have resolve MODE-114 and MODE-1117. If there continues to be a problem with this issue, please reopen MODE-1114. patch has been created Link: Added: This issue depends SOA-2976 Verified fixed in patched ModeShape 2.2.x - see SOA-2976. |
Affects Testing: Blocks Testing Steps to Reproduce: 1. Import repository from XML file (e.g. attached rule_repository.xml). 2. Reimport the repository again (the same file). 3. Try to archive the package. Error occurs and package is not archived. securitylevel_name: Public Importing and then reimporting the same XML file causes the error when trying to archive package. The result is that the package is not archived and following exception appears in log. The exception in log: Service method 'public abstract org.drools.guvnor.client.rpc.ValidatedResponse org.drools.guvnor.client.rpc.RepositoryService.savePackage(org.drools.guvnor.client.rpc.PackageConfigData) throws com.google.gwt.user.client.rpc.SerializationException' threw an unexpected exception: org.modeshape.graph.property.PathNotFoundException: Unable to find "[{http://www.modeshape.org/1.0}uuid = 72a1eedb-4bd9-4fff-a468-be8178f1e350]"; lowest existing path is "/" Whole stacktrace is in attached server.log file starting on line 203.