Bug 1174202 - LuceneIndexEngine throws "Index fails - NPE" on jvm v8
Summary: LuceneIndexEngine throws "Index fails - NPE" on jvm v8
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ER4
: 6.1.0
Assignee: manstis
QA Contact: Sona Mala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-15 11:30 UTC by Sona Mala
Modified: 2020-03-27 19:43 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
jvm 8 (Oracle, OpenJDK)
Last Closed: 2020-03-27 19:43:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
6.1.0 ER2: server.log with NPEs (11.70 MB, text/plain)
2014-12-15 11:30 UTC, Sona Mala
no flags Details
Screenshot: 6.1.0 ER2 - Empty list of data objects (98.18 KB, image/png)
2014-12-15 11:41 UTC, Sona Mala
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1078146 0 high CLOSED Drools and jBPM 6.0 should work on Java 8 2021-02-22 00:41:40 UTC

Internal Links: 1078146

Description Sona Mala 2014-12-15 11:30:29 UTC
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:

Comment 1 Sona Mala 2014-12-15 11:37:58 UTC
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)

Comment 2 Sona Mala 2014-12-15 11:41:47 UTC
Created attachment 968918 [details]
Screenshot: 6.1.0 ER2 - Empty list of data objects


Note You need to log in before you can comment on or make changes to this bug.