Capturing OSGI startup issues in RCP [message #1802692] |
Thu, 14 February 2019 02:11  |
Eclipse User |
|
|
|
Hello,
Is there any hook to capture OSGI startup issues before starting the Eclipse RCP appilcation, Can we add any hook to inform the user with custom messages.Advance thanks for your support.
For example start up errors:
case 1:
]$ java.lang.IllegalArgumentException: Buffer size <= 0
at java.io.BufferedInputStream.<init>(BufferedInputStream.java:201)
at org.eclipse.osgi.framework.internal.reliablefile.ReliableFile.getInputStream(ReliableFile.java:272)
at org.eclipse.osgi.framework.internal.reliablefile.ReliableFileInputStream.<init>(ReliableFileInputStream.java:92)
at org.eclipse.osgi.framework.internal.reliablefile.ReliableFileInputStream.<init>(ReliableFileInputStream.java:66)
at org.eclipse.osgi.storagemanager.StorageManager.updateTable(StorageManager.java:487)
at org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.java:708)
at org.eclipse.osgi.storage.Storage.getChildStorageManager(Storage.java:1792)
at org.eclipse.osgi.storage.Storage.getInfoInputStream(Storage.java:1809)
at org.eclipse.osgi.storage.Storage.<init>(Storage.java:129)
at org.eclipse.osgi.storage.Storage.createStorage(Storage.java:88)
at org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:66)
case 2:
java.io.IOException: Unable to initialize osgi.frameworkClassPath
at org.eclipse.equinox.launcher.Main.addBaseJars(Main.java:936)
at org.eclipse.equinox.launcher.Main.getDevPath(Main.java:822)
at org.eclipse.equinox.launcher.Main.getBootPath(Main.java:1020)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:570)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03433 seconds