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 250904 - NullPointerException at org.openide.filesystems.FileUtil.toFile
Summary: NullPointerException at org.openide.filesystems.FileUtil.toFile
Status: RESOLVED WONTFIX
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-04 18:28 UTC by Exceptions Reporter
Modified: 2015-04-28 13:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 215842


Attachments
stacktrace (2.27 KB, text/plain)
2015-03-04 18:28 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-03-04 18:28:47 UTC
This bug was originally marked as duplicate of bug 228974, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b25
OS: Mac OS X

User Comments:
GUEST: I don't know what this is about. I just found out later. Anyway, I hope it would help somehow




Stacktrace: 
java.lang.NullPointerException
   at org.openide.filesystems.FileUtil.toFile(FileUtil.java:829)
   at org.netbeans.modules.php.project.ui.customizer.RunAsScript.createRunConfig(RunAsScript.java:222)
   at org.netbeans.modules.php.project.ui.customizer.RunAsScript.validateFields(RunAsScript.java:216)
   at org.netbeans.modules.php.project.ui.customizer.RunAsPanel$InsidePanel$TextFieldUpdater.processUpdate(RunAsPanel.java:247)
   at org.netbeans.modules.php.project.ui.customizer.RunAsScript$FieldUpdater.processUpdate(RunAsScript.java:249)
   at org.netbeans.modules.php.project.ui.customizer.RunAsPanel$InsidePanel$TextFieldUpdater.insertUpdate(RunAsPanel.java:226)
Comment 1 Exceptions Reporter 2015-03-04 18:28:50 UTC
Created attachment 152400 [details]
stacktrace
Comment 2 Tomas Mysik 2015-04-28 13:42:19 UTC
Your Source Files directory disappeared - perhaps deleted or unmounted? In any case, there is a check for it _before_ opening Project Properties dialog so this had to happen once this dialog is opened.

Thanks for reporting.