- This topic has 3 replies, 2 voices, and was last updated 12 years, 10 months ago by support-swapna.
-
AuthorPosts
-
Frank LawlorParticipantI used to Config Ctr to search for Drools and installed it.
When you create a new Drools project, it offers to create ‘Hello World’ samples, but never does.
The log shows the following:
!ENTRY org.drools.eclipse 4 120 2012-01-24 16:33:50.015
!MESSAGE Internal error in Drools Plugin:
!STACK 0
java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1029)
at org.drools.eclipse.wizard.project.NewDroolsProjectWizard.createDroolsProject(Unknown Source)
at org.drools.eclipse.wizard.project.NewDroolsProjectWizard.performFinish(Unknown Source)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:257)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:277)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.genuitec.pulse.eclipse.launcher.Main.main(Main.java:110)
Caused by: java.lang.NullPointerException
at org.drools.eclipse.util.DroolsClasspathContainer.createDroolsLibraryEntries(Unknown Source)
at org.drools.eclipse.util.DroolsClasspathContainer.getClasspathEntries(Unknown Source)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2680)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2597)
at org.eclipse.jdt.internal.core.ClasspathEntry.validateClasspath(ClasspathEntry.java:1598)
at org.eclipse.jdt.internal.core.SetClasspathOperation.verify(SetClasspathOperation.java:117)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:782)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3078)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3040)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3093)
at org.drools.eclipse.wizard.project.NewDroolsProjectWizard.addDroolsLibraries(Unknown Source)
at org.drools.eclipse.wizard.project.NewDroolsProjectWizard.setClasspath(Unknown Source)
at org.drools.eclipse.wizard.project.NewDroolsProjectWizard.access$3(Unknown Source)
at org.drools.eclipse.wizard.project.NewDroolsProjectWizard$1.execute(Unknown Source)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Root exception:
java.lang.NullPointerException
at org.drools.eclipse.util.DroolsClasspathContainer.createDroolsLibraryEntries(Unknown Source)
at org.drools.eclipse.util.DroolsClasspathContainer.getClasspathEntries(Unknown Source)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2680)
at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2597)
at org.eclipse.jdt.internal.core.ClasspathEntry.validateClasspath(ClasspathEntry.java:1598)
at org.eclipse.jdt.internal.core.SetClasspathOperation.verify(SetClasspathOperation.java:117)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:782)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3078)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3040)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3093)
at org.drools.eclipse.wizard.project.NewDroolsProjectWizard.addDroolsLibraries(Unknown Source)
at org.drools.eclipse.wizard.project.NewDroolsProjectWizard.setClasspath(Unknown Source)
at org.drools.eclipse.wizard.project.NewDroolsProjectWizard.access$3(Unknown Source)
at org.drools.eclipse.wizard.project.NewDroolsProjectWizard$1.execute(Unknown Source)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
support-swapnaModeratorflawlor ,
Sorry that you are seeing this issue. We do not provide intrinsic support for third party plugins but we will try to assist you in this case.
1) Can you share the Build ID from Help > About MyEclipse Enterprise Edition > Build ID ?
2) Take a look at this thread which discusses the same issue :
https://www.genuitec.com/forums/topic/drools-plugin-problem/If you are working with MyEclipse 9.1 version, then please use the update site for Drools 5.2 version. If you can find an update site for Drools which is compatible with Eclipse 3.7 version , then you can try installing it in MyEclipse 10.
Let us know how it works for you.
Frank LawlorParticipantI gave up on that drools install and instead downloaded the “Drools and JBPM tools” from http://www.jboss.org/drools/downloads.html. This has you doing an install from a local site. Although lacking in instructions, it does work once you figure it all out.
Thanks for the help.
support-swapnaModeratorflawlor,
Thank you for posting the workaround. This will surely help other Drools users.
-
AuthorPosts