-
1. Re: Class Browse Button/Dialog not working
mattjackson86 Apr 11, 2006 7:00 PM (in response to mattjackson86)I did some debugging and it never exits:
SelectionDialog dialog= JavaUI.createTypeDialog( parent, new ProgressMonitorDialog(parent), SearchEngine.createHierarchyScope( ProjectFinder.getCurrentProject().findType( typeName)), IJavaElementSearchConstants.CONSIDER_ALL_TYPES, false);
-
2. Re: Class Browse Button/Dialog not working
mattjackson86 Apr 11, 2006 7:01 PM (in response to mattjackson86)FYI, that is in: ChooseHandlerClassDialog.java
-
3. Re: Class Browse Button/Dialog not working
mattjackson86 Apr 13, 2006 8:35 PM (in response to mattjackson86)Anybody getting this issue? It is kind of a big issue as I can not choose a class for the action handler.....just wondering if this is an issue with me or everyone....
Thanks -
4. Re: Class Browse Button/Dialog not working
kukeltje Apr 13, 2006 9:37 PM (in response to mattjackson86)I think very few people use the CVS version of the GPD. Probably you and Koen ;-). If the button does not work, you can always use the source view, but I suspect I do not tell you anything new ;-)
If/When Koen is going to have a look, he at least needs to now the eclipse version, whether there are any other plugins installed etc....etc...etc.. -
5. Re: Class Browse Button/Dialog not working
koen.aers Apr 14, 2006 2:15 AM (in response to mattjackson86)Matt,
The class browse button works for me. Check out your eclipse error log for any messages. Or do a good old debugging session...
Regards,
Koen -
6. Re: Class Browse Button/Dialog not working
mattjackson86 Apr 14, 2006 12:06 PM (in response to mattjackson86)"koen.aers@jboss.com" wrote:
Matt,
The class browse button works for me. Check out your eclipse error log for any messages. Or do a good old debugging session...
Regards,
Koen
Alright, thanks. Just wanted to see if it was jsut me or everyone. -
7. Re: Class Browse Button/Dialog not working
mattjackson86 Apr 14, 2006 1:54 PM (in response to mattjackson86)!ENTRY org.eclipse.ui 4 0 2006-04-14 10:53:56.699 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.jdt.internal.core.search.HierarchyScope.computeProjectsAndJars(HierarchyScope.java:154) at org.eclipse.jdt.internal.core.search.HierarchyScope.<init>(HierarchyScope.java:69) at org.eclipse.jdt.internal.core.search.BasicSearchEngine.createHierarchyScope(BasicSearchEngine.java:107) at org.eclipse.jdt.internal.core.search.BasicSearchEngine.createHierarchyScope(BasicSearchEngine.java:100) at org.eclipse.jdt.core.search.SearchEngine.createHierarchyScope(SearchEngine.java:169) at org.jbpm.ui.dialog.ChooseHandlerClassDialog.openDialog(ChooseHandlerClassDialog.java:55) at org.jbpm.ui.properties.HandlerMainInfoComposite.chooseHandlerClass(HandlerMainInfoComposite.java:116) at org.jbpm.ui.properties.HandlerMainInfoComposite.access$0(HandlerMainInfoComposite.java:109) at org.jbpm.ui.properties.HandlerMainInfoComposite$1.widgetSelected(HandlerMainInfoComposite.java:89) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758) at org.eclipse.jface.window.Window.runEventLoop(Window.java:809) at org.eclipse.jface.window.Window.open(Window.java:787) at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157) at org.jbpm.ui.part.tree.ElementTreeEditPart.openPropertyDialog(ElementTreeEditPart.java:85) at org.jbpm.ui.part.tree.ElementTreeEditPart.performRequest(ElementTreeEditPart.java:76) at org.jbpm.ui.outline.DesignerOutlineViewer.handleDoubleClick(DesignerOutlineViewer.java:209) at org.jbpm.ui.outline.DesignerOutlineViewer.access$3(DesignerOutlineViewer.java:206) at org.jbpm.ui.outline.DesignerOutlineViewer$4.mouseDoubleClick(DesignerOutlineViewer.java:187) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:141) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) 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:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948)
-
8. Re: Class Browse Button/Dialog not working
koen.aers Apr 16, 2006 5:24 AM (in response to mattjackson86)This is a weird exception. Could this be in a workspace that was created with another Eclipse version?
Regards,
Koen -
9. Re: Class Browse Button/Dialog not working
mattjackson86 Apr 17, 2006 4:43 PM (in response to mattjackson86)"koen.aers@jboss.com" wrote:
This is a weird exception. Could this be in a workspace that was created with another Eclipse version?
Regards,
Koen
No....brand new eclipse 3.1.2 install with the jbpm gpd, compiled in 3.1.2, installed. Workpace created in 3.1.2.
I looked into is more and the code:ProjectFinder.getCurrentProject().findType( typeName))
in the class returns null. This causes teh null pointer i think.
I have not changed typeName. -
10. Re: Class Browse Button/Dialog not working
mattjackson86 Apr 18, 2006 6:49 PM (in response to mattjackson86)What default entries should be in the project build path when a new process project is created?
-
11. Re: Class Browse Button/Dialog not working
mattjackson86 Apr 18, 2006 7:02 PM (in response to mattjackson86)I do not think when I am compileing the gpd and exporting it as a feature that i have the core jbpm compiled.....
What are the exact packages needed to compile and run the gpd?
I have:
org.jbpm.core
org.jbpm.db
org.jbpm.help
org.jbpm.ui
My .core folder from cvs does not contain much.
See when I create a new process project my "core jbpm location for this project" is: jBPM %jbpm.version% so it is not picking it up.....
what am i missing?
Thanks -
12. Re: Class Browse Button/Dialog not working
koen.aers Apr 19, 2006 5:11 AM (in response to mattjackson86)I moved the discussion to the developer's forum
Regards,
Koen