For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 1 reply, 2 voices, and was last updated 20 years, 7 months ago by
Riyad Kalla.
-
AuthorPosts
-
tibullusMemberFor further reference, please see https://www.genuitec.com/forums/topic/outline-doesn-t-link-to-struts-designer/&highlight= url.
Eclipse SDK
Version: 3.1.0
Build id: I20050627-1435MyEclipse JSF Support
Version: 3.9.210
Build id: 20050627-4.0-Milestone-2The meat of the situation is this. When I click on a node in the designer, it is properly highlighted in the Outline view. However, when I click a node in the Outline, it no longer finds that particular node in the Designer like it used to. For the most part there appears to be no message in the logs.
This is, however, only some of the interesting behavior in Designer for me. If I double click an entry in the Designer, nothing happens, and the following entry shows up in the log:
!ENTRY org.eclipse.ui 4 4 2005-08-04 09:22:37.732
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 2005-08-04 09:22:37.732
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.struts.editor.modeler.parts.StrutsResizableNodeEditPart.openEditor(StrutsResizableNodeEditPart.java:334)
at com.genuitec.eclipse.struts.editor.modeler.parts.StrutsResizableNodeEditPart.openTypeClassFile(StrutsResizableNodeEditPart.java:266)
at com.genuitec.eclipse.struts.editor.modeler.parts.StrutsResizableNodeEditPart.performRequest(StrutsResizableNodeEditPart.java:221)
at org.eclipse.gef.tools.SelectEditPartTracker.performOpen(SelectEditPartTracker.java:187)
at org.eclipse.gef.tools.SelectEditPartTracker.handleDoubleClick(SelectEditPartTracker.java:129)
at org.eclipse.gef.tools.AbstractTool.mouseDoubleClick(AbstractTool.java:944)
at org.eclipse.gef.tools.SelectionTool.mouseDoubleClick(SelectionTool.java:502)
at org.eclipse.gef.EditDomain.mouseDoubleClick(EditDomain.java:204)
at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseDoubleClicked(DomainEventDispatcher.java:285)
at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDoubleClick(LightweightSystem.java:518)
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:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
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:324)
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)I can also get an error to occur by double clicking nodes in the outline view (but this is not every entry). If I click on the node that represents this piece of the struts-config.xml file:
<action path="/b2b/initquicksearch" type="com.sapmarkets.isa.isacore.action.InitQuickSearchAction"> <forward name="success" path="/b2b/organizer-content-product-search.jsp"/> <forward name="nodisplay" path="/b2b/organizer-content-product-search.jsp"/> <forward name="redisplay" path="/b2b/firstquicksearch.do"/> </action>I get no error. However, if I double click the entry for this piece:
<action path="/b2b/firstquicksearch" input="/b2b/organizer-content-product-search.jsp" type="com.sapmarkets.isa.isacore.action.QuickSearchAction" name="quickSearchForm" validate="false"> <forward name="success" path="/b2b/organizer-content-product-search1.jsp"/> <forward name="failed" path="/b2b/organizer-content-product-search.jsp"/> </action>I get an error dialog which states “An Error has occurred, see log for more details”, and the following entry in the log file:
!ENTRY org.eclipse.jface 4 2 2005-08-04 09:28:18.684
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.jface”.
!STACK 0
org.eclipse.jface.util.Assert$AssertionFailedException: null argument;uncreated control requested with composite null
at org.eclipse.jface.util.Assert.isNotNull(Assert.java:149)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.DialogField.assertCompositeNotNull(DialogField.java:229)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.DialogField.getLabelControl(DialogField.java:141)
at com.genuitec.eclipse.struts.wizards.NewActionMultipageWizardPage.typePageDialogFieldChanged(NewActionMultipageWizardPage.java:860)
at com.genuitec.eclipse.struts.wizards.NewEasyStrutsWizardPage$TypeFieldsAdapter.dialogFieldChanged(NewEasyStrutsWizardPage.java:97)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.DialogField.dialogFieldChanged(DialogField.java:70)
at org.eclipse.jdt.internal.ui.wizards.dialogfields.StringDialogField.setText(StringDialogField.java:162)
at com.genuitec.eclipse.struts.wizards.NewActionMultipageWizardPage.initFromActionConfig(NewActionMultipageWizardPage.java:306)
at com.genuitec.eclipse.struts.wizards.NewActionMultipageWizardPage.createControl(NewActionMultipageWizardPage.java:605)
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:179)
at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:611)
at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:502)
at org.eclipse.jface.window.Window.create(Window.java:418)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:996)
at org.eclipse.jface.window.Window.open(Window.java:776)
at com.genuitec.eclipse.struts.editor.outline.BasicOpenWizardActionDelegate$1.run(BasicOpenWizardActionDelegate.java:113)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at com.genuitec.eclipse.struts.editor.outline.BasicOpenWizardActionDelegate.launchWizard(BasicOpenWizardActionDelegate.java:117)
at com.genuitec.eclipse.struts.editor.outline.BasicOpenWizardActionDelegate.run(BasicOpenWizardActionDelegate.java:54)
at com.genuitec.eclipse.struts.editor.outline.StrutsConfigNodeDoubleClickListener.doubleClick(StrutsConfigNodeDoubleClickListener.java:51)
at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:720)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:718)
at org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(StructuredViewer.java:950)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1057)
at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:219)
at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:216)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:275)
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:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
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:324)
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)– System Setup ——————————-
Operating System and version:
Eclipse version: 3.1.0
Eclipse build id: I20050627-1435
Fresh Eclipse install (y/n): y
If not, was it upgraded to its current version using the update manager?
Other installed external plugins:
Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 4
MyEclipse version: 3.9.210
Eclipse JDK version: 1.4.08
Application Server JDK version:
Are there any exceptions in the Eclipse log file? yes, includedIf this is a DB related question please answer the following:
RDBMS vendor and version:
JDBC driver vendor and version, and access type (thin, type-2, etc):
Connection URL:
Eclipse error logs related to com.genuitec.eclipse.sqlexplorer packages:– Message Body ——————————-
August 4, 2005 at 7:07 pm #234238
Riyad KallaMemberI cannot reproduce any of these problems, all the behaviors I have with my setup work as expected, so that leads me to think there is something going on with your project. Is there any way to zip this project up and send it to support@genuitec.com ATTN Riyad so I can play around with it?
-
AuthorPosts
