Forum Stats

  • 3,826,763 Users
  • 2,260,705 Discussions
  • 7,897,072 Comments

Discussions

Eclipse Photon / WebLogic server - exception on 'Open launch configuration'

3746158
3746158 Member Posts: 4
edited Mar 18, 2019 5:26AM in Enterprise Pack for Eclipse

After upgrading to Eclipse Photon, double clicking on an existing WebLogic server and clicking the 'Open launch configuration' link fails with an exception, the user is not able to edit the configuration.

Issue submitted via the Eclipse error reporter. In the mean time, is there any way to edit the configuration behind the scenes?

BlackJacknikosaDanny.Ju-OracleSpecialAgent
«13

Answers

  • dvohra21
    dvohra21 Member Posts: 14,576 Gold Crown
    edited Jul 22, 2018 4:58PM

    What is the WebLogic server version? May not be suppoted.

  • 3746158
    3746158 Member Posts: 4
    edited Jul 23, 2018 4:02AM

    12.2.1.0, so a minor patch level or so behind.

  • dvohra21
    dvohra21 Member Posts: 14,576 Gold Crown
    edited Jul 23, 2018 1:48PM

    For Photon use Oracle Enterprise Pack for Eclipse 12c (12.2.1.3.1).

    "This release also includes changes to allow OEPE to install on Eclipse 4.8 (Photon) release "

    https://www.oracle.com/technetwork/developer-tools/eclipse/documentation/whatsnew-089747.html

  • User_QN72I
    User_QN72I Member Posts: 2 Green Ribbon
    edited Jul 26, 2018 10:31AM

    12.2.1.3.1 (default) didn't work and then I installed 12.2.1.8 but again, nothing happens when I try and open 'open launch configuration'.

    There's no obvious work-around.

  • dvohra21
    dvohra21 Member Posts: 14,576 Gold Crown
    edited Jul 28, 2018 7:30PM

    Oracle Enterprise Pack for Eclipse (12.2.1.8) and  12.2.1.3.1  are both supported versions. What seems to be the issue with OEPE? Are supported platforms used? In addition to capabilities provided by Eclipse and Web tools platform, OEPE

    provides premium Oracle WebLogic Server support.

    Seems like some supported system requirement is not used. Please refer System Requirements section https://www.oracle.com/technetwork/developer-tools/eclipse/learnmore/oepe12131ds-2232901.pdf

  • User_QN72I
    User_QN72I Member Posts: 2 Green Ribbon
    edited Jul 30, 2018 5:51AM

    However, at this link:

    https://www.oracle.com/technetwork/developer-tools/eclipse/documentation/whatsnew-089747.html

    it says OEPE 12.2.1.8 works with Eclipse 4.8 (Photon):

    What's New in Oracle Enterprise Pack for Eclipse 12c (12.2.1.8)?

    • Oracle Enterprise Pack for Eclipse (OEPE) 12.2.1.8 provides new feature support for creating dedicated connection to Oracle Developer Cloud Service in Oracle Cloud View.
    • This release also includes changes to allow OEPE to install on Eclipse 4.8 (Photon) release along with existing support for latest Eclipse 4.7 release(Oxygen 3a).
    • Eclipse 4.8 (Photon) users can install OEPE 12.2.1.8 through update site.
  • SpecialAgent
    SpecialAgent Member Posts: 7
    edited Jul 31, 2018 4:40AM

    I do have the same problem after I upgraded Eclipse from Oxygen to Photon and installed OEPE 12.2.1.8 from http://download.oracle.com/otn_software/oepe/12.2.1.8/oxygen/repository/

    Open launch configuration globally and then clicking on "Oracle WebLogic Server" and creating a new one, Im getting the following error in Eclipse Error Log:

    eclipse.buildId=4.8.0.I20180611-0500java.version=1.8.0_172java.vendor=Oracle CorporationBootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DEFramework arguments:  -product org.eclipse.epp.package.jee.productCommand-line arguments:  -os win32 -ws win32 -arch x86_64 -clean -product org.eclipse.epp.package.jee.productorg.eclipse.jfaceErrorTue Jul 31 10:18:45 CEST 2018Problems occurred when invoking code from plug-in: "org.eclipse.jface".java.lang.NoClassDefFoundError: org/eclipse/ui/help/WorkbenchHelp    at oracle.eclipse.tools.weblogic.ui.server.internal.WeblogicLaunchConfigurationTabGroup$WeblogicServerLaunchConfigurationTab.createControl(WeblogicLaunchConfigurationTabGroup.java:214)    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.showInstanceTabsFor(LaunchConfigurationTabGroupViewer.java:918)    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.displayInstanceTabs(LaunchConfigurationTabGroupViewer.java:849)    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer$10.run(LaunchConfigurationTabGroupViewer.java:736)    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:71)    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.inputChanged(LaunchConfigurationTabGroupViewer.java:753)    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.setInput0(LaunchConfigurationTabGroupViewer.java:674)    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.setInput(LaunchConfigurationTabGroupViewer.java:649)    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.handleLaunchConfigurationSelectionChanged(LaunchConfigurationsDialog.java:1047)    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog$4.selectionChanged(LaunchConfigurationsDialog.java:614)    at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:871)    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)    at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:44)    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)    at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:868)    at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1717)    at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1081)    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationView.handleConfigurationAdded(LaunchConfigurationView.java:332)    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationView.access$1(LaunchConfigurationView.java:317)    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationView$2.run(LaunchConfigurationView.java:306)    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37)    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3906)    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3537)    at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)    at org.eclipse.jface.window.Window.open(Window.java:794)    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1236)    at org.eclipse.debug.ui.DebugUITools$3.run(DebugUITools.java:630)    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:71)    at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:638)    at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:571)    at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:82)    at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)    at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4118)    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3931)    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3534)    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1170)    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1059)    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)    at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:667)    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:597)    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)    at java.lang.reflect.Method.invoke(Method.java:498)    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)    at org.eclipse.equinox.launcher.Main.run(Main.java:1498)    at org.eclipse.equinox.launcher.Main.main(Main.java:1471)
  • SpecialAgent
    SpecialAgent Member Posts: 7
    edited Jul 31, 2018 6:49AM

    I found the poblem:

    In 4.8.0 Photon WorkbenchHelp has been removed, since it is declared as deprecated since 2002. Current OEPE in the area of launch configuration seems to use this class.... please fix this problem and release an update!

    see

    http://help.eclipse.org/photon/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fporting%2Fremovals.html&resultof=%22%6f%72%67%2f%65%63%6c%69%70%73%65%2f%75%69%2f%68%65%6c%70%2f%57%6f%72%6b%62%65%6e%63%68%48%65%6c%70%22%20&anchor=icontextcomputer :

    4. IContextComputer and related classes

    The org.eclipse.ui.help.IContextComputer class and dependent classes, i.e., org.eclipse.ui.help.WorkbenchHelp, DialogPageContextComputer and ViewContextComputer have been deleted. They were deprecated since 2002.

    For further details or to provide feedback on this change, see bug 442961.

    or here, which has the same problem in Texclipse:

    https://github.com/eclipse/texlipse/issues/61

  • dvohra21
    dvohra21 Member Posts: 14,576 Gold Crown
    edited Aug 1, 2018 9:30PM

    Instead of upgrading start with Photon and add the OEPE 12.2.1.8 from the Update site. Issue seems to happen if version is upgraded.

  • 3746158
    3746158 Member Posts: 4
    edited Aug 8, 2018 7:23AM

    Starting with Photon and adding OEPE from the update site is the route I took and it fails. Given what @SpecialAgent has found I don't see how the way it is installed would make any difference. It's a fundamental problem that the Oracle maintainers need to fix and issue an update for. Use of a feature that's been deprecated for 16 years with no attempt to remove it is rather shocking.

This discussion has been closed.