• Customize plugin

    By Archi Madhu 4 years ago

    Hi There,

    I want to cutomize plugin.

    I tried changinf property file and exported plugin as JAR file (not runnable JAR file) in eclipse.
    While creating JAR file it gave me some warnings and I ignored those warnings.

    When I installed plugin and expanded 'File Navigation' panel, it gave me errors below -

    java.lang.NullPointerException

    at com.ibm.rcp.ui.internal.shelf.ShelfViewReference.createPartHelper(Unknown Source)
    at com.ibm.rcp.ui.internal.shelf.ShelfViewReference.createPart(Unknown Source)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Unknown Source)
    at com.ibm.rcp.ui.shelf.ShelfPage.activatePart(Unknown Source)
    at com.ibm.rcp.ui.shelf.ShelfPage.access$13(Unknown Source)
    at com.ibm.rcp.ui.shelf.ShelfPage$13.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source)
    at com.ibm.rcp.swt.swidgets.SViewForm.internalSetMaximized(Unknown Source)
    at com.ibm.rcp.swt.swidgets.SViewForm.setMaximized(Unknown Source)
    at com.ibm.rcp.swt.swidgets.SViewForm.onMouseUpTitle(Unknown Source)
    at com.ibm.rcp.swt.swidgets.SViewForm.onMouseUp(Unknown Source)
    at com.ibm.rcp.swt.swidgets.SViewForm$4.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
    at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
    at org.eclipse.ui.internal.Workbench.access$4(Unknown Source)
    at org.eclipse.ui.internal.Workbench$5.run(Unknown Source)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Unknown Source)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
    at com.ibm.rcp.personality.framework.internal.RCPApplication.run(Unknown Source)
    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.internal.app.EclipseAppContainer.callMethodWithException(Unknown Source)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
    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(Unknown Source)
    at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
    at org.eclipse.equinox.launcher.Main.run(Unknown Source)
    at com.ibm.rcp.core.internal.launcher.Main.startLaunch(Unknown Source)
    at com.ibm.rcp.core.internal.launcher.Main.main(Unknown Source)
    at com.ibm.rcp.core.internal.launcher.Main.run(Unknown Source)
    

    Can you please guide me? Do i need to include any dependent JAR files?