JDeveloper 12c (SOA QuickStart) failed to start after updating the macOS


Recently one of the strange issue came with one of my colleague with respect to jDeveloper 12c Startup. Below is the summary of the issue and solution-

Environment:
macOS Sierra, jDeveloper 12c (SOA12c QuickStart)

Problem: 
  1. macOS was continuously giving the prompt for update. Mistakenly update was clicked and macOS updated to macOS Mojave (10.1.4.6). 
  2. System reboot done.
  3. When jDeveloper was started, only jDev splash screen came and gone. However, jDeveloper was not started
  4. After several attempts, same thing happened and jDev was failed to start.
  5. Alternatively when tried to start via terminal, following logs were shown

 Oracle JDeveloper 12c Release 12.2.1.3.0
 Copyright (c) 1997, 2017, 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:664)
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)
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"


Cause:
The jdeveloper installation cache contains some old data/config that is incompatible with the newer version of macOS.

Solution:
Just delete the system cache directory and restart the jDeveloper again. It should now start as usual.
I used command line utility to do the same-
MacBook01:~ kumargaurav$ cd /Users/kumargaurav/.jdeveloper/system12.2.1.3.42.170820.0914/
MacBook01:system12.2.1.3.42.170820.0914 kumargaurav$ mv system_cache system_cache_bkp


Hope this will help you!


Comments

Post a Comment

Popular posts from this blog

Oracle SOA Suite- Implementing Email Notification

Oracle SOA Suite 12c- PKIX path building failed & unable to find valid certification path to requested target

Migration of Oracle SOA Suite Composite from 11g to 12c