Forums

Home » Liferay IDE » English

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Failed while installing Liferay Portlet 6.0 Arun Meriyala March 9, 2011 3:19 AM
RE: Failed while installing Liferay Portlet 6.0 Gregory Amerson March 9, 2011 6:29 AM
RE: Failed while installing Liferay Portlet 6.0 Arun Meriyala March 9, 2011 11:01 PM
RE: Failed while installing Liferay Portlet 6.0 Gregory Amerson March 10, 2011 12:19 PM
RE: Failed while installing Liferay Portlet 6.0 Arun Meriyala March 10, 2011 10:28 PM
RE: Failed while installing Liferay Portlet 6.0 Gregory Amerson March 11, 2011 7:17 AM
RE: Failed while installing Liferay Portlet 6.0 Wim Slot March 14, 2011 5:44 AM
RE: Failed while installing Liferay Portlet 6.0 Gregory Amerson March 14, 2011 9:42 AM
RE: Failed while installing Liferay Portlet 6.0 John M March 31, 2011 5:03 AM
RE: Failed while installing Liferay Portlet 6.0 Gregory Amerson March 31, 2011 11:48 AM
RE: Failed while installing Liferay Portlet 6.0 John M April 5, 2011 2:40 AM
RE: Failed while installing Liferay Portlet 6.0 Mathias SITRUK December 22, 2011 2:09 AM
RE: Failed while installing Liferay Portlet 6.0 Gregory Amerson December 22, 2011 7:14 AM
RE: Failed while installing Liferay Portlet 6.0 Tim Taylor September 20, 2012 4:44 AM
RE: Failed while installing Liferay Portlet 6.0 Gregory Amerson September 20, 2012 6:55 PM
RE: Failed while installing Liferay Portlet 6.0 Tim Taylor September 21, 2012 1:37 AM
RE: Failed while installing Liferay Portlet 6.0 Gregory Amerson September 21, 2012 1:39 AM
RE: Failed while installing Liferay Portlet 6.0 Tim Taylor September 21, 2012 2:32 AM
RE: Failed while installing Liferay Portlet 6.0 Bill Li March 24, 2013 11:32 PM
RE: Failed while installing Liferay Portlet 6.0 Gregory Amerson March 24, 2013 11:41 PM
RE: Failed while installing Liferay Portlet 6.0 Bill Li March 25, 2013 7:46 PM
RE: Failed while installing Liferay Portlet 6.0 Gregory Amerson March 25, 2013 7:48 PM
RE: Failed while installing Liferay Portlet 6.0 Bill Li March 26, 2013 11:53 PM
RE: Failed while installing Liferay Portlet 6.0 Joaquín Fernández February 23, 2014 1:36 PM
RE: Failed while installing Liferay Portlet 6.0 Gregory Amerson February 24, 2014 10:51 PM
Arun Meriyala
Failed while installing Liferay Portlet 6.0
March 9, 2011 3:19 AM
Answer

Arun Meriyala

Rank: Junior Member

Posts: 29

Join Date: January 20, 2011

Recent Posts

Hi All,

I am getting an error message as "Failed while installing Liferay 6.0" on eclipse when i try to convert the application into Liferay portlet. Below is the details error stack which i am getting. And i am having "service.xml" in it, and was not able to run service builrer on this.


org.eclipse.wst.common.project.facet.core.FacetedProjectFrameworkException: Failed while installing Liferay Portlet 6.0.
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1508)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:442)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1182)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1118)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$5.run(FacetedProject.java:1100)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1110)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:2020)
at com.liferay.ide.eclipse.project.core.SDKProjectConvertOperation.convertExistingProject(SDKProjectConvertOperation.java:120)
at com.liferay.ide.eclipse.project.core.SDKProjectConvertOperation.convertProject(SDKProjectConvertOperation.java:132)
at com.liferay.ide.eclipse.project.core.SDKProjectConvertOperation.execute(SDKProjectConvertOperation.java:66)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl$1.run(DataModelPausibleOperationImpl.java:385)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:410)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:360)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.doExecute(DataModelPausibleOperationImpl.java:247)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.executeImpl(DataModelPausibleOperationImpl.java:219)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.cacheThreadAndContinue(DataModelPausibleOperationImpl.java:89)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.execute(DataModelPausibleOperationImpl.java:207)
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard$1CatchThrowableRunnableWithProgress.run(DataModelWizard.java:225)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1008)
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard.runOperations(DataModelWizard.java:234)
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard.performFinish(DataModelWizard.java:191)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.liferay.ide.eclipse.project.ui.action.ConvertProjectAction$1.run(ConvertProjectAction.java:71)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at com.liferay.ide.eclipse.project.ui.action.ConvertProjectAction.run(ConvertProjectAction.java:68)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
Caused by: Java Model Exception: Java Model Status [Build path contains duplicate entry: 'com.liferay.ide.eclipse.server.plugin.container/portlet' for project 'DTO_Sample-portlet']
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:784)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3026)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2988)
at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3041)
at com.liferay.ide.eclipse.project.core.library.PluginLibraryInstallOperation.execute(PluginLibraryInstallOperation.java:69)
at org.eclipse.jst.common.project.facet.core.libprov.LibraryInstallDelegate.execute(LibraryInstallDelegate.java:580)
at com.liferay.ide.eclipse.project.core.facet.PluginFacetInstall.installPluginLibraryDelegate(PluginFacetInstall.java:358)
at com.liferay.ide.eclipse.project.core.facet.PluginFacetInstall.execute(PluginFacetInstall.java:126)
at com.liferay.ide.eclipse.project.core.facet.PortletPluginFacetInstall.execute(PortletPluginFacetInstall.java:50)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1478)
... 65 more






Request to help to resolve this.


Regards
Arun
Gregory Amerson
RE: Failed while installing Liferay Portlet 6.0
March 9, 2011 6:29 AM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1028

Join Date: February 16, 2010

Recent Posts

It looks like this project already has the liferay.facet installed. In this case you don't need to "convert" the project since it already is a Liferay IDE project. But instead just simply import the project using the normal eclipse File > Import > Existing Project wizard. Make sure that the portlet is located in an SDK directory structure (<sdk>/portlets/*).

Hope this helps.
Arun Meriyala
RE: Failed while installing Liferay Portlet 6.0
March 9, 2011 11:01 PM
Answer

Arun Meriyala

Rank: Junior Member

Posts: 29

Join Date: January 20, 2011

Recent Posts

Hi Gregory Amerson,

Thanks for the information. I got the point but i dont understand why i am not able to run service.xml from the same portlet to build the service.

Can you please suggest regarding this.


Thanks in advance.


Regards
Arun.
Gregory Amerson
RE: Failed while installing Liferay Portlet 6.0
March 10, 2011 12:19 PM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1028

Join Date: February 16, 2010

Recent Posts

If the project is a liferay portlet project (has been properly imported) then you should be able to right-click the file and choose build service. Or you can double click the file and click the Build Service action.
Arun Meriyala
RE: Failed while installing Liferay Portlet 6.0
March 10, 2011 10:28 PM
Answer

Arun Meriyala

Rank: Junior Member

Posts: 29

Join Date: January 20, 2011

Recent Posts

Hi

I tried to run the service.xml file but i am getting an error message saying "java.lang.NullPointerException".


Getting the error message as "An internal error occurred during: "Build services".
java.lang.NullPointerException".

Request to give suggestions to resolve this.


Regards
Arun.
Gregory Amerson
RE: Failed while installing Liferay Portlet 6.0
March 11, 2011 7:17 AM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1028

Join Date: February 16, 2010

Recent Posts

Could you post your project (export it as a zip from eclipse) to this thread? ALso could you post the full stacktrace of the error? Go to Window > Show view > general > error log, fine the NPE and copy the stacktrace.

Thanks.
Wim Slot
RE: Failed while installing Liferay Portlet 6.0
March 14, 2011 5:44 AM
Answer

Wim Slot

Rank: New Member

Posts: 1

Join Date: March 14, 2011

Recent Posts

Gregory Amerson:
Could you post your project (export it as a zip from eclipse) to this thread? ALso could you post the full stacktrace of the error? Go to Window > Show view > general > error log, fine the NPE and copy the stacktrace.

Thanks.


We have the same problem. Here our Eclipse Error logging information


eclipse.buildId=M20100909-0800
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_NL
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product


Error
Mon Mar 14 13:37:33 CET 2011
An internal error occurred during: "Build services".

java.lang.NullPointerException
at com.liferay.ide.eclipse.portlet.core.job.BuildServiceJob.run(BuildServiceJob.java:87)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Gregory Amerson
RE: Failed while installing Liferay Portlet 6.0
March 14, 2011 9:42 AM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1028

Join Date: February 16, 2010

Recent Posts

Hi Wim Slot,

What version of Liferay IDE do you have? (Help > About > Click the Liferay Icon > version should be displayed.

Thanks.
John M
RE: Failed while installing Liferay Portlet 6.0
March 31, 2011 5:03 AM
Answer

John M

Rank: New Member

Posts: 19

Join Date: November 5, 2009

Recent Posts

Hey,

I'm working on a project which has been build before (even with service builder) but now I want to develop it more and more.

When I try to run the service.xml-File (even with no further changes), I get this error too.
I try to run it with Liferay Eclipse IDE.

Stacktrace:
java.lang.NullPointerException
at com.liferay.ide.eclipse.portlet.core.job.BuildServiceJob.runBuildService(BuildServiceJob.java:179)
at com.liferay.ide.eclipse.portlet.core.job.BuildServiceJob$2.run(BuildServiceJob.java:114)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1957)
at com.liferay.ide.eclipse.portlet.core.job.BuildServiceJob.run(BuildServiceJob.java:107)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


Session-Data:
eclipse.buildId=M20110210-1200
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product

Eclipse-IDE version: 1.2.2.v201102281644

I really don't know what this should tell me, the only thing I knew is that modifications to the service builder don't work :-(

I'm really looking forward to your suggestions

Greets,
Jonas
Gregory Amerson
RE: Failed while installing Liferay Portlet 6.0
March 31, 2011 11:48 AM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1028

Join Date: February 16, 2010

Recent Posts

Can you install the nightly build of the IDE (version 1.2.3) to see if it solves your problem? Here is the update-site URL:

releases.liferay.com/tools/ide/eclipse/helios/nightly/
John M
RE: Failed while installing Liferay Portlet 6.0
April 5, 2011 2:40 AM
Answer

John M

Rank: New Member

Posts: 19

Join Date: November 5, 2009

Recent Posts

Thanks for your answer!
After upgrading the IDE to 1,2,3 compiling and building works now.

Thanks alot!

Greets,
Jonas
Mathias SITRUK
RE: Failed while installing Liferay Portlet 6.0
December 22, 2011 2:09 AM
Answer

Mathias SITRUK

Rank: New Member

Posts: 3

Join Date: October 25, 2011

Recent Posts

Hello,

I have the same problem.
I use Eclipse Galileo.

I don't understand what I should do to upgrade the IDE.
What file(s) do I have to download here : http://releases.liferay.com/tools/ide/eclipse/galileo/nightly/
and what do I have to do with this (these) file(s) ?

Thank you.

Mathias
Gregory Amerson
RE: Failed while installing Liferay Portlet 6.0
December 22, 2011 7:14 AM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1028

Join Date: February 16, 2010

Recent Posts

Mathias SITRUK:
Hello,

I have the same problem.
I use Eclipse Galileo.

I don't understand what I should do to upgrade the IDE.
What file(s) do I have to download here : http://releases.liferay.com/tools/ide/eclipse/galileo/nightly/
and what do I have to do with this (these) file(s) ?

Thank you.

Mathias


Hey Mathias,

You have to add that URL into the eclipse install manager, Help > Install New Software..., paste in that URL into the Work with text field. Then click on the Liferay IDE feature to install the update.
Tim Taylor
RE: Failed while installing Liferay Portlet 6.0
September 20, 2012 4:44 AM
Answer

Tim Taylor

Rank: New Member

Posts: 18

Join Date: September 19, 2012

Recent Posts

Hello,

i have the same problem with Eclipse Juno.
Version: Liferay IDE 1.6.0.v201207162359.

When i want to create a new project, i get the Error-Message "Failed while installing Liferay Portlet 6.0". In detail-window is only one line
java.lang.NullPointerException

Any idea - solutions?

thx for help - Tim
Gregory Amerson
RE: Failed while installing Liferay Portlet 6.0
September 20, 2012 6:55 PM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1028

Join Date: February 16, 2010

Recent Posts

Tim Taylor:
Hello,

i have the same problem with Eclipse Juno.
Version: Liferay IDE 1.6.0.v201207162359.

When i want to create a new project, i get the Error-Message "Failed while installing Liferay Portlet 6.0". In detail-window is only one line
java.lang.NullPointerException

Any idea - solutions?

thx for help - Tim


Can you paste the entire error from the error log here? (Window > Show view > other > General > error log)
Tim Taylor
RE: Failed while installing Liferay Portlet 6.0
September 21, 2012 1:37 AM
Answer

Tim Taylor

Rank: New Member

Posts: 18

Join Date: September 19, 2012

Recent Posts

OK here are the error.log - i try to copy an activation.jar to the directory - mmmh there is an activation.jar (from 2.4.2012)

null
Error
Fri Sep 21 10:29:39 CEST 2012
The archive: /liferay-plugins-sdk-6.1.1/lib/activation.jar which is referenced by the classpath, does not exist.

org.eclipse.core.runtime.CoreException: The archive: /liferay-plugins-sdk-6.1.1/lib/activation.jar which is referenced by the classpath, does not exist.
at org.eclipse.jdt.launching.JavaRuntime.abort(JavaRuntime.java:1397)
at org.eclipse.jdt.launching.JavaRuntime.abort(JavaRuntime.java:1382)
at org.eclipse.jdt.launching.JavaRuntime.resolveRuntimeClasspathEntry(JavaRuntime.java:947)
at org.eclipse.jdt.launching.StandardClasspathProvider.resolveClasspath(StandardClasspathProvider.java:75)
at org.eclipse.jdt.internal.launching.RuntimeClasspathProvider.resolveClasspath(RuntimeClasspathProvider.java:63)
at org.eclipse.jdt.launching.JavaRuntime.resolveRuntimeClasspath(JavaRuntime.java:1249)
at org.eclipse.ant.internal.launching.AntLaunchingUtil.getCustomClasspath(AntLaunchingUtil.java:250)
at org.eclipse.ant.internal.launching.launchConfigurations.AntLaunchDelegate.launch(AntLaunchDelegate.java:214)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:855)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:704)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:697)
at com.liferay.ide.eclipse.ui.util.LaunchHelper.launch(LaunchHelper.java:177)
at com.liferay.ide.eclipse.sdk.util.SDKHelper.runTarget(SDKHelper.java:187)
at com.liferay.ide.eclipse.sdk.util.SDKHelper.runTarget(SDKHelper.java:171)
at com.liferay.ide.eclipse.sdk.SDK.createNewPortletProject(SDK.java:373)
at com.liferay.ide.eclipse.project.core.facet.PortletPluginFacetInstall.execute(PortletPluginFacetInstall.java:111)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1477)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:441)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1181)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1117)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$5.run(FacetedProject.java:1099)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1109)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:2020)
at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.performFinish(ModifyFacetedProjectWizard.java:400)
at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.performFinish(NewProjectDataModelFacetWizard.java:282)
at com.liferay.ide.eclipse.project.ui.wizard.NewPluginProjectWizard.performFinish(NewPluginProjectWizard.java:333)
at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$3.run(ModifyFacetedProjectWizard.java:331)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$4.run(ModifyFacetedProjectWizard.java:345)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

java.lang.NullPointerException
at com.liferay.ide.eclipse.project.core.facet.PortletPluginFacetInstall.execute(PortletPluginFacetInstall.java:113)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1477)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:441)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1181)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1117)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$5.run(FacetedProject.java:1099)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1109)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:2020)
at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.performFinish(ModifyFacetedProjectWizard.java:400)
at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.performFinish(NewProjectDataModelFacetWizard.java:282)
at com.liferay.ide.eclipse.project.ui.wizard.NewPluginProjectWizard.performFinish(NewPluginProjectWizard.java:333)
at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$3.run(ModifyFacetedProjectWizard.java:331)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$4.run(ModifyFacetedProjectWizard.java:345)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Gregory Amerson
RE: Failed while installing Liferay Portlet 6.0
September 21, 2012 1:39 AM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1028

Join Date: February 16, 2010

Recent Posts

Ah this is a nasty bug in Eclipse. You have to either open the liferay-plugins-sdk-6.1.1 project or you have to delete it from the workspace (don't delete the contents just remove from project explorer. Then try again and you wont receive that error.

Sorry for the inconvenience.
Tim Taylor
RE: Failed while installing Liferay Portlet 6.0
September 21, 2012 2:32 AM
Answer

Tim Taylor

Rank: New Member

Posts: 18

Join Date: September 19, 2012

Recent Posts

Thx - I have the liferay-plugin-sdk-6.1.1 project in my workspace, but i have closed ;-(

best regards Tim
Bill Li
RE: Failed while installing Liferay Portlet 6.0
March 24, 2013 11:32 PM
Answer

Bill Li

Rank: New Member

Posts: 3

Join Date: March 24, 2013

Recent Posts

Gregory Amerson:
Ah this is a nasty bug in Eclipse. You have to either open the liferay-plugins-sdk-6.1.1 project or you have to delete it from the workspace (don't delete the contents just remove from project explorer. Then try again and you wont receive that error.

Sorry for the inconvenience.



Hi Tim,

I have met this problem too.
Currently, I am using eclipse 4.2 Juno with the Liferay plugin integreted.
I tried both ways, open the "liferay-plugins-sdk-6.1.1" project and delete it in the workspace.
But I still receive the "Failed while installing Liferay Portlet 6.0.":

java.lang.NullPointerException
at com.liferay.ide.eclipse.project.core.facet.PortletPluginFacetInstall.execute(PortletPluginFacetInstall.java:113)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1477)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:441)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1181)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1117)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$5.run(FacetedProject.java:1099)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1109)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:2020)
at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.performFinish(ModifyFacetedProjectWizard.java:400)
at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.performFinish(NewProjectDataModelFacetWizard.java:282)
at com.liferay.ide.eclipse.project.ui.wizard.NewPluginProjectWizard.performFinish(NewPluginProjectWizard.java:333)
at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$3.run(ModifyFacetedProjectWizard.java:331)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$4.run(ModifyFacetedProjectWizard.java:345)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

Could you please kindly help me?
Thanks a lot.



Regards,
Bill
Gregory Amerson
RE: Failed while installing Liferay Portlet 6.0
March 24, 2013 11:41 PM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1028

Join Date: February 16, 2010

Recent Posts

Hi Bill, What version of Liferay IDE are you using?
Bill Li
RE: Failed while installing Liferay Portlet 6.0
March 25, 2013 7:46 PM
Answer

Bill Li

Rank: New Member

Posts: 3

Join Date: March 24, 2013

Recent Posts

Gregory Amerson:
Hi Bill, What version of Liferay IDE are you using?



Hi Tim,

I have checked the version of Liferay IDE, through "Help->About Eclipse->Installation Details".
The version is : Liferay IDE 1.6.0.v201207162359.
Could you please help?



Best Regards,
Bill
Gregory Amerson
RE: Failed while installing Liferay Portlet 6.0
March 25, 2013 7:48 PM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1028

Join Date: February 16, 2010

Recent Posts

Can you upgrade to the latest version of the IDE, version 1.6.2? And then try again?
Bill Li
RE: Failed while installing Liferay Portlet 6.0
March 26, 2013 11:53 PM
Answer

Bill Li

Rank: New Member

Posts: 3

Join Date: March 24, 2013

Recent Posts

Gregory Amerson:
Can you upgrade to the latest version of the IDE, version 1.6.2? And then try again?



Hi Gregory,

I have downloaded the latest version of the IDE which integreted within eclipse 4.2
But the same error occurs. I think it may be caused by the workspace.
Because when I shift to another workspace, the error disappears.
So still not clear why it happens in my local environment.
I will have this work around to continue my work, and we can try to find the root cause later.
Thanks a lot.



Regards,
Bill
Joaquín Fernández
RE: Failed while installing Liferay Portlet 6.0
February 23, 2014 1:36 PM
Answer

Joaquín Fernández

Rank: Junior Member

Posts: 93

Join Date: January 2, 2012

Recent Posts

Hi all,

I have the same error. The log sais:
java.lang.NullPointerException
at com.liferay.ide.eclipse.project.core.facet.ExtPluginFacetInstall.execute(ExtPluginFacetInstall.java:84)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.callDelegate(FacetedProject.java:1477)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modifyInternal(FacetedProject.java:441)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChangesInternal(FacetedProject.java:1181)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.access$2(FacetedProject.java:1117)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$5.run(FacetedProject.java:1099)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.mergeChanges(FacetedProject.java:1109)
at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.commitChanges(FacetedProjectWorkingCopy.java:2020)
at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard.performFinish(ModifyFacetedProjectWizard.java:400)
at org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.performFinish(NewProjectDataModelFacetWizard.java:282)
at com.liferay.ide.eclipse.project.ui.wizard.NewPluginProjectWizard.performFinish(NewPluginProjectWizard.java:333)
at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$3.run(ModifyFacetedProjectWizard.java:331)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.wst.common.project.facet.ui.ModifyFacetedProjectWizard$4.run(ModifyFacetedProjectWizard.java:345)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

I'm using Indigo Service Release 2.
Any suggestion??

Thanks!!
Gregory Amerson
RE: Failed while installing Liferay Portlet 6.0
February 24, 2014 10:51 PM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1028

Join Date: February 16, 2010

Recent Posts

Can you try to update to the latest Liferay IDE version? http://releases.liferay.com/tools/ide/latest/stable/