[JBoss JIRA] (DROOLS-1511) NullPointerException when running sample projects
by Tomas David (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1511?page=com.atlassian.jira.plugi... ]
Tomas David updated DROOLS-1511:
--------------------------------
Description:
NullPointerException is thrown when running sample project using Drools and Java Runtime classes because KieSession is not created.
Eclipse log:
!SESSION 2017-04-04 12:39:38.638 -----------------------------------------------
eclipse.buildId=4.6.3.M20170301-0400
java.version=1.8.0_121
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
!ENTRY org.drools.eclipse 4 120 2017-04-04 12:41:31.737
!MESSAGE Internal error in Drools Plugin:
!STACK 1
Java Model Exception: Java Model Status [Build path contains duplicate entry: 'DROOLS/Drools' for project 'TestProject']
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:786)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3097)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3059)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3112)
at org.drools.eclipse.util.DroolsRuntimeManager.addBuilder(DroolsRuntimeManager.java:122)
at org.drools.eclipse.action.ConvertToDroolsProjectAction.run(ConvertToDroolsProjectAction.java:45)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:247)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5227)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4561)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4151)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
!SUBENTRY 1 org.eclipse.jdt.core 4 977 2017-04-04 12:41:31.739
!MESSAGE Build path contains duplicate entry: 'DROOLS/Drools' for project 'TestProject'
was:
NullPointerException is thrown when running sample project using Drools and Java Runtime classes because KieSession is not created.
!SESSION 2017-04-04 12:39:38.638 -----------------------------------------------
eclipse.buildId=4.6.3.M20170301-0400
java.version=1.8.0_121
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
!ENTRY org.drools.eclipse 4 120 2017-04-04 12:41:31.737
!MESSAGE Internal error in Drools Plugin:
!STACK 1
Java Model Exception: Java Model Status [Build path contains duplicate entry: 'DROOLS/Drools' for project 'TestProject']
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:786)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3097)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3059)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3112)
at org.drools.eclipse.util.DroolsRuntimeManager.addBuilder(DroolsRuntimeManager.java:122)
at org.drools.eclipse.action.ConvertToDroolsProjectAction.run(ConvertToDroolsProjectAction.java:45)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:247)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5227)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4561)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4151)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
!SUBENTRY 1 org.eclipse.jdt.core 4 977 2017-04-04 12:41:31.739
!MESSAGE Build path contains duplicate entry: 'DROOLS/Drools' for project 'TestProject'
> NullPointerException when running sample projects
> -------------------------------------------------
>
> Key: DROOLS-1511
> URL: https://issues.jboss.org/browse/DROOLS-1511
> Project: Drools
> Issue Type: Bug
> Components: eclipse plugin
> Environment: 7.0.0-SNAPSHOT
> Reporter: Tomas David
> Assignee: Robert (Bob) Brodt
> Priority: Blocker
> Labels: reported-by-qe
>
> NullPointerException is thrown when running sample project using Drools and Java Runtime classes because KieSession is not created.
> Eclipse log:
> !SESSION 2017-04-04 12:39:38.638 -----------------------------------------------
> eclipse.buildId=4.6.3.M20170301-0400
> java.version=1.8.0_121
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments: -product org.eclipse.epp.package.jee.product
> Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
> !ENTRY org.drools.eclipse 4 120 2017-04-04 12:41:31.737
> !MESSAGE Internal error in Drools Plugin:
> !STACK 1
> Java Model Exception: Java Model Status [Build path contains duplicate entry: 'DROOLS/Drools' for project 'TestProject']
> at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:786)
> at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3097)
> at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3059)
> at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3112)
> at org.drools.eclipse.util.DroolsRuntimeManager.addBuilder(DroolsRuntimeManager.java:122)
> at org.drools.eclipse.action.ConvertToDroolsProjectAction.run(ConvertToDroolsProjectAction.java:45)
> at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:247)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
> at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5227)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4561)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4151)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
> !SUBENTRY 1 org.eclipse.jdt.core 4 977 2017-04-04 12:41:31.739
> !MESSAGE Build path contains duplicate entry: 'DROOLS/Drools' for project 'TestProject'
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (DROOLS-1511) NullPointerException when running sample projects
by Tomas David (JIRA)
Tomas David created DROOLS-1511:
-----------------------------------
Summary: NullPointerException when running sample projects
Key: DROOLS-1511
URL: https://issues.jboss.org/browse/DROOLS-1511
Project: Drools
Issue Type: Bug
Components: eclipse plugin
Environment: 7.0.0-SNAPSHOT
Reporter: Tomas David
Assignee: Robert (Bob) Brodt
Priority: Blocker
NullPointerException is thrown when running sample project using Drools and Java Runtime classes because KieSession is not created.
{{!SESSION 2017-04-04 12:39:38.638 -----------------------------------------------
eclipse.buildId=4.6.3.M20170301-0400
java.version=1.8.0_121
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
!ENTRY org.drools.eclipse 4 120 2017-04-04 12:41:31.737
!MESSAGE Internal error in Drools Plugin:
!STACK 1
Java Model Exception: Java Model Status [Build path contains duplicate entry: 'DROOLS/Drools' for project 'TestProject']
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:786)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3097)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3059)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3112)
at org.drools.eclipse.util.DroolsRuntimeManager.addBuilder(DroolsRuntimeManager.java:122)
at org.drools.eclipse.action.ConvertToDroolsProjectAction.run(ConvertToDroolsProjectAction.java:45)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:247)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5227)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4561)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4151)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
!SUBENTRY 1 org.eclipse.jdt.core 4 977 2017-04-04 12:41:31.739
!MESSAGE Build path contains duplicate entry: 'DROOLS/Drools' for project 'TestProject'
}}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (DROOLS-1511) NullPointerException when running sample projects
by Tomas David (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1511?page=com.atlassian.jira.plugi... ]
Tomas David updated DROOLS-1511:
--------------------------------
Description:
NullPointerException is thrown when running sample project using Drools and Java Runtime classes because KieSession is not created.
!SESSION 2017-04-04 12:39:38.638 -----------------------------------------------
eclipse.buildId=4.6.3.M20170301-0400
java.version=1.8.0_121
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
!ENTRY org.drools.eclipse 4 120 2017-04-04 12:41:31.737
!MESSAGE Internal error in Drools Plugin:
!STACK 1
Java Model Exception: Java Model Status [Build path contains duplicate entry: 'DROOLS/Drools' for project 'TestProject']
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:786)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3097)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3059)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3112)
at org.drools.eclipse.util.DroolsRuntimeManager.addBuilder(DroolsRuntimeManager.java:122)
at org.drools.eclipse.action.ConvertToDroolsProjectAction.run(ConvertToDroolsProjectAction.java:45)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:247)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5227)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4561)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4151)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
!SUBENTRY 1 org.eclipse.jdt.core 4 977 2017-04-04 12:41:31.739
!MESSAGE Build path contains duplicate entry: 'DROOLS/Drools' for project 'TestProject'
was:
NullPointerException is thrown when running sample project using Drools and Java Runtime classes because KieSession is not created.
{{!SESSION 2017-04-04 12:39:38.638 -----------------------------------------------
eclipse.buildId=4.6.3.M20170301-0400
java.version=1.8.0_121
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
!ENTRY org.drools.eclipse 4 120 2017-04-04 12:41:31.737
!MESSAGE Internal error in Drools Plugin:
!STACK 1
Java Model Exception: Java Model Status [Build path contains duplicate entry: 'DROOLS/Drools' for project 'TestProject']
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:786)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3097)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3059)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3112)
at org.drools.eclipse.util.DroolsRuntimeManager.addBuilder(DroolsRuntimeManager.java:122)
at org.drools.eclipse.action.ConvertToDroolsProjectAction.run(ConvertToDroolsProjectAction.java:45)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:247)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5227)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4561)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4151)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
!SUBENTRY 1 org.eclipse.jdt.core 4 977 2017-04-04 12:41:31.739
!MESSAGE Build path contains duplicate entry: 'DROOLS/Drools' for project 'TestProject'
}}
> NullPointerException when running sample projects
> -------------------------------------------------
>
> Key: DROOLS-1511
> URL: https://issues.jboss.org/browse/DROOLS-1511
> Project: Drools
> Issue Type: Bug
> Components: eclipse plugin
> Environment: 7.0.0-SNAPSHOT
> Reporter: Tomas David
> Assignee: Robert (Bob) Brodt
> Priority: Blocker
> Labels: reported-by-qe
>
> NullPointerException is thrown when running sample project using Drools and Java Runtime classes because KieSession is not created.
> !SESSION 2017-04-04 12:39:38.638 -----------------------------------------------
> eclipse.buildId=4.6.3.M20170301-0400
> java.version=1.8.0_121
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments: -product org.eclipse.epp.package.jee.product
> Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
> !ENTRY org.drools.eclipse 4 120 2017-04-04 12:41:31.737
> !MESSAGE Internal error in Drools Plugin:
> !STACK 1
> Java Model Exception: Java Model Status [Build path contains duplicate entry: 'DROOLS/Drools' for project 'TestProject']
> at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:786)
> at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3097)
> at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3059)
> at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3112)
> at org.drools.eclipse.util.DroolsRuntimeManager.addBuilder(DroolsRuntimeManager.java:122)
> at org.drools.eclipse.action.ConvertToDroolsProjectAction.run(ConvertToDroolsProjectAction.java:45)
> at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:247)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
> at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5227)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4561)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4151)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
> !SUBENTRY 1 org.eclipse.jdt.core 4 977 2017-04-04 12:41:31.739
> !MESSAGE Build path contains duplicate entry: 'DROOLS/Drools' for project 'TestProject'
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (DROOLS-1509) ServiceResponse XStream marshalling inconsistencies with JAXB
by Matteo Mortari (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1509?page=com.atlassian.jira.plugi... ]
Matteo Mortari edited comment on DROOLS-1509 at 4/4/17 4:57 AM:
----------------------------------------------------------------
Examples JAXB (baseline of reference, and unchanged):
{code:xml}
10:48:11.167 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to send GET request to 'http://localhost:34455/kie-server-services/services/rest/server'
10:48:11.518 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response type="SUCCESS" msg="Kie Server info">
<kie-server-info>
<capabilities>KieServer</capabilities>
<capabilities>BRM</capabilities>
<capabilities>DMN</capabilities>
<location>http://localhost:8230/kie-server/services/rest/server</location>
<messages>
<content>Server KieServerInfo{serverId='a0e625bf-251d-3c1f-ad11-0a17f1c14e21', version='7.0.0-SNAPSHOT', location='http://localhost:8230/kie-server/services/rest/server'}started successfully at Tue Apr 04 10:48:07 CEST 2017</content>
<severity>INFO</severity>
<timestamp>2017-04-04T10:48:07.717+02:00</timestamp>
</messages>
<name>KieServer@/kie-server-services</name>
<id>a0e625bf-251d-3c1f-ad11-0a17f1c14e21</id>
<version>7.0.0-SNAPSHOT</version>
</kie-server-info>
</response>
'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:48:11.672 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to send GET request to 'http://localhost:34455/kie-server-services/services/rest/server/containers'
10:48:11.677 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response type="SUCCESS" msg="List of created containers">
<kie-containers/>
</response>
'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:48:43.307 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to send GET request to 'http://localhost:34455/kie-server-services/services/rest/server'
10:48:43.313 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response type="SUCCESS" msg="Kie Server info">
<kie-server-info>
<capabilities>KieServer</capabilities>
<capabilities>BRM</capabilities>
<capabilities>DMN</capabilities>
<location>http://localhost:8230/kie-server/services/rest/server</location>
<messages>
<content>Server KieServerInfo{serverId='a0e625bf-251d-3c1f-ad11-0a17f1c14e21', version='7.0.0-SNAPSHOT', location='http://localhost:8230/kie-server/services/rest/server'}started successfully at Tue Apr 04 10:48:07 CEST 2017</content>
<severity>INFO</severity>
<timestamp>2017-04-04T10:48:07.717+02:00</timestamp>
</messages>
<name>KieServer@/kie-server-services</name>
<id>a0e625bf-251d-3c1f-ad11-0a17f1c14e21</id>
<version>7.0.0-SNAPSHOT</version>
</kie-server-info>
</response>
'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:48:44.944 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response type="SUCCESS" msg="Container two-dmn-models successfully deployed with module org.kie.server.testing:two-dmn-models:1.0.0.Final.">
<kie-container container-id="two-dmn-models" status="STARTED">
<release-id>
<artifact-id>two-dmn-models</artifact-id>
<group-id>org.kie.server.testing</group-id>
<version>1.0.0.Final</version>
</release-id>
<resolved-release-id>
<artifact-id>two-dmn-models</artifact-id>
<group-id>org.kie.server.testing</group-id>
<version>1.0.0.Final</version>
</resolved-release-id>
<scanner status="DISPOSED"/>
</kie-container>
</response>
'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:48:44.999 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to send GET request to 'http://localhost:34455/kie-server-services/services/rest/server'
10:48:45.004 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response type="SUCCESS" msg="Kie Server info">
<kie-server-info>
<capabilities>KieServer</capabilities>
<capabilities>BRM</capabilities>
<capabilities>DMN</capabilities>
<location>http://localhost:8230/kie-server/services/rest/server</location>
<messages>
<content>Server KieServerInfo{serverId='a0e625bf-251d-3c1f-ad11-0a17f1c14e21', version='7.0.0-SNAPSHOT', location='http://localhost:8230/kie-server/services/rest/server'}started successfully at Tue Apr 04 10:48:07 CEST 2017</content>
<severity>INFO</severity>
<timestamp>2017-04-04T10:48:07.717+02:00</timestamp>
</messages>
<name>KieServer@/kie-server-services</name>
<id>a0e625bf-251d-3c1f-ad11-0a17f1c14e21</id>
<version>7.0.0-SNAPSHOT</version>
</kie-server-info>
</response>
'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:48:45.372 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response type="SUCCESS" msg="OK from container 'two-dmn-models'">
<dmn-evaluation-result>
<model-namespace>https://www.drools.org/kie-dmn/function-definition</model-namespace>
<model-name>function-definition</model-name>
<dmn-context xsi:type="jaxbListWrapper" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<type>MAP</type>
<element xsi:type="jaxbStringObjectPair" key="a">
<value xsi:type="xs:int" xmlns:xs="http://www.w3.org/2001/XMLSchema">10</value>
</element>
<element xsi:type="jaxbStringObjectPair" key="b">
<value xsi:type="xs:int" xmlns:xs="http://www.w3.org/2001/XMLSchema">5</value>
</element>
<element xsi:type="jaxbStringObjectPair" key="Math">
<value xsi:type="jaxbListWrapper">
<type>MAP</type>
<element xsi:type="jaxbStringObjectPair" key="SumFunction">
<value xsi:type="dmnNodeStub">function Math( v1, v2 )</value>
</element>
<element xsi:type="jaxbStringObjectPair" key="Sum">
<value xsi:type="xs:decimal" xmlns:xs="http://www.w3.org/2001/XMLSchema">15</value>
</element>
</value>
</element>
</dmn-context>
<messages/>
<decisionResults>
<entry>
<key>_b459d12a-f00f-4846-a12e-2883455f7d7b</key>
<value>
<decision-id>_b459d12a-f00f-4846-a12e-2883455f7d7b</decision-id>
<decision-name>Math</decision-name>
<result xsi:type="jaxbListWrapper" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<type>MAP</type>
<element xsi:type="jaxbStringObjectPair" key="SumFunction">
<value xsi:type="dmnNodeStub">function Math( v1, v2 )</value>
</element>
<element xsi:type="jaxbStringObjectPair" key="Sum">
<value xsi:type="xs:decimal" xmlns:xs="http://www.w3.org/2001/XMLSchema">15</value>
</element>
</result>
<status>SUCCEEDED</status>
</value>
</entry>
</decisionResults>
</dmn-evaluation-result>
</response>
'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:48:45.429 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to send GET request to 'http://localhost:34455/kie-server-services/services/rest/server'
10:48:45.436 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response type="SUCCESS" msg="Kie Server info">
<kie-server-info>
<capabilities>KieServer</capabilities>
<capabilities>BRM</capabilities>
<capabilities>DMN</capabilities>
<location>http://localhost:8230/kie-server/services/rest/server</location>
<messages>
<content>Server KieServerInfo{serverId='a0e625bf-251d-3c1f-ad11-0a17f1c14e21', version='7.0.0-SNAPSHOT', location='http://localhost:8230/kie-server/services/rest/server'}started successfully at Tue Apr 04 10:48:07 CEST 2017</content>
<severity>INFO</severity>
<timestamp>2017-04-04T10:48:07.717+02:00</timestamp>
</messages>
<name>KieServer@/kie-server-services</name>
<id>a0e625bf-251d-3c1f-ad11-0a17f1c14e21</id>
<version>7.0.0-SNAPSHOT</version>
</kie-server-info>
</response>
'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:48:45.541 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response type="SUCCESS" msg="OK from container 'two-dmn-models'">
<dmn-evaluation-result>
<model-namespace>https://github.com/kiegroup/kie-dmn/input-data-string</model-namespace>
<model-name>input-data-string</model-name>
<dmn-context xsi:type="jaxbListWrapper" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<type>MAP</type>
<element xsi:type="jaxbStringObjectPair" key="Full Name">
<value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema">John Doe</value>
</element>
<element xsi:type="jaxbStringObjectPair" key="Greeting Message">
<value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema">Hello John Doe</value>
</element>
</dmn-context>
<messages/>
<decisionResults>
<entry>
<key>d_GreetingMessage</key>
<value>
<decision-id>d_GreetingMessage</decision-id>
<decision-name>Greeting Message</decision-name>
<result xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Hello John Doe</result>
<status>SUCCEEDED</status>
</value>
</entry>
</decisionResults>
</dmn-evaluation-result>
</response>
'
into type: 'class org.kie.server.api.model.ServiceResponse'
{code}
was (Author: tari_manga):
Example JAXB (baseline of reference, and unchanged):
{code:xml}
10:48:11.167 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to send GET request to 'http://localhost:34455/kie-server-services/services/rest/server'
10:48:11.518 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response type="SUCCESS" msg="Kie Server info">
<kie-server-info>
<capabilities>KieServer</capabilities>
<capabilities>BRM</capabilities>
<capabilities>DMN</capabilities>
<location>http://localhost:8230/kie-server/services/rest/server</location>
<messages>
<content>Server KieServerInfo{serverId='a0e625bf-251d-3c1f-ad11-0a17f1c14e21', version='7.0.0-SNAPSHOT', location='http://localhost:8230/kie-server/services/rest/server'}started successfully at Tue Apr 04 10:48:07 CEST 2017</content>
<severity>INFO</severity>
<timestamp>2017-04-04T10:48:07.717+02:00</timestamp>
</messages>
<name>KieServer@/kie-server-services</name>
<id>a0e625bf-251d-3c1f-ad11-0a17f1c14e21</id>
<version>7.0.0-SNAPSHOT</version>
</kie-server-info>
</response>
'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:48:11.672 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to send GET request to 'http://localhost:34455/kie-server-services/services/rest/server/containers'
10:48:11.677 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response type="SUCCESS" msg="List of created containers">
<kie-containers/>
</response>
'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:48:43.307 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to send GET request to 'http://localhost:34455/kie-server-services/services/rest/server'
10:48:43.313 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response type="SUCCESS" msg="Kie Server info">
<kie-server-info>
<capabilities>KieServer</capabilities>
<capabilities>BRM</capabilities>
<capabilities>DMN</capabilities>
<location>http://localhost:8230/kie-server/services/rest/server</location>
<messages>
<content>Server KieServerInfo{serverId='a0e625bf-251d-3c1f-ad11-0a17f1c14e21', version='7.0.0-SNAPSHOT', location='http://localhost:8230/kie-server/services/rest/server'}started successfully at Tue Apr 04 10:48:07 CEST 2017</content>
<severity>INFO</severity>
<timestamp>2017-04-04T10:48:07.717+02:00</timestamp>
</messages>
<name>KieServer@/kie-server-services</name>
<id>a0e625bf-251d-3c1f-ad11-0a17f1c14e21</id>
<version>7.0.0-SNAPSHOT</version>
</kie-server-info>
</response>
'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:48:44.944 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response type="SUCCESS" msg="Container two-dmn-models successfully deployed with module org.kie.server.testing:two-dmn-models:1.0.0.Final.">
<kie-container container-id="two-dmn-models" status="STARTED">
<release-id>
<artifact-id>two-dmn-models</artifact-id>
<group-id>org.kie.server.testing</group-id>
<version>1.0.0.Final</version>
</release-id>
<resolved-release-id>
<artifact-id>two-dmn-models</artifact-id>
<group-id>org.kie.server.testing</group-id>
<version>1.0.0.Final</version>
</resolved-release-id>
<scanner status="DISPOSED"/>
</kie-container>
</response>
'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:48:44.999 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to send GET request to 'http://localhost:34455/kie-server-services/services/rest/server'
10:48:45.004 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response type="SUCCESS" msg="Kie Server info">
<kie-server-info>
<capabilities>KieServer</capabilities>
<capabilities>BRM</capabilities>
<capabilities>DMN</capabilities>
<location>http://localhost:8230/kie-server/services/rest/server</location>
<messages>
<content>Server KieServerInfo{serverId='a0e625bf-251d-3c1f-ad11-0a17f1c14e21', version='7.0.0-SNAPSHOT', location='http://localhost:8230/kie-server/services/rest/server'}started successfully at Tue Apr 04 10:48:07 CEST 2017</content>
<severity>INFO</severity>
<timestamp>2017-04-04T10:48:07.717+02:00</timestamp>
</messages>
<name>KieServer@/kie-server-services</name>
<id>a0e625bf-251d-3c1f-ad11-0a17f1c14e21</id>
<version>7.0.0-SNAPSHOT</version>
</kie-server-info>
</response>
'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:48:45.372 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response type="SUCCESS" msg="OK from container 'two-dmn-models'">
<dmn-evaluation-result>
<model-namespace>https://www.drools.org/kie-dmn/function-definition</model-namespace>
<model-name>function-definition</model-name>
<dmn-context xsi:type="jaxbListWrapper" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<type>MAP</type>
<element xsi:type="jaxbStringObjectPair" key="a">
<value xsi:type="xs:int" xmlns:xs="http://www.w3.org/2001/XMLSchema">10</value>
</element>
<element xsi:type="jaxbStringObjectPair" key="b">
<value xsi:type="xs:int" xmlns:xs="http://www.w3.org/2001/XMLSchema">5</value>
</element>
<element xsi:type="jaxbStringObjectPair" key="Math">
<value xsi:type="jaxbListWrapper">
<type>MAP</type>
<element xsi:type="jaxbStringObjectPair" key="SumFunction">
<value xsi:type="dmnNodeStub">function Math( v1, v2 )</value>
</element>
<element xsi:type="jaxbStringObjectPair" key="Sum">
<value xsi:type="xs:decimal" xmlns:xs="http://www.w3.org/2001/XMLSchema">15</value>
</element>
</value>
</element>
</dmn-context>
<messages/>
<decisionResults>
<entry>
<key>_b459d12a-f00f-4846-a12e-2883455f7d7b</key>
<value>
<decision-id>_b459d12a-f00f-4846-a12e-2883455f7d7b</decision-id>
<decision-name>Math</decision-name>
<result xsi:type="jaxbListWrapper" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<type>MAP</type>
<element xsi:type="jaxbStringObjectPair" key="SumFunction">
<value xsi:type="dmnNodeStub">function Math( v1, v2 )</value>
</element>
<element xsi:type="jaxbStringObjectPair" key="Sum">
<value xsi:type="xs:decimal" xmlns:xs="http://www.w3.org/2001/XMLSchema">15</value>
</element>
</result>
<status>SUCCEEDED</status>
</value>
</entry>
</decisionResults>
</dmn-evaluation-result>
</response>
'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:48:45.429 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to send GET request to 'http://localhost:34455/kie-server-services/services/rest/server'
10:48:45.436 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response type="SUCCESS" msg="Kie Server info">
<kie-server-info>
<capabilities>KieServer</capabilities>
<capabilities>BRM</capabilities>
<capabilities>DMN</capabilities>
<location>http://localhost:8230/kie-server/services/rest/server</location>
<messages>
<content>Server KieServerInfo{serverId='a0e625bf-251d-3c1f-ad11-0a17f1c14e21', version='7.0.0-SNAPSHOT', location='http://localhost:8230/kie-server/services/rest/server'}started successfully at Tue Apr 04 10:48:07 CEST 2017</content>
<severity>INFO</severity>
<timestamp>2017-04-04T10:48:07.717+02:00</timestamp>
</messages>
<name>KieServer@/kie-server-services</name>
<id>a0e625bf-251d-3c1f-ad11-0a17f1c14e21</id>
<version>7.0.0-SNAPSHOT</version>
</kie-server-info>
</response>
'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:48:45.541 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response type="SUCCESS" msg="OK from container 'two-dmn-models'">
<dmn-evaluation-result>
<model-namespace>https://github.com/kiegroup/kie-dmn/input-data-string</model-namespace>
<model-name>input-data-string</model-name>
<dmn-context xsi:type="jaxbListWrapper" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<type>MAP</type>
<element xsi:type="jaxbStringObjectPair" key="Full Name">
<value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema">John Doe</value>
</element>
<element xsi:type="jaxbStringObjectPair" key="Greeting Message">
<value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema">Hello John Doe</value>
</element>
</dmn-context>
<messages/>
<decisionResults>
<entry>
<key>d_GreetingMessage</key>
<value>
<decision-id>d_GreetingMessage</decision-id>
<decision-name>Greeting Message</decision-name>
<result xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Hello John Doe</result>
<status>SUCCEEDED</status>
</value>
</entry>
</decisionResults>
</dmn-evaluation-result>
</response>
'
into type: 'class org.kie.server.api.model.ServiceResponse'
{code}
> ServiceResponse XStream marshalling inconsistencies with JAXB
> -------------------------------------------------------------
>
> Key: DROOLS-1509
> URL: https://issues.jboss.org/browse/DROOLS-1509
> Project: Drools
> Issue Type: Bug
> Components: kie server
> Reporter: Matteo Mortari
> Assignee: Matteo Mortari
>
> XML Element in XStream is rendered with canonical name instead of being consistent with JAXB, for "response".
> Additionally in JAXB marshalling the {{type}} and {{msg}} are attributes, while in XStream are child elements.
> Please notice String special character escape is handled differently JAXB Vs XStream and this is NOT subject of this bug.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (DROOLS-1509) ServiceResponse XStream marshalling inconsistencies with JAXB
by Matteo Mortari (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1509?page=com.atlassian.jira.plugi... ]
Matteo Mortari edited comment on DROOLS-1509 at 4/4/17 4:57 AM:
----------------------------------------------------------------
Examples XStream with the proposed PR with the correction, at commit b9189bd :
{code:xml}
10:34:25.973 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to send GET request to 'http://localhost:43147/kie-server-services/services/rest/server'
10:34:26.001 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<response type="SUCCESS" msg="Kie Server info">
<result class="kie-server-info">
<serverId>a0e625bf-251d-3c1f-ad11-0a17f1c14e21</serverId>
<version>7.0.0-SNAPSHOT</version>
<name>KieServer@/kie-server-services</name>
<location>http://localhost:8230/kie-server/services/rest/server</location>
<capabilities>
<string>KieServer</string>
<string>BRM</string>
<string>DMN</string>
</capabilities>
<messages>
<kie-message>
<severity>INFO</severity>
<timestamp>2017-04-04 08:33:50.419 UTC</timestamp>
<messages>
<string>Server KieServerInfo{serverId='a0e625bf-251d-3c1f-ad11-0a17f1c14e21', version='7.0.0-SNAPSHOT', location='http://localhost:8230/kie-server/services/rest/server'}started successfully at Tue Apr 04 10:33:50 CEST 2017</string>
</messages>
</kie-message>
</messages>
</result>
</response>'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:34:26.052 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<response type="SUCCESS" msg="OK from container 'two-dmn-models'">
<result class="dmn-evaluation-result">
<model-namespace>https://www.drools.org/kie-dmn/function-definition</model-namespace>
<model-name>function-definition</model-name>
<dmn-context class="linked-hash-map">
<entry>
<string>a</string>
<int>10</int>
</entry>
<entry>
<string>b</string>
<int>5</int>
</entry>
<entry>
<string>Math</string>
<map>
<entry>
<string>SumFunction</string>
<dmn-node-stub>function Math( v1, v2 )</dmn-node-stub>
</entry>
<entry>
<string>Sum</string>
<big-decimal>15</big-decimal>
</entry>
</map>
</entry>
</dmn-context>
<messages/>
<decision-results>
<entry>
<string>_b459d12a-f00f-4846-a12e-2883455f7d7b</string>
<dmn-decision-result>
<decision-id>_b459d12a-f00f-4846-a12e-2883455f7d7b</decision-id>
<decision-name>Math</decision-name>
<result class="map" reference="../../../../dmn-context/entry[3]/map"/>
<status>SUCCEEDED</status>
</dmn-decision-result>
</entry>
</decision-results>
</result>
</response>'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:34:26.057 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to send GET request to 'http://localhost:43147/kie-server-services/services/rest/server'
10:34:26.063 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<response type="SUCCESS" msg="Kie Server info">
<result class="kie-server-info">
<serverId>a0e625bf-251d-3c1f-ad11-0a17f1c14e21</serverId>
<version>7.0.0-SNAPSHOT</version>
<name>KieServer@/kie-server-services</name>
<location>http://localhost:8230/kie-server/services/rest/server</location>
<capabilities>
<string>KieServer</string>
<string>BRM</string>
<string>DMN</string>
</capabilities>
<messages>
<kie-message>
<severity>INFO</severity>
<timestamp>2017-04-04 08:33:50.419 UTC</timestamp>
<messages>
<string>Server KieServerInfo{serverId='a0e625bf-251d-3c1f-ad11-0a17f1c14e21', version='7.0.0-SNAPSHOT', location='http://localhost:8230/kie-server/services/rest/server'}started successfully at Tue Apr 04 10:33:50 CEST 2017</string>
</messages>
</kie-message>
</messages>
</result>
</response>'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:34:26.080 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<response type="SUCCESS" msg="OK from container 'two-dmn-models'">
<result class="dmn-evaluation-result">
<model-namespace>https://github.com/kiegroup/kie-dmn/input-data-string</model-namespace>
<model-name>input-data-string</model-name>
<dmn-context class="linked-hash-map">
<entry>
<string>Full Name</string>
<string>John Doe</string>
</entry>
<entry>
<string>Greeting Message</string>
<string>Hello John Doe</string>
</entry>
</dmn-context>
<messages/>
<decision-results>
<entry>
<string>d_GreetingMessage</string>
<dmn-decision-result>
<decision-id>d_GreetingMessage</decision-id>
<decision-name>Greeting Message</decision-name>
<result class="string">Hello John Doe</result>
<status>SUCCEEDED</status>
</dmn-decision-result>
</entry>
</decision-results>
</result>
</response>'
into type: 'class org.kie.server.api.model.ServiceResponse'
{code}
was (Author: tari_manga):
Example XStream with the proposed PR with the correction, at commit b9189bd :
{code:xml}
10:34:25.973 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to send GET request to 'http://localhost:43147/kie-server-services/services/rest/server'
10:34:26.001 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<response type="SUCCESS" msg="Kie Server info">
<result class="kie-server-info">
<serverId>a0e625bf-251d-3c1f-ad11-0a17f1c14e21</serverId>
<version>7.0.0-SNAPSHOT</version>
<name>KieServer@/kie-server-services</name>
<location>http://localhost:8230/kie-server/services/rest/server</location>
<capabilities>
<string>KieServer</string>
<string>BRM</string>
<string>DMN</string>
</capabilities>
<messages>
<kie-message>
<severity>INFO</severity>
<timestamp>2017-04-04 08:33:50.419 UTC</timestamp>
<messages>
<string>Server KieServerInfo{serverId='a0e625bf-251d-3c1f-ad11-0a17f1c14e21', version='7.0.0-SNAPSHOT', location='http://localhost:8230/kie-server/services/rest/server'}started successfully at Tue Apr 04 10:33:50 CEST 2017</string>
</messages>
</kie-message>
</messages>
</result>
</response>'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:34:26.052 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<response type="SUCCESS" msg="OK from container 'two-dmn-models'">
<result class="dmn-evaluation-result">
<model-namespace>https://www.drools.org/kie-dmn/function-definition</model-namespace>
<model-name>function-definition</model-name>
<dmn-context class="linked-hash-map">
<entry>
<string>a</string>
<int>10</int>
</entry>
<entry>
<string>b</string>
<int>5</int>
</entry>
<entry>
<string>Math</string>
<map>
<entry>
<string>SumFunction</string>
<dmn-node-stub>function Math( v1, v2 )</dmn-node-stub>
</entry>
<entry>
<string>Sum</string>
<big-decimal>15</big-decimal>
</entry>
</map>
</entry>
</dmn-context>
<messages/>
<decision-results>
<entry>
<string>_b459d12a-f00f-4846-a12e-2883455f7d7b</string>
<dmn-decision-result>
<decision-id>_b459d12a-f00f-4846-a12e-2883455f7d7b</decision-id>
<decision-name>Math</decision-name>
<result class="map" reference="../../../../dmn-context/entry[3]/map"/>
<status>SUCCEEDED</status>
</dmn-decision-result>
</entry>
</decision-results>
</result>
</response>'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:34:26.057 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to send GET request to 'http://localhost:43147/kie-server-services/services/rest/server'
10:34:26.063 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<response type="SUCCESS" msg="Kie Server info">
<result class="kie-server-info">
<serverId>a0e625bf-251d-3c1f-ad11-0a17f1c14e21</serverId>
<version>7.0.0-SNAPSHOT</version>
<name>KieServer@/kie-server-services</name>
<location>http://localhost:8230/kie-server/services/rest/server</location>
<capabilities>
<string>KieServer</string>
<string>BRM</string>
<string>DMN</string>
</capabilities>
<messages>
<kie-message>
<severity>INFO</severity>
<timestamp>2017-04-04 08:33:50.419 UTC</timestamp>
<messages>
<string>Server KieServerInfo{serverId='a0e625bf-251d-3c1f-ad11-0a17f1c14e21', version='7.0.0-SNAPSHOT', location='http://localhost:8230/kie-server/services/rest/server'}started successfully at Tue Apr 04 10:33:50 CEST 2017</string>
</messages>
</kie-message>
</messages>
</result>
</response>'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:34:26.080 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<response type="SUCCESS" msg="OK from container 'two-dmn-models'">
<result class="dmn-evaluation-result">
<model-namespace>https://github.com/kiegroup/kie-dmn/input-data-string</model-namespace>
<model-name>input-data-string</model-name>
<dmn-context class="linked-hash-map">
<entry>
<string>Full Name</string>
<string>John Doe</string>
</entry>
<entry>
<string>Greeting Message</string>
<string>Hello John Doe</string>
</entry>
</dmn-context>
<messages/>
<decision-results>
<entry>
<string>d_GreetingMessage</string>
<dmn-decision-result>
<decision-id>d_GreetingMessage</decision-id>
<decision-name>Greeting Message</decision-name>
<result class="string">Hello John Doe</result>
<status>SUCCEEDED</status>
</dmn-decision-result>
</entry>
</decision-results>
</result>
</response>'
into type: 'class org.kie.server.api.model.ServiceResponse'
{code}
> ServiceResponse XStream marshalling inconsistencies with JAXB
> -------------------------------------------------------------
>
> Key: DROOLS-1509
> URL: https://issues.jboss.org/browse/DROOLS-1509
> Project: Drools
> Issue Type: Bug
> Components: kie server
> Reporter: Matteo Mortari
> Assignee: Matteo Mortari
>
> XML Element in XStream is rendered with canonical name instead of being consistent with JAXB, for "response".
> Additionally in JAXB marshalling the {{type}} and {{msg}} are attributes, while in XStream are child elements.
> Please notice String special character escape is handled differently JAXB Vs XStream and this is NOT subject of this bug.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months
[JBoss JIRA] (DROOLS-1509) ServiceResponse XStream marshalling inconsistencies with JAXB
by Matteo Mortari (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1509?page=com.atlassian.jira.plugi... ]
Matteo Mortari commented on DROOLS-1509:
----------------------------------------
Example XStream with the proposed PR with the correction, at commit b9189bd :
{code:xml}
10:34:25.973 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to send GET request to 'http://localhost:43147/kie-server-services/services/rest/server'
10:34:26.001 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<response type="SUCCESS" msg="Kie Server info">
<result class="kie-server-info">
<serverId>a0e625bf-251d-3c1f-ad11-0a17f1c14e21</serverId>
<version>7.0.0-SNAPSHOT</version>
<name>KieServer@/kie-server-services</name>
<location>http://localhost:8230/kie-server/services/rest/server</location>
<capabilities>
<string>KieServer</string>
<string>BRM</string>
<string>DMN</string>
</capabilities>
<messages>
<kie-message>
<severity>INFO</severity>
<timestamp>2017-04-04 08:33:50.419 UTC</timestamp>
<messages>
<string>Server KieServerInfo{serverId='a0e625bf-251d-3c1f-ad11-0a17f1c14e21', version='7.0.0-SNAPSHOT', location='http://localhost:8230/kie-server/services/rest/server'}started successfully at Tue Apr 04 10:33:50 CEST 2017</string>
</messages>
</kie-message>
</messages>
</result>
</response>'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:34:26.052 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<response type="SUCCESS" msg="OK from container 'two-dmn-models'">
<result class="dmn-evaluation-result">
<model-namespace>https://www.drools.org/kie-dmn/function-definition</model-namespace>
<model-name>function-definition</model-name>
<dmn-context class="linked-hash-map">
<entry>
<string>a</string>
<int>10</int>
</entry>
<entry>
<string>b</string>
<int>5</int>
</entry>
<entry>
<string>Math</string>
<map>
<entry>
<string>SumFunction</string>
<dmn-node-stub>function Math( v1, v2 )</dmn-node-stub>
</entry>
<entry>
<string>Sum</string>
<big-decimal>15</big-decimal>
</entry>
</map>
</entry>
</dmn-context>
<messages/>
<decision-results>
<entry>
<string>_b459d12a-f00f-4846-a12e-2883455f7d7b</string>
<dmn-decision-result>
<decision-id>_b459d12a-f00f-4846-a12e-2883455f7d7b</decision-id>
<decision-name>Math</decision-name>
<result class="map" reference="../../../../dmn-context/entry[3]/map"/>
<status>SUCCEEDED</status>
</dmn-decision-result>
</entry>
</decision-results>
</result>
</response>'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:34:26.057 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to send GET request to 'http://localhost:43147/kie-server-services/services/rest/server'
10:34:26.063 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<response type="SUCCESS" msg="Kie Server info">
<result class="kie-server-info">
<serverId>a0e625bf-251d-3c1f-ad11-0a17f1c14e21</serverId>
<version>7.0.0-SNAPSHOT</version>
<name>KieServer@/kie-server-services</name>
<location>http://localhost:8230/kie-server/services/rest/server</location>
<capabilities>
<string>KieServer</string>
<string>BRM</string>
<string>DMN</string>
</capabilities>
<messages>
<kie-message>
<severity>INFO</severity>
<timestamp>2017-04-04 08:33:50.419 UTC</timestamp>
<messages>
<string>Server KieServerInfo{serverId='a0e625bf-251d-3c1f-ad11-0a17f1c14e21', version='7.0.0-SNAPSHOT', location='http://localhost:8230/kie-server/services/rest/server'}started successfully at Tue Apr 04 10:33:50 CEST 2017</string>
</messages>
</kie-message>
</messages>
</result>
</response>'
into type: 'class org.kie.server.api.model.ServiceResponse'
10:34:26.080 [main] DEBUG o.k.s.c.i.AbstractKieServicesClientImpl - About to deserialize content:
'<response type="SUCCESS" msg="OK from container 'two-dmn-models'">
<result class="dmn-evaluation-result">
<model-namespace>https://github.com/kiegroup/kie-dmn/input-data-string</model-namespace>
<model-name>input-data-string</model-name>
<dmn-context class="linked-hash-map">
<entry>
<string>Full Name</string>
<string>John Doe</string>
</entry>
<entry>
<string>Greeting Message</string>
<string>Hello John Doe</string>
</entry>
</dmn-context>
<messages/>
<decision-results>
<entry>
<string>d_GreetingMessage</string>
<dmn-decision-result>
<decision-id>d_GreetingMessage</decision-id>
<decision-name>Greeting Message</decision-name>
<result class="string">Hello John Doe</result>
<status>SUCCEEDED</status>
</dmn-decision-result>
</entry>
</decision-results>
</result>
</response>'
into type: 'class org.kie.server.api.model.ServiceResponse'
{code}
> ServiceResponse XStream marshalling inconsistencies with JAXB
> -------------------------------------------------------------
>
> Key: DROOLS-1509
> URL: https://issues.jboss.org/browse/DROOLS-1509
> Project: Drools
> Issue Type: Bug
> Components: kie server
> Reporter: Matteo Mortari
> Assignee: Matteo Mortari
>
> XML Element in XStream is rendered with canonical name instead of being consistent with JAXB, for "response".
> Additionally in JAXB marshalling the {{type}} and {{msg}} are attributes, while in XStream are child elements.
> Please notice String special character escape is handled differently JAXB Vs XStream and this is NOT subject of this bug.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 6 months