This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 170138

Summary: NullPointerException at org.netbeans.modules.portalpack.servers.websynergy.impl.LiferayTaskHandler.constructPortletViewURL
Product: contrib Reporter: klebert <klebert>
Component: PortalpackAssignee: Satyaranjan D <satyaranjan>
Status: NEW ---    
Severity: blocker CC: arsatyants, pvasterd, zkirill
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=150914
Issue Type: DEFECT Exception Reporter: 150914
Attachments: stacktrace

Description klebert 2009-08-10 14:35:42 UTC
Build: NetBeans IDE 6.5.1 (Build 200903060201)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows Vista, 6.0, x86

User Comments:
GUEST: I selected the option "Show Portlet" from the services tab.

GUEST: Netbean  --> Services --> Liferay Portal --> Portlet --> right click --show portlet

GUEST: Trying to show portlet on liferay 5.2.3 portal servel

GUEST: I've created my first portlet using this tutorial: http://www.netbeans.org/kb/articles/portalpack.html

I was doing:
Right-click the portlet name and select Show Portlet from the pop-up menu, and , right-click on WebApplication1.HelloWorld.

GUEST: show a portlet by right click a new PortletFoo under Servers->Liferay Portal Server 5.1.x/5.2.x->globlal->Portlets->PortletFoo

GUEST: Servers -> server(Liferay Portal Server 5.1.x/5.2.x) -> Portlets -> [any portlet]
right-click -> Show Portlet



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.portalpack.servers.websynergy.impl.LiferayTaskHandler.constructPortletViewURL(LiferayTaskHandler.java:767)
        at org.netbeans.modules.portalpack.servers.core.nodes.actions.ViewPortletAction.performAction(ViewPortletAction.java:53)
        at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:581)
        at org.netbeans.modules.openide.util.ActionsBridge$ActionRunnable.actionPerformed(ActionsBridge.java:111)
        at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:104)
        at org.netbeans.modules.openide.actions.ActionsBridgeImpl.invokeAction(ActionsBridgeImpl.java:52)
Comment 1 klebert 2009-08-10 14:35:48 UTC
Created attachment 86041 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-09-15 10:26:10 UTC
This issue already has 24 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=150914