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

Summary: NullPointerException: The fileObject parameter cannot be null
Product: php Reporter: dasprid <dasprid>
Component: EditorAssignee: Tomas Mysik <tmysik>
Status: RESOLVED FIXED    
Severity: normal CC: Avaer
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 206105
Attachments: stacktrace

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