Hey guys.

 

Not sure if this is a bug or if it is just not supported, it appears with the current version of Drools 5 and JBoss Tools. If I open a brl created with the BRMS I get the following Exception in Eclipse:

 

com.thoughtworks.xstream.mapper.CannotResolveClassException: nature : nature

                at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:68)

                at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)

                at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:71)

                at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)

                at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)

                at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)

                at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:86)

                at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)

                at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)

                at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)

                at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)

                at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)

                at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)

                at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:96)

                at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)

                at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)

                at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)

                at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)

                at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)

                at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)

                at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)

                at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:52)

                at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.determineType(AbstractReflectionConverter.java:347)

                at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:208)

                at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:162)

                at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)

                at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)

                at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)

                at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)

                at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)

                at com.thoughtworks.xstream.converters.collections.ArrayConverter.unmarshal(ArrayConverter.java:55)

                at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)

                at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)

                at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)

                at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:246)

                at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:218)

                at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:162)

                at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)

                at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)

                at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)

                at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)

                at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)

                at com.thoughtworks.xstream.converters.collections.ArrayConverter.unmarshal(ArrayConverter.java:55)

                at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)

                at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)

                at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)

                at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:246)

                at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:218)

                at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:162)

                at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)

                at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)

                at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)

                at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)

                at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137)

                at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)

                at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:923)

                at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:909)

                at com.thoughtworks.xstream.XStream.fromXML(XStream.java:853)

                at com.thoughtworks.xstream.XStream.fromXML(XStream.java:845)

                at org.drools.guvnor.server.util.BRXMLPersistence.unmarshal(BRXMLPersistence.java:83)

                at org.drools.eclipse.rulebuilder.editors.BrlPage.setModelXML(BrlPage.java:44)

                at org.drools.eclipse.rulebuilder.editors.RuleEditor.pageChange(RuleEditor.java:274)

                at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:973)

                at org.eclipse.ui.forms.editor.FormEditor.setActivePage(FormEditor.java:623)

                at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:314)

                at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)

                at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)

                at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)

                at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266)

                at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2820)

                at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)

                at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)

                at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)

                at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)

                at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)

                at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)

                at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:337)

                at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:325)

                at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:187)

                at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)

                at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)

                at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)

                at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)

                at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)

                at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)

                at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)

                at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)

                at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)

                at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

                at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)

                at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)

                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)

                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)

                at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)

                at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

 

Thanks

Bernd

--

Unsere Seminare: www.camunda.com/seminare/

Blog: www.bpm-guide.de

---------------------------------------------

camunda services GmbH - The Business Process Company

Zossener Straße 55-58 - 10961 Berlin

www.camunda.com - info@camunda.com

---------------------------------------------

Bernd Rücker

Geschäftsführer

Telefon +49 +49 30 664040 901

Mobil +49 171 1473461

bernd.ruecker@camunda.com

---------------------------------------------

Amtsgericht Charlottenburg: HRB 113230 B

Geschäftsführer: Jakob Freund, Bernd Rücker

---------------------------------------------

EJB-3-Buch: http://www.ejbbuch.de/

BPMN-Buch: http://www.hanser.de/buch.asp?isbn=978-3-446-41768-7