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 193154 - NullPointerException at org.openide.filesystems.FileUtil.toFile
Summary: NullPointerException at org.openide.filesystems.FileUtil.toFile
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Portalpack (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Satyaranjan D
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-09 14:00 UTC by adben
Modified: 2010-12-09 14:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 153280


Attachments
stacktrace (7.43 KB, text/plain)
2010-12-09 14:00 UTC, adben
Details

Note You need to log in before you can comment on or make changes to this bug.
Description adben 2010-12-09 14:00:29 UTC
Build: NetBeans IDE Dev (Build 201012080001)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03-307, Java(TM) SE Runtime Environment, 1.6.0_22-b04-307-10M3261
OS: Mac OS X

User Comments:
GUEST: Trying to create a new portlet.




Stacktrace: 
java.lang.NullPointerException
   at org.openide.filesystems.FileUtil.toFile(FileUtil.java:964)
   at org.netbeans.modules.portalpack.portlets.genericportlets.core.util.NetbeansUtil.getAbsolutePath(NetbeansUtil.java:110)
   at org.netbeans.modules.portalpack.portlets.genericportlets.core.util.NetbeansUtil.getWebInfDir(NetbeansUtil.java:165)
   at org.netbeans.modules.portalpack.portlets.genericportlets.filetype.jsr168.NetbeansNewPortletClassWizardIterator.getPanels(NetbeansNewPortletClassWizardIterator.java:85)
   at org.netbeans.modules.portalpack.portlets.genericportlets.filetype.jsr168.NetbeansNewPortletClassWizardIterator.current(NetbeansNewPortletClassWizardIterator.java:228)
   at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.current(TemplateWizard.java:983)
Comment 1 adben 2010-12-09 14:00:32 UTC
Created attachment 103864 [details]
stacktrace