Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367584

Summary: Possible NPE in PHPDocTag
Product: z_Archived Reporter: Wojciech Galanciak <wojciech.galanciak>
Component: PDTAssignee: PHP Core <php.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ganoro, jacek.pospychala, kalin.a, zhaozhongwei
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
patch jacek.pospychala: iplog+

Description Wojciech Galanciak CLA 2011-12-27 13:31:36 EST
When there are no references in a comment (references is empty) referencesWithOrigOrder should also be initialized with empty array (now it is null). The result is possible NPE in org.eclipse.php.internal.core.compiler.ast.nodes.PHPDocTag.getDescTexts().
Comment 1 Wojciech Galanciak CLA 2011-12-27 13:32:34 EST
Created attachment 208815 [details]
patch
Comment 2 Zhongwei Zhao CLA 2012-01-02 21:35:57 EST
thanks!
Comment 3 Kalin CLA 2012-07-06 07:07:54 EDT
Closing...

Kalin Yanev
kalin.a@zend.com