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 172440

Summary: NullPointerException: Passed null to FileOwnerQuery.getOwner(FileObject)
Product: contrib Reporter: ttretau <ttretau>
Component: PortalpackAssignee: Satyaranjan D <satyaranjan>
Status: NEW ---    
Severity: blocker CC: alesak, ambernal35, thepriz, zkirill
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=149038
Issue Type: DEFECT Exception Reporter: 149038
Attachments: stacktrace

Description ttretau 2009-09-17 09:03:38 UTC
Build: NetBeans IDE 6.7 (Build 200906241340)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.28-15-generic, i386

User Comments:
GUEST: Create a web project

GUEST: Created a project and selecting  liferay portal 5.1.2/5.2.2

ttretau: Trying to change EE project to deploy in Liferay Glassfish 2.1 bundle..



Stacktrace: 
java.lang.NullPointerException: Passed null to FileOwnerQuery.getOwner(FileObject)
        at org.netbeans.api.project.FileOwnerQuery.getOwner(FileOwnerQuery.java:94)
        at org.netbeans.modules.portalpack.servers.websynergy.config.LiferayXMLUtil.createLRXMLFile(LiferayXMLUtil.java:87)
        at org.netbeans.modules.portalpack.servers.websynergy.config.LiferayModuleConfiguration.getLiferayPortletFile(LiferayModuleConfiguration.java:68)
        at org.netbeans.modules.portalpack.servers.websynergy.config.LiferayModuleConfiguration.createConfiguration(LiferayModuleConfiguration.java:53)
        at org.netbeans.modules.portalpack.servers.core.PSModuleConfiguration.<init>(PSModuleConfiguration.java:38)
        at org.netbeans.modules.portalpack.servers.websynergy.config.LiferayModuleConfiguration.<init>(LiferayModuleConfiguration.java:47)
Comment 1 ttretau 2009-09-17 09:04:02 UTC
Created attachment 87817 [details]
stacktrace
Comment 2 ttretau 2009-09-17 09:42:41 UTC
This exception comes also if you create a new JEE Enterprise Application and choose a Liferay Portal Server 5.1/5.2.