Solve the Problem of explise rcp application export exporting exe.
The problem is described as follows:
! ENTRY org. eclipse. osgi 4 0 16:24:01. 651
! MESSAGE Application error
! STACK 1
Java. lang. NullPointerException
At org. eclipse. e4.ui. internal. workbench. ModelServiceImpl. <init> (ModelServiceImpl. java: 124)
At org. eclipse. e4.ui. internal. workbench. swt. E4Application. createdefacontext context (E4Application. java: 471)
At org. eclipse. e4.ui. internal. workbench. swt. E4Application. createE4Workbench (E4Application. java: 199)
At org. eclipse. ui. internal. Workbench $ 5.run( Workbench. java: 581)
At org. eclipse. core. databinding. observable. Realm. runWithDefault (Realm. java: 332)
At org. eclipse. ui. internal. Workbench. createAndRunWorkbench (Workbench. java: 567)
At org. eclipse. ui. PlatformUI. createAndRunWorkbench (PlatformUI. java: 150)
At jbt. tools. bteditor. Application. start (Application. java: 59)
At org. eclipse. equinox. internal. app. EclipseAppHandle. run (EclipseAppHandle. java: 196)
At org. eclipse. core. runtime. internal. adaptor. EclipseAppLauncher. runApplication (EclipseAppLauncher. java: 110)
At org. eclipse. core. runtime. internal. adaptor. EclipseAppLauncher. start (EclipseAppLauncher. java: 79)
At org. eclipse. core. runtime. adaptor. EclipseStarter. run (EclipseStarter. java: 354)
At org. eclipse. core. runtime. adaptor. EclipseStarter. run (EclipseStarter. java: 181)
At sun. reflect. NativeMethodAccessorImpl. invoke0 (Native Method)
At sun. reflect. NativeMethodAccessorImpl. invoke (NativeMethodAccessorImpl. java: 57)
At sun. reflect. DelegatingMethodAccessorImpl. invoke (DelegatingMethodAccessorImpl. java: 43)
At java. lang. reflect. Method. invoke (Method. java: 606)
At org. eclipse. equinox. launcher. Main. invokeFramework (Main. java: 636)
At org. eclipse. equinox. launcher. Main. basicRun (Main. java: 591)
At org. eclipse. equinox. launcher. Main. run (Main. java: 1450)
The eclipse rcp application export into exe when the error is reported, the solution is to add two packages in the configuration table, the specific reason is described in detail here in the http://wiki.eclipse.org/Eclipse4/RCP/FAQ#Why_won.27t_my_application_start.3F. (It's hard to find a solution after half a day. google has been searching for it for a long time. I 'd like to share with you .) The procedure is as follows:
The solution for website-related (http://wiki.eclipse.org/Eclipse4/RCP/FAQ#Why_won.27t_my_application_start.3F) is as follows:
.