[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3539) Smooks GUI Java Class finder is not able to find classes from other projects in the worksapce

Dirk Pitt (JIRA) jira-events at lists.jboss.org
Tue Jan 13 09:31:06 EST 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12447606#action_12447606 ] 

Dirk Pitt commented on JBIDE-3539:
----------------------------------

I did made the test with clean installation of the Ganymede and JBoss Nightly 12.1.2009

I got the exception I reported in the other bug and also the behaviour is there without the m2eclipse plugin....

I would attach the sample project there.  Smooks type finder is able to find the classes from the libraries (extarnal jar) but not from another project from the same workspace(referenced from the build path...)

PS. you have to configure an external library from the build path, the confiugration that I would send would not reference a valid library...

java.lang.NullPointerException
	at org.jboss.tools.smooks.ui.editors.SmooksNormalContentEditFormPage.initOtherConfigurationsGUI(SmooksNormalContentEditFormPage.java:206)
	at org.jboss.tools.smooks.ui.editors.SmooksNormalContentEditFormPage.endAnalyze(SmooksNormalContentEditFormPage.java:585)
	at org.jboss.tools.smooks.ui.editors.SmooksGraphicalFormPage.notifyAnalyzeListeners(SmooksGraphicalFormPage.java:1370)
	at org.jboss.tools.smooks.ui.editors.SmooksGraphicalFormPage.createFormContent(SmooksGraphicalFormPage.java:522)
	at org.eclipse.ui.forms.editor.FormPage$1.run(FormPage.java:151)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.forms.editor.FormPage.createPartControl(FormPage.java:149)
	at org.eclipse.ui.forms.editor.FormEditor.pageChange(FormEditor.java:488)
	at org.jboss.tools.smooks.ui.editors.SmooksFormEditor.pageChange(SmooksFormEditor.java:348)
	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.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2643)
	at org.eclipse.ui.ide.IDE.openEditor(IDE.java:577)
	at org.jboss.tools.smooks.ui.wizards.SmooksConfigFileNewWizard$2.run(SmooksConfigFileNewWizard.java:190)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173)
	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:382)
	at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
	at org.jboss.tools.smooks.ui.wizards.SmooksConfigFileNewWizard.performFinish(SmooksConfigFileNewWizard.java:101)
	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
	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.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:253)
	at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281)
	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:247)
	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
	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: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:2382)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
	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(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	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)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1212)


> Smooks GUI Java Class finder is not able to find classes from other projects in the worksapce
> ---------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-3539
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3539
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>         Environment: Ganymede 3.4.1, JBoss Tools Nightly 18.12.2008, m2eclipse 0.9.7, JDK5
>            Reporter: Dirk Pitt
>         Attachments: configuration13_01_09.txt
>
>
> I have two dependency defined in my pom..xml...
> One dependency existing as a Project under the same workspace the other not...
> M2eclipse plugin use the dependency as project reference and the other one as library reference for eclipse.
> Smooks is able to see the classes out of the library reference but not from the project reference...
> Now I don't know this is a Smooks problem or M2eclipse, if you tell me this is m2eclipse problem, I can redirect this to m2eclipse JIRA.....

-- 
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

        



More information about the jbosstools-issues mailing list