Bug 1174202
Summary: | LuceneIndexEngine throws "Index fails - NPE" on jvm v8 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Sona Mala <smala> | ||||||
Component: | Business Central | Assignee: | manstis | ||||||
Status: | CLOSED EOL | QA Contact: | Sona Mala <smala> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | urgent | ||||||||
Version: | 6.1.0 | CC: | kverlaen, mwinkler | ||||||
Target Milestone: | ER4 | ||||||||
Target Release: | 6.1.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: |
jvm 8 (Oracle, OpenJDK)
|
|||||||
Last Closed: | 2020-03-27 19:43:07 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: | |||||||||
Attachments: |
|
10:04:17,901 ERROR [org.kie.uberfire.metadata.io.BatchIndex] (EJB default - 3) Index fails. [@/CustomersRelationship/pom.xml]: java.lang.NullPointerException at org.kie.uberfire.metadata.backend.lucene.index.LuceneIndexEngine$3$1.<init>(LuceneIndexEngine.java:298) [kie-uberfire-metadata-backend-lucene-6.2.0.redhat-1.jar:6.2.0.redhat-1] at org.kie.uberfire.metadata.backend.lucene.index.LuceneIndexEngine$3.<init>(LuceneIndexEngine.java:297) [kie-uberfire-metadata-backend-lucene-6.2.0.redhat-1.jar:6.2.0.redhat-1] at org.kie.uberfire.metadata.backend.lucene.index.LuceneIndexEngine.newMetaProperty(LuceneIndexEngine.java:294) [kie-uberfire-metadata-backend-lucene-6.2.0.redhat-1.jar:6.2.0.redhat-1] at org.kie.uberfire.metadata.backend.lucene.index.LuceneIndexEngine.newMetaObect(LuceneIndexEngine.java:258) [kie-uberfire-metadata-backend-lucene-6.2.0.redhat-1.jar:6.2.0.redhat-1] at org.kie.uberfire.metadata.backend.lucene.index.LuceneIndexEngine.updateMetaModel(LuceneIndexEngine.java:238) [kie-uberfire-metadata-backend-lucene-6.2.0.redhat-1.jar:6.2.0.redhat-1] at org.kie.uberfire.metadata.backend.lucene.index.LuceneIndexEngine.index(LuceneIndexEngine.java:93) [kie-uberfire-metadata-backend-lucene-6.2.0.redhat-1.jar:6.2.0.redhat-1] (more in server.log) Created attachment 968918 [details]
Screenshot: 6.1.0 ER2 - Empty list of data objects
|
Created attachment 968904 [details] 6.1.0 ER2: server.log with NPEs Description of problem: During a startup of EAP container (6.3.1) with any jvm 8 (oracle, openjdk, etc.), the 'LuceneIndexEngine' class throws NPE exception in server.log. I think that it brokes requirements (BPMSPL-2, BPMSPL-3) on any jvm 8 (This is a reason why the severity is high). jBPM Designer shows just an empty list of Data Objects or RuleFlow groups. Version-Release number of selected component (if applicable): 6.1.0 ER2 BPMS How reproducible: use any jvm 8 Steps to Reproduce: a) Occurence of exception 1. Start BPMS with EAP 6.3.1 and openjdk 8 2. See server.log b) Designer problem: 1. Use any project where are Data Objects or RuleFlow Groups 2. Open a list of these objects. For example: - Business Rule Task, property "RuleFlow Group" - Process, property "Import" Actual results: a) See attached server.log there are a lot of NPE errors (similar stacktrace) b) all lists are empty. Expected results: No NPE in server.log and all lists contain some data, which reflect the current state of a repository (project). Additional info: