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 247489 - NullPointerException at org.openide.filesystems.FileUtil.toFile
Summary: NullPointerException at org.openide.filesystems.FileUtil.toFile
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-26 07:41 UTC by potencial
Modified: 2015-05-22 02:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 212247


Attachments
stacktrace (622 bytes, text/plain)
2014-09-26 07:41 UTC, potencial
Details

Note You need to log in before you can comment on or make changes to this bug.
Description potencial 2014-09-26 07:41:21 UTC
Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) Client VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Windows 7

User Comments:
potencial: Creating hibernate.cfg.xml




Stacktrace: 
java.lang.NullPointerException
   at org.openide.filesystems.FileUtil.toFile(FileUtil.java:829)
   at org.netbeans.modules.maven.model.Utilities.createModelSource(Utilities.java:187)
   at org.netbeans.modules.maven.model.Utilities.createModelSource(Utilities.java:181)
   at org.netbeans.modules.maven.model.Utilities.performPOMModelOperations(Utilities.java:287)
   at org.netbeans.modules.maven.operations.RenameProjectPanel$5.run(RenameProjectPanel.java:278)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
Comment 1 potencial 2014-09-26 07:41:23 UTC
Created attachment 149532 [details]
stacktrace
Comment 2 Tomas Stupka 2015-05-21 12:56:12 UTC
looks like the projects pom did not exist?
Comment 3 Tomas Stupka 2015-05-21 16:14:30 UTC
fixed in jet-main #0de230316399
Comment 4 Quality Engineering 2015-05-22 02:57:00 UTC
Integrated into 'main-silver', will be available in build *201505220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0de230316399
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #247489 - NullPointerException at org.openide.filesystems.FileUtil.toFile