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 197007 - NullPointerException at org.netbeans.modules.php.editor.model.impl.FunctionScopeImpl.getReturnTypes
Summary: NullPointerException at org.netbeans.modules.php.editor.model.impl.FunctionSc...
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-23 12:42 UTC by n0dwis
Modified: 2011-03-23 17:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 177693


Attachments
stacktrace (2.30 KB, text/plain)
2011-03-23 12:42 UTC, n0dwis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description n0dwis 2011-03-23 12:42:33 UTC
Build: NetBeans IDE Dev (Build 201103220400)
VM: Java HotSpot(TM) Client VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Linux

User Comments:
OndrejBrejla: Code completion in method was used.

OndrejBrejla: Code completion used (after ENTER - confirming completion)




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.php.editor.model.impl.FunctionScopeImpl.getReturnTypes(FunctionScopeImpl.java:187)
   at org.netbeans.modules.php.editor.model.impl.MethodScopeImpl.getReturnTypes(MethodScopeImpl.java:122)
   at org.netbeans.modules.php.editor.model.impl.VariousUtils.getElemenst(VariousUtils.java:560)
   at org.netbeans.modules.php.editor.model.ParameterInfoSupport.parametersTokenImpl(ParameterInfoSupport.java:249)
   at org.netbeans.modules.php.editor.model.ParameterInfoSupport.getParameterInfo(ParameterInfoSupport.java:109)
   at org.netbeans.modules.php.editor.PHPCodeCompletion.parameters(PHPCodeCompletion.java:1209)
Comment 1 n0dwis 2011-03-23 12:42:38 UTC
Created attachment 107215 [details]
stacktrace
Comment 2 Petr Pisl 2011-03-23 17:08:16 UTC
Fixed as a part of the fix issue #194294 . I need to commit the fix to the release 70 branch.