facebook

IllegalArgumentException in XSD editor during code assist

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #228462 Reply

    Brett Connor
    Member

    Using the XSD editor, ^space to autocomplete tags or produce list of tags, I get an error stack. Nothing seems to go wrong but the error stack is disconcerting.

    Error 2005-04-21 09:36:49.119 Problems occurred when invoking code from plug-in: “com.ibm.xtools.common.ui.properties”.
    java.lang.IllegalArgumentException: Argument cannot be null
    at org.eclipse.swt.SWT.error(SWT.java:2844)
    at org.eclipse.swt.SWT.error(SWT.java:2783)
    at org.eclipse.swt.SWT.error(SWT.java:2754)
    at org.eclipse.swt.widgets.Widget.error(Widget.java:393)
    at org.eclipse.swt.widgets.Text.setText(Text.java:1554)
    at com.ibm.xsdeditor.internal.properties.section.NameSection.refresh(NameSection.java:186)
    at com.ibm.xtools.common.ui.properties.internal.view.Tab$6.run(Tab.java:201)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1021)
    at org.eclipse.core.runtime.Platform.run(Platform.java:757)
    at com.ibm.xtools.common.ui.properties.internal.view.Tab.refresh(Tab.java:208)
    at com.ibm.xtools.common.ui.properties.TabbedPropertySheetPage.refresh(TabbedPropertySheetPage.java:573)
    at com.ibm.xsdeditor.internal.properties.section.XSDTabbedPropertySheetPage.notifyChanged(XSDTabbedPropertySheetPage.java:118)
    at org.eclipse.emf.edit.provider.ChangeNotifier.fireNotifyChanged(ChangeNotifier.java:45)
    at com.ibm.xsdeditor.internal.provider.XSDModelAdapterFactoryImpl.fireNotifyChanged(XSDModelAdapterFactoryImpl.java:403)
    at com.ibm.xsdeditor.internal.provider.XSDAbstractAdapter.fireNotifyChanged(XSDAbstractAdapter.java:137)
    at com.ibm.xsdeditor.internal.provider.XSDAbstractAdapter.notifyChanged(XSDAbstractAdapter.java:120)
    at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:225)
    at org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDConcreteComponentImpl.java:1207)
    at org.eclipse.xsd.impl.XSDComplexTypeDefinitionImpl.unsetDerivationMethod(XSDComplexTypeDefinitionImpl.java:426)
    at org.eclipse.xsd.impl.XSDComplexTypeDefinitionImpl.handleReconciliation(XSDComplexTypeDefinitionImpl.java:2297)
    at org.eclipse.xsd.impl.XSDConcreteComponentImpl.reconcileContents(XSDConcreteComponentImpl.java:1015)
    at org.eclipse.xsd.impl.XSDConcreteComponentImpl.elementContentsChanged(XSDConcreteComponentImpl.java:458)
    at com.ibm.xsdeditor.internal.XSDEditor$XSDDocumentAdapter.handleNotifyChange(XSDEditor.java:760)
    at com.ibm.xsdeditor.internal.XSDEditor$XSDDocumentAdapter$DelayedEvent.run(XSDEditor.java:839)
    at org.eclipse.swt.widgets.Display.runTimer(Display.java:2936)
    at org.eclipse.swt.widgets.Display.messageProc(Display.java:2277)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1625)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2525)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1570)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1534)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:306)
    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:228)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:156)
    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.core.launcher.Main.invokeFramework(Main.java:315)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
    at org.eclipse.core.launcher.Main.run(Main.java:942)
    at org.eclipse.core.launcher.Main.main(Main.java:926)

    – System Setup ——————————-
    Operating System and version: WinXP Pro SP1
    Eclipse version: 3.1M6
    Eclipse build id: I20050401-1645
    Fresh Eclipse install (y/n): y
    Other installed external plugins: Log4e, freemem
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 7
    MyEclipse version: 3.8.4
    Eclipse JDK version: 1.5.0_02
    Application Server JDK version: n/a
    Are there any exceptions in the Eclipse log file? above

    #228479 Reply

    Riyad Kalla
    Member

    Brett, interesting. I can reproduce this with JDK 1.5.0+ but when run with JDK 1.4 no exception. I will file this.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: IllegalArgumentException in XSD editor during code assist

You must be logged in to post in the forum log in