2017-09-14 103 views
0

異常堆棧跟蹤GWT編譯錯誤,彈出在Eclipse霓虹燈出現

顯示java.lang.NullPointerException在com.google.gwt.eclipse.core.launch.GWTLaunchConfiguration.maybeGetDevJarPath(GWTLaunchConfiguration.java: 170)在com.google.gwt.eclipse.core.launch.GWTLaunchConfiguration.computeDynamicVMArgs(GWTLaunchConfiguration.java:114)在com.google.gwt.eclipse.core.launch.GWTLaunchConfiguration.computeCompileDynamicVMArgsAsList(GWTLaunchConfiguration.java:41)在玉米.google.gwt.eclipse.core.compile.GWTCompileRunner.computeCompilerCommandLine(GWTCompileRunner.java:223)在com.google.gwt.eclipse.core.compile.GWTCompileRunner.compile(GWTCompileRunner.java:81)在com.google.gwt .eclipse.core.compile.GWTCompileRunner.compileWithCa ncellationSupport(GWTCompileRunner.java:126)在com.google.gwt.eclipse.core.actions.GWTCompileToolbarHandler $ 1.runInWorkspace(GWTCompileToolbarHandler.java:136)在org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java :39)在org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

會話數據

eclipse.buildId = 4.6.2.M20161124-1400 java.version = 1.8.0_121 java.vendor = Oracle公司的BootLoader常數:OS =的Win32,ARCH = x86_64的,WS = win32的,NL = EN_US框架參數:-product org.eclipse.epp.package.jee.product命令行參數: - 數據文件:/ C:/WorkSpace_4.2.200/ -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

回答

0
+0

你可以詳細解釋我,我無法解決修復使用所提供的鏈接。 – Swaty

+0

轉到Eclipse首選項,然後轉到GWT,並找到GWT設置。應列出一些SDK,添加至少一個GWT sdk,例如GWT 2.7.0。 https://gist.github.com/branflake2267/5977216d66a2bcf953fe935fd4f3b115 – Branflake2267

+0

是的,我這樣做,它並沒有解決我的問題。我收到錯誤**「發生內部錯誤:」InboundPatientAccessErrorFilterGwt - GWT編譯「 java.lang.NullPointerException」** – Swaty