[
https://issues.redhat.com/browse/DROOLS-5495?page=com.atlassian.jira.plug...
]
Toshiya Kobayashi updated DROOLS-5495:
--------------------------------------
Description:
1. Install eclipse (tested with eclipse-java-2020-03)
2. "Install New Software" to install "Drools and jBPM" plugin via
https://download.jboss.org/drools/release/7.39.0.Final/org.drools.updates...
3. Create a project -> Other -> Drools -> Drools Project
-> Choose second icon (= a project with sample assets), Press Next
-> For "Build the project using:"
A) Java and Drools runtime classes
-> Use "Manage Runtime Definision" to create a runtime which points
to drools-distribution-7.39.0.Final/binaries
B) Maven
=> The issue reproduced in both approaches
4. When you edit DRL or build a project in Eclipse, an error pop-up is raised. See
attached DroolsBuilderError.png
{noformat}
Errors occurred during the build.
Errors running builder 'Drools Builder' on project 'Drools_2'.
org/apache/commons/math3/util/ArithmeticUtils
{noformat}
.metadata/.log
{noformat}
!ENTRY org.eclipse.core.resources 4 75 2020-07-08 11:14:56.027
!MESSAGE Errors occurred during the build.
!SUBENTRY 1 org.drools.eclipse 4 75 2020-07-08 11:14:56.027
!MESSAGE Errors running builder 'Drools Builder' on project
'DroolsSampleProj3-maven'.
!STACK 0
java.lang.NoClassDefFoundError: org/apache/commons/math3/util/ArithmeticUtils
at org.apache.poi.poifs.property.RootProperty.setSize(RootProperty.java:59)
at
org.apache.poi.poifs.property.DirectoryProperty.<init>(DirectoryProperty.java:52)
at org.apache.poi.poifs.property.RootProperty.<init>(RootProperty.java:31)
at
org.apache.poi.poifs.property.PropertyTable.<init>(PropertyTable.java:58)
at
org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:102)
at
org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:274)
at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:252)
at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:221)
at org.drools.decisiontable.parser.xls.ExcelParser.parseFile(ExcelParser.java:84)
at
org.drools.decisiontable.SpreadsheetCompiler.parseResource(SpreadsheetCompiler.java:136)
at
org.drools.decisiontable.SpreadsheetCompiler.compile(SpreadsheetCompiler.java:120)
at
org.drools.decisiontable.SpreadsheetCompiler.compile(SpreadsheetCompiler.java:93)
at
org.drools.decisiontable.DecisionTableProviderImpl.compileResource(DecisionTableProviderImpl.java:74)
at
org.drools.decisiontable.DecisionTableProviderImpl.loadFromResource(DecisionTableProviderImpl.java:42)
at
org.drools.compiler.compiler.DecisionTableFactory.loadFromResource(DecisionTableFactory.java:36)
at
org.drools.compiler.kie.builder.impl.KieBuilderImpl.packageNameFromDtable(KieBuilderImpl.java:435)
at
org.drools.compiler.kie.builder.impl.KieBuilderImpl.packageNameFromAsset(KieBuilderImpl.java:411)
at
org.drools.compiler.kie.builder.impl.KieBuilderImpl.packageNameForFile(KieBuilderImpl.java:390)
at
org.drools.compiler.kie.builder.impl.KieBuilderImpl.isFileInKieBase(KieBuilderImpl.java:381)
at
org.drools.compiler.kie.builder.impl.KieBuilderImpl.filterFileInKBase(KieBuilderImpl.java:359)
at
org.drools.compiler.kie.builder.impl.AbstractKieProject.addFiles(AbstractKieProject.java:302)
at
org.drools.compiler.kie.builder.impl.AbstractKieProject.buildKnowledgePackages(AbstractKieProject.java:251)
at
org.drools.compiler.kie.builder.impl.AbstractKieProject.buildKnowledgePackages(AbstractKieProject.java:214)
at
org.drools.compiler.kie.builder.impl.AbstractKieProject.verify(AbstractKieProject.java:78)
at
org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildKieProject(KieBuilderImpl.java:279)
at
org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildAll(KieBuilderImpl.java:247)
at
org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildAll(KieBuilderImpl.java:194)
at
org.drools.eclipse.builder.DroolsBuilder$DroolsBuilderVisitor.doBuildKieProject(DroolsBuilder.java:222)
at
org.drools.eclipse.builder.DroolsBuilder$DroolsBuilderVisitor.build(DroolsBuilder.java:197)
at org.drools.eclipse.builder.DroolsBuilder.fullBuild(DroolsBuilder.java:155)
at
org.drools.eclipse.builder.DroolsBuilder.incrementalBuild(DroolsBuilder.java:172)
at org.drools.eclipse.builder.DroolsBuilder.build(DroolsBuilder.java:108)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:832)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:220)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:263)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:316)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:319)
at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:371)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:392)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:154)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:244)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
{noformat}
was:
1. Install eclipse (tested with eclipse-java-2020-03)
2. "Install New Software" to install "Drools and jBPM" plugin via
https://download.jboss.org/drools/release/7.39.0.Final/org.drools.updates...
3. Create a project -> Other -> Drools -> Drools Project
-> Choose second icon (= a project with sample assets), Press Next
-> For "Build the project using:"
A) Java and Drools runtime classes
-> Use "Manage Runtime Definision" to create a runtime which points
to drools-distribution-7.39.0.Final/binaries
B) Maven
=> The issue reproduced in both approaches
4. When you edit DRL or build a project in Eclipse, an error pop-up is raised. See
attached DroolsBuilderError.png
{noformat}
Errors occurred during the build.
Errors running builder 'Drools Builder' on project 'Drools_2'.
org/apache/commons/math3/util/ArithmeticUtils
{noformat}
Drools Builder error
"org/apache/commons/math3/util/ArithmeticUtils" by eclipse plugin
--------------------------------------------------------------------------------------
Key: DROOLS-5495
URL:
https://issues.redhat.com/browse/DROOLS-5495
Project: Drools
Issue Type: Bug
Components: eclipse plugin
Affects Versions: 7.39.0.Final
Reporter: Toshiya Kobayashi
Assignee: Kris Verlaenen
Priority: Major
Attachments: DroolsBuilderError.png
1. Install eclipse (tested with eclipse-java-2020-03)
2. "Install New Software" to install "Drools and jBPM" plugin via
https://download.jboss.org/drools/release/7.39.0.Final/org.drools.updates...
3. Create a project -> Other -> Drools -> Drools Project
-> Choose second icon (= a project with sample assets), Press Next
-> For "Build the project using:"
A) Java and Drools runtime classes
-> Use "Manage Runtime Definision" to create a runtime which points
to drools-distribution-7.39.0.Final/binaries
B) Maven
=> The issue reproduced in both approaches
4. When you edit DRL or build a project in Eclipse, an error pop-up is raised. See
attached DroolsBuilderError.png
{noformat}
Errors occurred during the build.
Errors running builder 'Drools Builder' on project 'Drools_2'.
org/apache/commons/math3/util/ArithmeticUtils
{noformat}
.metadata/.log
{noformat}
!ENTRY org.eclipse.core.resources 4 75 2020-07-08 11:14:56.027
!MESSAGE Errors occurred during the build.
!SUBENTRY 1 org.drools.eclipse 4 75 2020-07-08 11:14:56.027
!MESSAGE Errors running builder 'Drools Builder' on project
'DroolsSampleProj3-maven'.
!STACK 0
java.lang.NoClassDefFoundError: org/apache/commons/math3/util/ArithmeticUtils
at org.apache.poi.poifs.property.RootProperty.setSize(RootProperty.java:59)
at
org.apache.poi.poifs.property.DirectoryProperty.<init>(DirectoryProperty.java:52)
at org.apache.poi.poifs.property.RootProperty.<init>(RootProperty.java:31)
at
org.apache.poi.poifs.property.PropertyTable.<init>(PropertyTable.java:58)
at
org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:102)
at
org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:274)
at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:252)
at org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:221)
at
org.drools.decisiontable.parser.xls.ExcelParser.parseFile(ExcelParser.java:84)
at
org.drools.decisiontable.SpreadsheetCompiler.parseResource(SpreadsheetCompiler.java:136)
at
org.drools.decisiontable.SpreadsheetCompiler.compile(SpreadsheetCompiler.java:120)
at
org.drools.decisiontable.SpreadsheetCompiler.compile(SpreadsheetCompiler.java:93)
at
org.drools.decisiontable.DecisionTableProviderImpl.compileResource(DecisionTableProviderImpl.java:74)
at
org.drools.decisiontable.DecisionTableProviderImpl.loadFromResource(DecisionTableProviderImpl.java:42)
at
org.drools.compiler.compiler.DecisionTableFactory.loadFromResource(DecisionTableFactory.java:36)
at
org.drools.compiler.kie.builder.impl.KieBuilderImpl.packageNameFromDtable(KieBuilderImpl.java:435)
at
org.drools.compiler.kie.builder.impl.KieBuilderImpl.packageNameFromAsset(KieBuilderImpl.java:411)
at
org.drools.compiler.kie.builder.impl.KieBuilderImpl.packageNameForFile(KieBuilderImpl.java:390)
at
org.drools.compiler.kie.builder.impl.KieBuilderImpl.isFileInKieBase(KieBuilderImpl.java:381)
at
org.drools.compiler.kie.builder.impl.KieBuilderImpl.filterFileInKBase(KieBuilderImpl.java:359)
at
org.drools.compiler.kie.builder.impl.AbstractKieProject.addFiles(AbstractKieProject.java:302)
at
org.drools.compiler.kie.builder.impl.AbstractKieProject.buildKnowledgePackages(AbstractKieProject.java:251)
at
org.drools.compiler.kie.builder.impl.AbstractKieProject.buildKnowledgePackages(AbstractKieProject.java:214)
at
org.drools.compiler.kie.builder.impl.AbstractKieProject.verify(AbstractKieProject.java:78)
at
org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildKieProject(KieBuilderImpl.java:279)
at
org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildAll(KieBuilderImpl.java:247)
at
org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildAll(KieBuilderImpl.java:194)
at
org.drools.eclipse.builder.DroolsBuilder$DroolsBuilderVisitor.doBuildKieProject(DroolsBuilder.java:222)
at
org.drools.eclipse.builder.DroolsBuilder$DroolsBuilderVisitor.build(DroolsBuilder.java:197)
at org.drools.eclipse.builder.DroolsBuilder.fullBuild(DroolsBuilder.java:155)
at
org.drools.eclipse.builder.DroolsBuilder.incrementalBuild(DroolsBuilder.java:172)
at org.drools.eclipse.builder.DroolsBuilder.build(DroolsBuilder.java:108)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:832)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:220)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:263)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:316)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:319)
at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:371)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:392)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:154)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:244)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
{noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)