[JBoss JIRA] (DROOLS-1610) Runtime Exception
by Mario Fusco (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1610?page=com.atlassian.jira.plugi... ]
Mario Fusco updated DROOLS-1610:
--------------------------------
Component/s: core engine
(was: kie server)
> Runtime Exception
> ------------------
>
> Key: DROOLS-1610
> URL: https://issues.jboss.org/browse/DROOLS-1610
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 6.5.0.Final
> Reporter: Salman Khan
> Assignee: Mario Fusco
>
> Getting the following exception while trying to implement Drools in Android.
> 06-08 12:25:41.660 19177-19177/com.example.admin23.droolstest W/System.err: java.lang.RuntimeException: Unable to instantiate object for class 'org.drools.android.DexPackageClassLoader' with constructor public org.drools.android.DexPackageClassLoader(org.drools.core.rule.JavaDialectRuntimeData,java.lang.ClassLoader)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.core.util.ClassUtils.instantiateObject(ClassUtils.java:272)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.core.rule.JavaDialectRuntimeData.makeClassLoader(JavaDialectRuntimeData.java:618)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.core.rule.JavaDialectRuntimeData.onAdd(JavaDialectRuntimeData.java:243)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.rule.builder.dialect.java.JavaDialect.<init>(JavaDialect.java:187)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.rule.builder.dialect.java.JavaDialectConfiguration.newDialect(JavaDialectConfiguration.java:91)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.builder.impl.KnowledgeBuilderConfigurationImpl.buildDialectRegistry(KnowledgeBuilderConfigurationImpl.java:392)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.compiler.PackageRegistry.<init>(PackageRegistry.java:55)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.newPackage(KnowledgeBuilderImpl.java:1571)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.initPackageRegistry(KnowledgeBuilderImpl.java:1044)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.createPackageRegistry(KnowledgeBuilderImpl.java:1015)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.builder.impl.CompositeKnowledgeBuilderImpl.initPackageRegistries(CompositeKnowledgeBuilderImpl.java:297)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.builder.impl.CompositeKnowledgeBuilderImpl.buildPackages(CompositeKnowledgeBuilderImpl.java:116)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.builder.impl.CompositeKnowledgeBuilderImpl.build(CompositeKnowledgeBuilderImpl.java:105)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.kie.builder.impl.AbstractKieModule.buildKnowledgePackages(AbstractKieModule.java:244)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.kie.builder.impl.AbstractKieProject.verify(AbstractKieProject.java:64)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildKieProject(KieBuilderImpl.java:230)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildAll(KieBuilderImpl.java:198)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at com.example.admin23.droolstest.MainActivity.onCreate(MainActivity.java:143)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.app.Activity.performCreate(Activity.java:6876)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3206)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3349)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.app.ActivityThread.access$1100(ActivityThread.java:221)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.os.Looper.loop(Looper.java:158)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.app.ActivityThread.main(ActivityThread.java:7224)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at java.lang.reflect.Method.invoke(Native Method)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: Caused by: java.lang.reflect.InvocationTargetException
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at java.lang.reflect.Constructor.newInstance(Native Method)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.core.util.ClassUtils.instantiateObject(ClassUtils.java:270)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: ... 29 more
> 06-08 12:25:41.680 19177-19177/com.example.admin23.droolstest W/System.err: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getAbsolutePath()' on a null object reference
> 06-08 12:25:41.680 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.android.MultiDexClassLoader.<init>(MultiDexClassLoader.java:70)
> 06-08 12:25:41.680 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.android.DexPackageClassLoader.<init>(DexPackageClassLoader.java:44)
> 06-08 12:25:41.680 19177-19177/com.example.admin23.droolstest W/System.err: ... 31 more
> Whenever I'm trying to call kieBuilder.buildAll(); method it's giving me the exception rather giving the result array. Please help to resolve this. Any help would be appreciable.
> Thanks in advance.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (DROOLS-1610) Runtime Exception
by Salman Khan (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1610?page=com.atlassian.jira.plugi... ]
Salman Khan updated DROOLS-1610:
--------------------------------
Description:
Getting the following exception while trying to implement Drools in Android.
06-08 12:25:41.660 19177-19177/com.example.admin23.droolstest W/System.err: java.lang.RuntimeException: Unable to instantiate object for class 'org.drools.android.DexPackageClassLoader' with constructor public org.drools.android.DexPackageClassLoader(org.drools.core.rule.JavaDialectRuntimeData,java.lang.ClassLoader)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.core.util.ClassUtils.instantiateObject(ClassUtils.java:272)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.core.rule.JavaDialectRuntimeData.makeClassLoader(JavaDialectRuntimeData.java:618)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.core.rule.JavaDialectRuntimeData.onAdd(JavaDialectRuntimeData.java:243)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.rule.builder.dialect.java.JavaDialect.<init>(JavaDialect.java:187)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.rule.builder.dialect.java.JavaDialectConfiguration.newDialect(JavaDialectConfiguration.java:91)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.builder.impl.KnowledgeBuilderConfigurationImpl.buildDialectRegistry(KnowledgeBuilderConfigurationImpl.java:392)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.compiler.PackageRegistry.<init>(PackageRegistry.java:55)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.newPackage(KnowledgeBuilderImpl.java:1571)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.initPackageRegistry(KnowledgeBuilderImpl.java:1044)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.createPackageRegistry(KnowledgeBuilderImpl.java:1015)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.builder.impl.CompositeKnowledgeBuilderImpl.initPackageRegistries(CompositeKnowledgeBuilderImpl.java:297)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.builder.impl.CompositeKnowledgeBuilderImpl.buildPackages(CompositeKnowledgeBuilderImpl.java:116)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.builder.impl.CompositeKnowledgeBuilderImpl.build(CompositeKnowledgeBuilderImpl.java:105)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.kie.builder.impl.AbstractKieModule.buildKnowledgePackages(AbstractKieModule.java:244)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.kie.builder.impl.AbstractKieProject.verify(AbstractKieProject.java:64)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildKieProject(KieBuilderImpl.java:230)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildAll(KieBuilderImpl.java:198)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at com.example.admin23.droolstest.MainActivity.onCreate(MainActivity.java:143)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.app.Activity.performCreate(Activity.java:6876)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3206)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3349)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.app.ActivityThread.access$1100(ActivityThread.java:221)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.os.Looper.loop(Looper.java:158)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.app.ActivityThread.main(ActivityThread.java:7224)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at java.lang.reflect.Method.invoke(Native Method)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: Caused by: java.lang.reflect.InvocationTargetException
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at java.lang.reflect.Constructor.newInstance(Native Method)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.core.util.ClassUtils.instantiateObject(ClassUtils.java:270)
06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: ... 29 more
06-08 12:25:41.680 19177-19177/com.example.admin23.droolstest W/System.err: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getAbsolutePath()' on a null object reference
06-08 12:25:41.680 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.android.MultiDexClassLoader.<init>(MultiDexClassLoader.java:70)
06-08 12:25:41.680 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.android.DexPackageClassLoader.<init>(DexPackageClassLoader.java:44)
06-08 12:25:41.680 19177-19177/com.example.admin23.droolstest W/System.err: ... 31 more
Whenever I'm trying to call kieBuilder.buildAll(); method it's giving me the exception rather giving the result array. Please help to resolve this. Any help would be appreciable.
Thanks in advance.
was:
Getting the following exception while trying to implement Drools in Android.
java.lang.RuntimeException: Unable to instantiate object for class 'org.drools.android.DexPackageClassLoader' with constructor public org.drools.android.DexPackageClassLoader(org.drools.core.rule.JavaDialectRuntimeData,java.lang.ClassLoader)
Whenever I'm trying to call kieBuilder.buildAll(); method it's giving me the exception rather giving the result array. Please help to resolve this. Any help would be appreciable.
Thanks in advance.
> Runtime Exception
> ------------------
>
> Key: DROOLS-1610
> URL: https://issues.jboss.org/browse/DROOLS-1610
> Project: Drools
> Issue Type: Bug
> Components: kie server
> Affects Versions: 6.5.0.Final
> Reporter: Salman Khan
> Assignee: Mario Fusco
>
> Getting the following exception while trying to implement Drools in Android.
> 06-08 12:25:41.660 19177-19177/com.example.admin23.droolstest W/System.err: java.lang.RuntimeException: Unable to instantiate object for class 'org.drools.android.DexPackageClassLoader' with constructor public org.drools.android.DexPackageClassLoader(org.drools.core.rule.JavaDialectRuntimeData,java.lang.ClassLoader)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.core.util.ClassUtils.instantiateObject(ClassUtils.java:272)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.core.rule.JavaDialectRuntimeData.makeClassLoader(JavaDialectRuntimeData.java:618)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.core.rule.JavaDialectRuntimeData.onAdd(JavaDialectRuntimeData.java:243)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.rule.builder.dialect.java.JavaDialect.<init>(JavaDialect.java:187)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.rule.builder.dialect.java.JavaDialectConfiguration.newDialect(JavaDialectConfiguration.java:91)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.builder.impl.KnowledgeBuilderConfigurationImpl.buildDialectRegistry(KnowledgeBuilderConfigurationImpl.java:392)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.compiler.PackageRegistry.<init>(PackageRegistry.java:55)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.newPackage(KnowledgeBuilderImpl.java:1571)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.initPackageRegistry(KnowledgeBuilderImpl.java:1044)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.createPackageRegistry(KnowledgeBuilderImpl.java:1015)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.builder.impl.CompositeKnowledgeBuilderImpl.initPackageRegistries(CompositeKnowledgeBuilderImpl.java:297)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.builder.impl.CompositeKnowledgeBuilderImpl.buildPackages(CompositeKnowledgeBuilderImpl.java:116)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.builder.impl.CompositeKnowledgeBuilderImpl.build(CompositeKnowledgeBuilderImpl.java:105)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.kie.builder.impl.AbstractKieModule.buildKnowledgePackages(AbstractKieModule.java:244)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.kie.builder.impl.AbstractKieProject.verify(AbstractKieProject.java:64)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildKieProject(KieBuilderImpl.java:230)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.compiler.kie.builder.impl.KieBuilderImpl.buildAll(KieBuilderImpl.java:198)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at com.example.admin23.droolstest.MainActivity.onCreate(MainActivity.java:143)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.app.Activity.performCreate(Activity.java:6876)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3206)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3349)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.app.ActivityThread.access$1100(ActivityThread.java:221)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.os.Looper.loop(Looper.java:158)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at android.app.ActivityThread.main(ActivityThread.java:7224)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at java.lang.reflect.Method.invoke(Native Method)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: Caused by: java.lang.reflect.InvocationTargetException
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at java.lang.reflect.Constructor.newInstance(Native Method)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.core.util.ClassUtils.instantiateObject(ClassUtils.java:270)
> 06-08 12:25:41.670 19177-19177/com.example.admin23.droolstest W/System.err: ... 29 more
> 06-08 12:25:41.680 19177-19177/com.example.admin23.droolstest W/System.err: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getAbsolutePath()' on a null object reference
> 06-08 12:25:41.680 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.android.MultiDexClassLoader.<init>(MultiDexClassLoader.java:70)
> 06-08 12:25:41.680 19177-19177/com.example.admin23.droolstest W/System.err: at org.drools.android.DexPackageClassLoader.<init>(DexPackageClassLoader.java:44)
> 06-08 12:25:41.680 19177-19177/com.example.admin23.droolstest W/System.err: ... 31 more
> Whenever I'm trying to call kieBuilder.buildAll(); method it's giving me the exception rather giving the result array. Please help to resolve this. Any help would be appreciable.
> Thanks in advance.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (DROOLS-1610) Runtime Exception
by Salman Khan (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1610?page=com.atlassian.jira.plugi... ]
Salman Khan commented on DROOLS-1610:
-------------------------------------
Thanks for the reply Mario. I'm using the Kie-container to implement Drools in Android so I saw that option in the list. And I'm attaching the whole stack of the exception.
> Runtime Exception
> ------------------
>
> Key: DROOLS-1610
> URL: https://issues.jboss.org/browse/DROOLS-1610
> Project: Drools
> Issue Type: Bug
> Components: kie server
> Affects Versions: 6.5.0.Final
> Reporter: Salman Khan
> Assignee: Mario Fusco
>
> Getting the following exception while trying to implement Drools in Android.
> java.lang.RuntimeException: Unable to instantiate object for class 'org.drools.android.DexPackageClassLoader' with constructor public org.drools.android.DexPackageClassLoader(org.drools.core.rule.JavaDialectRuntimeData,java.lang.ClassLoader)
> Whenever I'm trying to call kieBuilder.buildAll(); method it's giving me the exception rather giving the result array. Please help to resolve this. Any help would be appreciable.
> Thanks in advance.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (DROOLS-1610) Runtime Exception
by Salman Khan (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1610?page=com.atlassian.jira.plugi... ]
Salman Khan edited comment on DROOLS-1610 at 6/8/17 2:53 AM:
-------------------------------------------------------------
Thanks for the reply [~mfusco]. I'm using the Kie-container to implement Drools in Android so I saw that option in the list. And I'm attaching the whole stack of the exception.
was (Author: sallu1001):
Thanks for the reply Mario. I'm using the Kie-container to implement Drools in Android so I saw that option in the list. And I'm attaching the whole stack of the exception.
> Runtime Exception
> ------------------
>
> Key: DROOLS-1610
> URL: https://issues.jboss.org/browse/DROOLS-1610
> Project: Drools
> Issue Type: Bug
> Components: kie server
> Affects Versions: 6.5.0.Final
> Reporter: Salman Khan
> Assignee: Mario Fusco
>
> Getting the following exception while trying to implement Drools in Android.
> java.lang.RuntimeException: Unable to instantiate object for class 'org.drools.android.DexPackageClassLoader' with constructor public org.drools.android.DexPackageClassLoader(org.drools.core.rule.JavaDialectRuntimeData,java.lang.ClassLoader)
> Whenever I'm trying to call kieBuilder.buildAll(); method it's giving me the exception rather giving the result array. Please help to resolve this. Any help would be appreciable.
> Thanks in advance.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (DROOLS-1610) Runtime Exception
by Mario Fusco (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1610?page=com.atlassian.jira.plugi... ]
Mario Fusco commented on DROOLS-1610:
-------------------------------------
[~sallu1001] Can you please paste the whole stack of that exception? Also can you please clarify why did you assign this ticket to the kie-server? Are you using it in some way?
> Runtime Exception
> ------------------
>
> Key: DROOLS-1610
> URL: https://issues.jboss.org/browse/DROOLS-1610
> Project: Drools
> Issue Type: Bug
> Components: kie server
> Affects Versions: 6.5.0.Final
> Reporter: Salman Khan
> Assignee: Mario Fusco
>
> Getting the following exception while trying to implement Drools in Android.
> java.lang.RuntimeException: Unable to instantiate object for class 'org.drools.android.DexPackageClassLoader' with constructor public org.drools.android.DexPackageClassLoader(org.drools.core.rule.JavaDialectRuntimeData,java.lang.ClassLoader)
> Whenever I'm trying to call kieBuilder.buildAll(); method it's giving me the exception rather giving the result array. Please help to resolve this. Any help would be appreciable.
> Thanks in advance.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (DROOLS-1610) Runtime Exception
by Mario Fusco (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1610?page=com.atlassian.jira.plugi... ]
Mario Fusco reassigned DROOLS-1610:
-----------------------------------
Assignee: Mario Fusco (was: Edson Tirelli)
> Runtime Exception
> ------------------
>
> Key: DROOLS-1610
> URL: https://issues.jboss.org/browse/DROOLS-1610
> Project: Drools
> Issue Type: Bug
> Components: kie server
> Affects Versions: 6.5.0.Final
> Reporter: Salman Khan
> Assignee: Mario Fusco
>
> Getting the following exception while trying to implement Drools in Android.
> java.lang.RuntimeException: Unable to instantiate object for class 'org.drools.android.DexPackageClassLoader' with constructor public org.drools.android.DexPackageClassLoader(org.drools.core.rule.JavaDialectRuntimeData,java.lang.ClassLoader)
> Whenever I'm trying to call kieBuilder.buildAll(); method it's giving me the exception rather giving the result array. Please help to resolve this. Any help would be appreciable.
> Thanks in advance.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (DROOLS-1610) Runtime Exception
by Salman Khan (JIRA)
Salman Khan created DROOLS-1610:
-----------------------------------
Summary: Runtime Exception
Key: DROOLS-1610
URL: https://issues.jboss.org/browse/DROOLS-1610
Project: Drools
Issue Type: Bug
Components: kie server
Affects Versions: 6.5.0.Final
Reporter: Salman Khan
Assignee: Edson Tirelli
Getting the following exception while trying to implement Drools in Android.
java.lang.RuntimeException: Unable to instantiate object for class 'org.drools.android.DexPackageClassLoader' with constructor public org.drools.android.DexPackageClassLoader(org.drools.core.rule.JavaDialectRuntimeData,java.lang.ClassLoader)
Whenever I'm trying to call kieBuilder.buildAll(); method it's giving me the exception rather giving the result array. Please help to resolve this. Any help would be appreciable.
Thanks in advance.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (WFLY-8910) On Windows, when running standalone/Domain with the JAVA_HOME environment variable set (but pointing to an empty directory), JBoss EAP fails to start and does not give an error message.
by Durgesh Anaokar (JIRA)
Durgesh Anaokar created WFLY-8910:
-------------------------------------
Summary: On Windows, when running standalone/Domain with the JAVA_HOME environment variable set (but pointing to an empty directory), JBoss EAP fails to start and does not give an error message.
Key: WFLY-8910
URL: https://issues.jboss.org/browse/WFLY-8910
Project: WildFly
Issue Type: Bug
Components: Scripts
Affects Versions: 11.0.0.Alpha1
Environment: Windows
Reporter: Durgesh Anaokar
Assignee: Tomaz Cerar
Priority: Minor
On Windows 7, when running standalone.bat with the JAVA_HOME environment variable set (but pointing to an empty directory), JBoss EAP fails to start and does not give an error message.
On line 177 of the standalone.bat, a check is made to see if the JAVA_HOME variable points to a valid directory. If it does, it assumes this directory contains bin\java. If bin\java does not exist, the server fails to start and does not give a reason why.
expect to see an error message such as "%JAVA_HOME% path doesn't contain an executable at %JAVA_HOME%\bin\java"
Add additional checks in the standalone.conf to verify that %JAVA_HOME%\bin\java exists and warn if it does not.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (WFCORE-2042) Improve query operation for nested child resources
by Lin Gao (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2042?page=com.atlassian.jira.plugi... ]
Lin Gao reassigned WFCORE-2042:
-------------------------------
Assignee: Michal Petrov
> Improve query operation for nested child resources
> --------------------------------------------------
>
> Key: WFCORE-2042
> URL: https://issues.jboss.org/browse/WFCORE-2042
> Project: WildFly Core
> Issue Type: Feature Request
> Components: Domain Management
> Reporter: Lin Gao
> Assignee: Michal Petrov
>
> This is another similar RFE as WFCORE-2041.
> It would be good if the 'query()' operation can filter the resources by specifying value of attributes which are +inside of nested child resources(not only by the first level of child resource)+, so that, for example, the following command can work well as expected:
> {code:}
> [standalone@localhost:9990 /] /subsystem=security:query(select=[security-domain], where={security-domain.authentication.login-modules.code=RealmDirect})
> {
> "outcome" => "success",
> "result" => undefined
> }
> // here the expected output are the security-domain resources which have the loging-module RealmDirect defined.
> {code}
> The {{security-domain.authentication.login-modules.code}} in 'where' parameter is proposed attribute name in enhanced syntax, other options maybe possible.
> The different requirements between this WFCORE-2042 and WFCORE-2041 are:
> * WFCORE-2041 focus on complex attributes in one management resource
> * WFCORE-2042 focus on nested management resources with or without complex attributes
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (WFCORE-2041) Improve query operation for complex attributes
by Lin Gao (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2041?page=com.atlassian.jira.plugi... ]
Lin Gao reassigned WFCORE-2041:
-------------------------------
Assignee: Michal Petrov
> Improve query operation for complex attributes
> ----------------------------------------------
>
> Key: WFCORE-2041
> URL: https://issues.jboss.org/browse/WFCORE-2041
> Project: WildFly Core
> Issue Type: Feature Request
> Components: Domain Management
> Reporter: Lin Gao
> Assignee: Michal Petrov
>
> The global {{query()}} operation works only for simple attributes like:
> {code:java}
> [standalone at localhost:9990 /] /subsystem=datasources/jdbc-driver=*:query(select=[driver-xa-datasource-class-name], where={driver-name=h2})
> {
> "outcome" => "success",
> "result" => [{
> "address" => [
> ("subsystem" => "datasources"),
> ("jdbc-driver" => "h2")
> ],
> "outcome" => "success",
> "result" => {"driver-xa-datasource-class-name" => "org.h2.jdbcx.JdbcDataSource"}
> }]
> }
> {code}
> It would be good if the 'query()' operation can filter the resources by specifying value of attributes which are +inside of the complex attribute+, so that, for example, the following commands can work well as expected:
> {code:}
> [standalone at localhost:9990 /] /core-service=capability-registry:query(select=[possible-capabilities],where={possible-capabilities.name=org.wildfly.data-source})
> {code}
> {code:}
> [standalone at localhost:9990 /] /deployment=batch-chunk.war/subsystem=jaxrs/rest-resource=*:query(select=["rest-resource-paths"], where={"rest-resource-paths.resource-path"=>"batch/jobs"})
> {code}
> The {{rest-resource-paths.resource-path}} and {{possible-capabilities.name}} in 'where' parameter are proposed attribute names in enhanced syntax, other options maybe possible too.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month