Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367584 - Possible NPE in PHPDocTag
Summary: Possible NPE in PHPDocTag
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-27 13:31 EST by Wojciech Galanciak CLA
Modified: 2020-05-14 11:16 EDT (History)
4 users (show)

See Also:


Attachments
patch (827 bytes, patch)
2011-12-27 13:32 EST, Wojciech Galanciak CLA
jacek.pospychala: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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