Derby
  1. Derby
  2. DERBY-6377

Add Derby Nature doesn't work wirh Eclipse Kepler 4.3, only with Juno 4.2

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 10.10.1.1
    • Fix Version/s: None
    • Component/s: Eclipse Plug-in
    • Labels:
      None
    • Environment:
    • Bug behavior facts:
      Crash

      Description

      Add Derby Nature doesn't work wirh Eclipse Kepler
      MESSAGE Unhandled event loop exception
      !STACK 0
      java.lang.NullPointerException
      at org.apache.derby.ui.popup.actions.AddDerbyNature.run(AddDerbyNature.java:127)
      at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
      at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
      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:1057)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
      at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      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:354)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
      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.equinox.launcher.Main.invokeFramework(Main.java:636)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1450)

        Activity

        fpientka created issue -
        Hide
        Myrna van Lunteren added a comment -

        You list this as affects 10.10.1.1; did you build the eclipse plugins yourself?

        The derby community decided not to generate the eclipse plugins anymore, not since 10.8.2. The basic reason was that the charter of the project states: "Database GUI tooling and IDEs are not developed by the Derby project."

        So we've not adjusted the plugin source to the newer eclipse versions/plugin creation mechanisms either.

        You can add the derby.jars manually to the classpath in eclipse when developing applications embedding derby. You can manually create suitable 'run As' entries to execute ij, sysinfo, or NetworkServerControl start/shutdown. For documentation, you'll have to use the actual documentation.

        We'll have to close this as 'won't fix'.

        The old source for the plugins is part of open source, you can take it and fork it and update it to match the new eclipse plugin support. If you do this, you'll probably need to mention the origin of the original plugin...
        Or you can write something from scratch.
        Either way, if you decide to write such a plugin and host it, please consider adding it to the 'uses of derby', there are likely other users who are interested in a derby plugin for eclipse.

        Show
        Myrna van Lunteren added a comment - You list this as affects 10.10.1.1; did you build the eclipse plugins yourself? The derby community decided not to generate the eclipse plugins anymore, not since 10.8.2. The basic reason was that the charter of the project states: "Database GUI tooling and IDEs are not developed by the Derby project." So we've not adjusted the plugin source to the newer eclipse versions/plugin creation mechanisms either. You can add the derby.jars manually to the classpath in eclipse when developing applications embedding derby. You can manually create suitable 'run As' entries to execute ij, sysinfo, or NetworkServerControl start/shutdown. For documentation, you'll have to use the actual documentation. We'll have to close this as 'won't fix'. The old source for the plugins is part of open source, you can take it and fork it and update it to match the new eclipse plugin support. If you do this, you'll probably need to mention the origin of the original plugin... Or you can write something from scratch. Either way, if you decide to write such a plugin and host it, please consider adding it to the 'uses of derby', there are likely other users who are interested in a derby plugin for eclipse.
        Hide
        ASF subversion and git services added a comment -

        Commit 1532636 from Myrna van Lunteren in branch 'code/trunk'
        [ https://svn.apache.org/r1532636 ]

        DERBY-6377; Add Derby Nature doesn't work wirh Eclipse Kepler 4.3, only with Juno 4.2
        Adding a note to the top of the Readme to indicate this is no longer being maintained.

        Show
        ASF subversion and git services added a comment - Commit 1532636 from Myrna van Lunteren in branch 'code/trunk' [ https://svn.apache.org/r1532636 ] DERBY-6377 ; Add Derby Nature doesn't work wirh Eclipse Kepler 4.3, only with Juno 4.2 Adding a note to the top of the Readme to indicate this is no longer being maintained.
        Hide
        Myrna van Lunteren added a comment -

        I've found a wiki page describing the plugin which I modified to indicate there is no further activity on the plugin. I also updated the plugin directory's Readme in trunk.

        Show
        Myrna van Lunteren added a comment - I've found a wiki page describing the plugin which I modified to indicate there is no further activity on the plugin. I also updated the plugin directory's Readme in trunk.
        Myrna van Lunteren made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            fpientka
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development