[
https://jira.jboss.org/jira/browse/JBRULES-2089?page=com.atlassian.jira.p...
]
Jonathan Ingold commented on JBRULES-2089:
------------------------------------------
Using the EGT from Drools 5 CR1.
Sorry, should have included the log entry is states:
ENTRY org.drools.guvnor 4 0 2009-05-11 15:32:28.805
!MESSAGE File not found:
C:\Workspaces\Demo\mortgage-client\rules\.guvnorinfo\.ApplicantDsl.dsl.
!STACK 1
org.eclipse.core.internal.resources.ResourceException: File not found:
C:\Workspaces\Demo\mortgage-client\rules\.guvnorinfo\.ApplicantDsl.dsl.
at
org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:632)
at org.eclipse.core.internal.resources.File.getContents(File.java:298)
at org.eclipse.core.internal.resources.File.getContents(File.java:287)
at org.guvnor.tools.utils.GuvnorMetadataUtils.loadGuvnorMetadata(Unknown Source)
at org.guvnor.tools.utils.GuvnorMetadataUtils.getGuvnorMetadata(Unknown Source)
at org.guvnor.tools.utils.ActionUtils.checkResourceSet(Unknown Source)
at org.guvnor.tools.actions.UpdateAction.selectionChanged(Unknown Source)
at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:206)
at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:277)
at
org.eclipse.ui.internal.ObjectActionContributor$1.run(ObjectActionContributor.java:157)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.ui.internal.ObjectActionContributor.contributeObjectActions(ObjectActionContributor.java:160)
at
org.eclipse.ui.internal.ObjectActionContributorManager.contributeObjectActions(ObjectActionContributorManager.java:97)
at
org.eclipse.ui.internal.PopupMenuExtender.addObjectActions(PopupMenuExtender.java:261)
at org.eclipse.ui.internal.PopupMenuExtender.menuAboutToShow(PopupMenuExtender.java:337)
at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:335)
at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:463)
at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:459)
at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:485)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:235)
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.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.java:4111)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3815)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1576)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1937)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528)
at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:250)
at org.eclipse.swt.widgets.Display.runPopups(Display.java:3849)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3416)
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)
!SUBENTRY 1 org.eclipse.core.resources 4 271 2009-05-11 15:32:28.805
!MESSAGE File not found:
C:\Workspaces\Demo\mortgage-client\rules\.guvnorinfo\.ApplicantDsl.dsl.
JBoss Drools Bug Eclipse Guvnor Toolkit (EGT) Cannot Destroy
Meta-Data Containing The Link Between Local Copy and Guvnor's Copy
---------------------------------------------------------------------------------------------------------------------------------
Key: JBRULES-2089
URL:
https://jira.jboss.org/jira/browse/JBRULES-2089
Project: JBoss Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-eclipse, drools-guvnor
Affects Versions: 5.0.0.CR1
Environment: OS
XP-Pro SP3
Eclipse
Version: 3.4.2Build id: M20090211-1700
Sun
jdk1.5.0_18
JBoss AS
4.2.3 GA
Reporter: Jonathan Ingold
Assignee: John Graham
When instructing EGT to either delete a file or destroy a connection a dialog box pops up
with stating "Problems encountered while deleting resources." The detail box is
blank.
When choosing do delete the file from Guvnor, the file is successfully archived in
Guvnor; however, it then tries to destroy the meta-data file (disconnect) under the
.guvnorinfo subfolder and is unsuccessful in deleting the link file. I have tried moving
the workspace to the local machine and the error still occurs
Reproducing The Problem
With our Mortgage example if you select disconnect under the Guvnor Menu for any imported
rule the error occurs. If you select delete it occurs as well with the exception that the
file is indeed archived in guvnor.
File Appendix
.BankruptcyHistory.drl *Notice the "." (This is the meta-data file)
#Mon May 11 14:44:22 EDT 2009
filename=BankruptcyHistory.drl
revision=14
lastmodified=2009-05-11T14\:37\:20
repository=http\://localhost\:8080/drools-guvnor/org.drools.guvnor.Guvnor/webdav
fullpath=http\://localhost\:8080/drools-guvnor/org.drools.guvnor.Guvnor/webdav/packages/mortgages/BankruptcyHistory.drl
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira