Thursday, February 04, 2016

Jdeveloper 12.1.3/12.2.1 startup exception on Linux/Windows/RHEL

Problem Statement:


Sometime after the System reboot without closing Jdeveloper, It fails to start with following exception.
This can also be caused by some other situations.
Oracle JDeveloper 12c 12.1.3.0.0
Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
java.lang.RuntimeException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
  at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.resume(InternalSystemBundle.java:233)
  at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:657)
  at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalInit(EquinoxLauncher.java:69)
  at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.init(EquinoxLauncher.java:37)
  at org.eclipse.osgi.launch.Equinox.init(Equinox.java:178)
  at org.netbeans.modules.netbinox.Netbinox.init(Netbinox.java:84)
  at org.netbeans.core.netigso.Netigso.prepare(Netigso.java:166)
  at org.netbeans.NetigsoHandle.turnOn(NetigsoHandle.java:127)
  at org.netbeans.ModuleManager.enable(ModuleManager.java:1176)
  at org.netbeans.ModuleManager.enable(ModuleManager.java:1011)
  at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340)
  at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)
  at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:301)
  at org.netbeans.core.startup.Main.getModuleSystem(Main.java:181)
  at org.netbeans.core.startup.Main.getModuleSystem(Main.java:150)
  at org.netbeans.core.startup.Main.start(Main.java:307)
  at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
  at java.lang.Thread.run(Thread.java:745)
Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start() of bundle org.eclipse.osgi.
  at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
  at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
  at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.resume(InternalSystemBundle.java:225)
  ... 17 more
Caused by: java.lang.NumberFormatException: For input string: "2.0.0"
  at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
  at java.lang.Integer.parseInt(Integer.java:492)
  at java.lang.Integer.parseInt(Integer.java:527)
  at org.eclipse.osgi.internal.resolver.StateBuilder.createBundleDescription(StateBuilder.java:61)
  at org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl.createBundleDescription(StateObjectFactoryImpl.java:33)
  at org.eclipse.osgi.internal.baseadaptor.BaseStorage.readStateData(BaseStorage.java:845)
  at org.eclipse.osgi.internal.baseadaptor.BaseStorage.getStateManager(BaseStorage.java:791)
  at org.eclipse.osgi.baseadaptor.BaseAdaptor.getPlatformAdmin(BaseAdaptor.java:380)
  at org.eclipse.core.runtime.internal.adaptor.EclipseAdaptorHook.frameworkStart(EclipseAdaptorHook.java:90)
  at org.eclipse.osgi.baseadaptor.BaseAdaptor.frameworkStart(BaseAdaptor.java:253)
  at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(SystemBundleActivator.java:60)
  at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
  at java.security.AccessController.doPrivileged(Native Method)
  at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
  ... 19 more


Solution :

1. Using Command Prompt(in Window) or Putty (Linux), Navigate to location :
<User Home>/.jdeveloper/system12.2.1.0.42.151011.0031/
2. Delete the "system_cache" Directory Completely.
3. Start the Jdevloper Again.

No comments:

Post a Comment