Forums

Home » Liferay IDE » English

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
arron wu
The server runtime always NullPointerException after installed liferay ide!
August 2, 2010 6:12 PM
Answer

arron wu

Rank: New Member

Posts: 16

Join Date: July 6, 2010

Recent Posts

The server runtime always NullPointerException after installed liferay ide!

installed the liferay ide. the server runtime always alter NullPointerExceprion window,and the error trace see the attachment.

I use liferay ide 1.0.1 and spring source. and installed svn,maven and jbosstool plugins!


I think the trace is usefully for you:

messagemoticonroblems occurred when invoking code from plug-in: "org.eclipse.jface".
trace:
 1java.lang.NullPointerException
 2    at com.liferay.ide.eclipse.server.ui.ServerViewCustomLabelProvider.getImage(ServerViewCustomLabelProvider.java:56)
 3    at org.eclipse.ui.internal.navigator.extensions.SafeDelegateCommonLabelProvider.getImage(SafeDelegateCommonLabelProvider.java:106)
 4    at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.findImage(NavigatorContentServiceLabelProvider.java:197)
 5    at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.getColumnImage(NavigatorContentServiceLabelProvider.java:105)
 6    at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.getImage(NavigatorContentServiceLabelProvider.java:98)
 7    at org.eclipse.ui.internal.navigator.NavigatorDecoratingLabelProvider$StyledLabelProviderAdapter.getImage(NavigatorDecoratingLabelProvider.java:60)
 8    at org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.getImage(DelegatingStyledCellLabelProvider.java:184)
 9    at org.eclipse.jface.viewers.DecoratingStyledCellLabelProvider.getImage(DecoratingStyledCellLabelProvider.java:167)
10    at org.eclipse.ui.navigator.CommonNavigatorManager.updateStatusBar(CommonNavigatorManager.java:325)
11    at org.eclipse.ui.navigator.CommonNavigatorManager$1.selectionChanged(CommonNavigatorManager.java:77)
12    at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:864)
13    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
14    at org.eclipse.core.runtime.Platform.run(Platform.java:888)
15    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
16    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
17    at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:862)
18    at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1175)
19    at org.eclipse.ui.navigator.CommonViewer.handlePostSelect(CommonViewer.java:475)
20    at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1200)
21    at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:251)
22    at org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:245)
23    at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:419)
24    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
25    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
26    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3885)
27    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3506)
28    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
29    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
30    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
31    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
32    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
33    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
34    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
35    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
36    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
37    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
38    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
39    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
40    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
41    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
42    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
43    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
44    at java.lang.reflect.Method.invoke(Method.java:597)
45    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
46    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
47    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Attachment

Attachments: a.JPG (192.3k)
Gregory Amerson
RE: The server runtime always NullPointerException after installed liferay
August 3, 2010 5:32 AM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1032

Join Date: February 16, 2010

Recent Posts

This problem has been fixed. If you switch to the nightly URL either:

http://releases.liferay.com/tools/ide/eclipse/helios/nightly/

or

http://releases.liferay.com/tools/ide/eclipse/galileo/nightly/

and you should be able to get around this issue.
arron wu
RE: The server runtime always NullPointerException after installed liferay
August 4, 2010 6:35 PM
Answer

arron wu

Rank: New Member

Posts: 16

Join Date: July 6, 2010

Recent Posts

think you!