java.lang.IllegalArgumentException:

Spring JIRA | Eugene Lucash | 9 years ago
  1. 0

    URL hyperlinking functionality provided by wtp xml editor broken in recent spring ide release (maybe with addition features related to tooling annotations) URL hyperlinking expected for example on xmlns, schemaLocation, or any arbitrary attribute that expects url value. {code} java.lang.IllegalArgumentException: at org.eclipse.core.runtime.Assert.isLegal(Assert.java:62) at org.eclipse.core.runtime.Assert.isLegal(Assert.java:46) at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:265) at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:458) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:198) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) {code} Although there is no Spring IDE classes-methods in above stack trace but exception gets thrown repeatedly exactly when holding CTRL key and navigating elements that does not have hyperlinking related to Spring IDE functionality. In other words Spring IDE hyperlinking works OK but regular XML hyperlinking functionality broken in Spring configs In regular xml files and in spring xml confing with root element other than `beans` all works as expected.

    Spring JIRA | 9 years ago | Eugene Lucash
    java.lang.IllegalArgumentException:
  2. 0

    URL hyperlinking functionality provided by wtp xml editor broken in recent spring ide release (maybe with addition features related to tooling annotations) URL hyperlinking expected for example on xmlns, schemaLocation, or any arbitrary attribute that expects url value. {code} java.lang.IllegalArgumentException: at org.eclipse.core.runtime.Assert.isLegal(Assert.java:62) at org.eclipse.core.runtime.Assert.isLegal(Assert.java:46) at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:265) at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:458) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:198) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) {code} Although there is no Spring IDE classes-methods in above stack trace but exception gets thrown repeatedly exactly when holding CTRL key and navigating elements that does not have hyperlinking related to Spring IDE functionality. In other words Spring IDE hyperlinking works OK but regular XML hyperlinking functionality broken in Spring configs In regular xml files and in spring xml confing with root element other than `beans` all works as expected.

    Spring JIRA | 9 years ago | Eugene Lucash
    java.lang.IllegalArgumentException:
  3. 0

    when reset perspective is done on E4 error occurs

    Stack Overflow | 2 years ago | vinod
    org.eclipse.e4.core.di.InjectionException: java.lang.IllegalArgumentException:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Trying to open an editor in RCP

    Stack Overflow | 3 years ago | Ganesh
    java.lang.IllegalArgumentException:

    6 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      at org.eclipse.core.runtime.Assert.isLegal()
    2. Eclipse Core
      Assert.isLegal
      1. org.eclipse.core.runtime.Assert.isLegal(Assert.java:62)
      2. org.eclipse.core.runtime.Assert.isLegal(Assert.java:46)
      2 frames
    3. JFace Text
      HyperlinkManager.mouseMove
      1. org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:265)
      2. org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:458)
      2 frames
    4. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:198)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
      5 frames
    5. Eclipse UI
      Workbench$4.run
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
      3. org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
      4. org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
      4 frames
    6. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
      1 frame
    7. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
      1 frame
    8. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      1 frame
    9. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
      1 frame