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 259154 - NullPointerException: The fileObject parameter cannot be null
Summary: NullPointerException: The fileObject parameter cannot be null
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-06 18:21 UTC by dasprid
Modified: 2016-05-10 01:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 206105


Attachments
stacktrace (3.64 KB, text/plain)
2016-05-06 18:21 UTC, dasprid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dasprid 2016-05-06 18:21:32 UTC
Build: NetBeans IDE Dev (Build 201604210001)
VM: OpenJDK 64-Bit Server VM, 25.91-b14, OpenJDK Runtime Environment, 1.8.0_91-8u91-b14-0ubuntu4~14.04-b14
OS: Linux

User Comments:
GUEST: i see now, sorry

dasprid: Using auto completion triggered this error. After that, it keeps poping up on almost every edit.

GUEST: Adding implements interface to php class

GUEST: ?????????????

GUEST: ?

GUEST: Not sure, I did move a ton of files from one directory to another which seemed to die halfway through, so that may be it! Good luck :)

avaer: Reloaded a PHP Symfony 3.0.2 project

GUEST: What is the problem?

GUEST: <???????????????>f




Stacktrace: 
java.lang.NullPointerException: The fileObject parameter cannot be null
   at org.openide.util.Parameters.notNull(Parameters.java:89)
   at org.netbeans.modules.parsing.api.Source.create(Source.java:138)
   at org.netbeans.modules.php.editor.verification.ImplementAbstractMethodsHintError.getFileScope(ImplementAbstractMethodsHintError.java:194)
   at org.netbeans.modules.php.editor.verification.ImplementAbstractMethodsHintError.checkHints(ImplementAbstractMethodsHintError.java:159)
   at org.netbeans.modules.php.editor.verification.ImplementAbstractMethodsHintError.invoke(ImplementAbstractMethodsHintError.java:120)
   at org.netbeans.modules.php.editor.verification.PHPHintsProvider$RulesRunnerImpl.adjustAndInvoke(PHPHintsProvider.java:199)
Comment 1 dasprid 2016-05-06 18:21:35 UTC
Created attachment 159569 [details]
stacktrace
Comment 2 Tomas Mysik 2016-05-09 07:10:45 UTC
Fixed.

http://hg.netbeans.org/web-main/rev/d52deda4a1ea
Comment 3 Quality Engineering 2016-05-10 01:41:03 UTC
Integrated into 'main-silver', will be available in build *201605100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d52deda4a1ea
User: Tomas Mysik <tmysik@netbeans.org>
Log: #259154 - NullPointerException: The fileObject parameter cannot be null