Eclipse RCP primary issue

Category: Eclipse
 
LIJINHUAHUDIE
2013-08-20 05:26:16

Sponsored Links
According Post wrote an RCP program, the first program can run, but you add menus and dialog boxes, the program does not start: After running without any reflection. View the log file error:

! SESSION 2008-12-09 14:43:23.421 --------------------- --------------------------
eclipse.buildId = unknown
java.version = 1.6.0_10
java.vendor = Sun Microsystems Inc.
BootLoader constants: OS = win32, ARCH = x86, WS = win32, NL = zh_CN
Command-line arguments :-os win32-ws win32-arch x86

! ENTRY org.eclipse.ui 4 4 2008-12-09 14:43: 25.906
! MESSAGE Unhandled event loop exception

! ENTRY org.eclipse.ui 4 0 2008-12-09 14:43:25.906
! MESSAGE null argument: Action must not have null id
! STACK 0
org.eclipse.core.runtime.AssertionFailedException: null argument: Action must ; not have null id
at org.eclipse.core.runtime.Assert.isNotNull (Assert.java: 84)
at org.eclipse.ui.application.ActionBarAdvisor.register ( ActionBarAdvisor.java: 189)
at com.tarena.ww.rcp_start.ApplicationActionBarAdvisor.makeActions (ApplicationActionBarAdvisor.java: 23)
at org.eclipse.ui.application.ActionBarAdvisor.fillActionBars (ActionBarAdvisor. java: 147)
at org.eclipse.ui.internal.WorkbenchWindow.fillActionBars (WorkbenchWindow.java: 3073)
at org.eclipse.ui.internal.WorkbenchWindow. <init> (WorkbenchWindow . java: 346)
at org.eclipse.ui.internal.Workbench.newWorkbenchWindow (Workbench.java: 1352)
at org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow (Workbench.java : 804)
at org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow (Workbench.java: 1453)
at org.eclipse.ui.internal.Workbench.openFirstTimeWindow (Workbench.java: 1404 )
at org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow (WorkbenchConfigurer.java: 190)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows (WorkbenchAdvisor.java: 708)
at org.eclipse.ui.internal.Workbench.init (Workbench.java: 1101)
at org.eclipse.ui.internal.Workbench.runUI (Workbench.java: 1863)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java: 422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench (PlatformUI.java: 149)
at com . tarena.ww.rcp_start.Application.run (Application.java: 18)
at org.eclipse.core.internal.runtime.PlatformActivator $ 1.run (PlatformActivator.java: 78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication (EclipseAppLauncher.java: 92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start (EclipseAppLauncher.java: 68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java: 400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java: 177)
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.core.launcher.Main.invokeFramework (Main.java: 336)
at org.eclipse.core.launcher.Main.basicRun (Main.java: 280)
at org.eclipse.core.launcher.Main.run (Main.java: 977)
at org.eclipse.core.launcher.Main.main (Main.java: 952)

org.eclipse.core.runtime.AssertionFailedException: null argument: Action must not have null id

this error, GOOGLE it did not find a solution, experts give tips, how to solve?

Sponsored Links

z3232186
2013-08-20 05:39:07
everyone ah ah ~ ~ ~ Come together and discussing ・ ~
xiaoyu163_qiu
2013-08-20 05:42:59
seems to be saying that your Action No ID,

public static final String ID = "unique"

Haha I have just learned, do not know right ...
weiningslk
2013-08-20 05:57:48
I rely grade actually there are beggars ...... too strong .. -!
wangrunpeia
2013-08-20 06:07:46
eclipse reason for his powerful, because he is a combination of software packages.
you call, you need to explain.
leyond1213
2013-08-20 06:13:41
Action must not have null id
sentence that you write when there is no extension point ID
fill in Plugin.xml Lane.
Domain and server ip had changed since 8/23/2013. Suspend the user registration and posts for program maintenance.