Bug 1297470 - Drools compiler throws wrong class format exception in Fuse 6.2.1 under Java 1.8
Summary: Drools compiler throws wrong class format exception in Fuse 6.2.1 under Java 1.8
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Fuse Integration
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: DR1
: 6.3.0
Assignee: Edson Tirelli
QA Contact: Jiri Petrlik
Petr Penicka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-11 15:32 UTC by Jiri Petrlik
Modified: 2020-03-27 20:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 20:12:57 UTC
Type: Bug


Attachments (Terms of Use)
Strack trace (5.02 KB, text/plain)
2016-01-11 15:32 UTC, Jiri Petrlik
no flags Details

Description Jiri Petrlik 2016-01-11 15:32:40 UTC
Created attachment 1113627 [details]
Strack trace

Description of problem:

Drools compiler throws wrong class format exception in Fuse 6.2.1 under Java 1.8. See stack trace. It is possible to compile the same project under Java 1.7.

Version-Release number of selected component (if applicable):

Product version - BxMS 6.2.0.GA (build 6.3.0.Final-redhat-5)
Integration package for BxMS 6.2.0 and Fuse 6.2.1 (build 1.3.0.redhat-002)
Fuse - version 6.2.1

How reproducible:

Run "fuse-bxms-jbpm-workitems-camel-quickstart" from integration package under Fuse 6.2.1 and Java 1.8 (openjdk).

1. Add Maven repositories to <FUSE_DIR>/etc/org.ops4j.pax.url.mvn.cfg:
  - http://download.lab.bos.redhat.com/brewroot/repos/jb-bxms-6.2-build/latest/maven@id=product
  - http://download.lab.bos.redhat.com/brewroot/repos/jb-bxms-6.2-build/latest/maven@id=intpack


2. run following commands in Fuse:

$ features:addurl mvn:org.drools/drools-karaf-features/6.3.0.Final-redhat-5/xml/features
$ features:addurl mvn:org.jboss.integration.fuse/karaf-features/1.3.0.redhat-002/xml/features
$ features:addurl mvn:org.jboss.integration.fuse.quickstarts/karaf-features/1.3.0.redhat-002/xml/features
$ features:install fuse-bxms-jbpm-workitems-camel-quickstart

Actual results:

Quickstart installation will fail with attached stack trace.

Expected results:

Quickstart should run successfully.

Comment 2 Martin Basovník 2016-01-15 07:55:39 UTC
I can reproduce the same exception with Oracle JDK 8.

Comment 3 Petr Široký 2016-01-21 17:12:20 UTC
This has been fixed on master. If we need to backport this to product 6.2.x, please create new BZ for that.

Commit:
https://github.com/droolsjbpm/drools/commit/85a9a7991

Note that the current fix is more like workaround. We should be able to properly fix this once the ECJ bundles correctly export the package versions.

Comment 4 Jiri Petrlik 2016-03-31 14:08:15 UTC
Verified using BxMS 6.3.0.ER1 and integration package build 1.4.0.redhat-001. fuse-bxms-jbpm-workitems-camel-quickstart started successfully under OpenJDK 1.8.


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