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 241237 - NullPointerException: The content parameter cannot be null
Summary: NullPointerException: The content parameter cannot be null
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-31 16:22 UTC by Exceptions Reporter
Modified: 2014-02-04 03:06 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 206625


Attachments
stacktrace (2.34 KB, text/plain)
2014-01-31 16:22 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-01-31 16:22:31 UTC
Build: NetBeans IDE 8.0 Beta (Build 201401141042)
VM: Java HotSpot(TM) Client VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43
OS: Windows 8

User Comments:
GUEST: editing PHP file template from
- tools
- templates
- PHP file

then wanted to see available variables, such as @author ... 

- typed @
- while browsing the list that shows up, boom !

GUEST: error when im trying add class description

BlackScorp: /**
* @ <-- there on autocomplete i got that exception
*/

GUEST: I was typing LICENSE block in new PHP file.
<?php
/**
 * LICENSE
 * 
 * @license     
 * @category    
 * @package   
 * 
in next line i typed "@r", and get an exception.

alesak: editing doc in php

RobertJohnson: Editing PHPDoc comment block above a class, then moving cursor down below the comment block by pressing the keyboard down arrow.

This was the comment block when the down arrow was pressed:
/**
 * Base class for CSqlSrvConn and CSqlSrvStmt.
 * Cannot exist stand-alone, must be derived.
 * Empty at the moment.
 * @property int $tranCount pseudo transaction nesting count.
 * property int $tranRollback pseudo transaction rollback flag.  If set, transaction Commit will always fail,
 *		and rollback will occur on the final commit.
 */
abstract class CSqlSrv
{
...




Stacktrace: 
java.lang.NullPointerException: The content parameter cannot be null
   at org.openide.util.Parameters.notNull(Parameters.java:89)
   at org.netbeans.modules.csl.api.Documentation.create(Documentation.java:69)
   at org.netbeans.modules.php.editor.completion.DocRenderer.document(DocRenderer.java:120)
   at org.netbeans.modules.php.editor.completion.PHPCodeCompletion.documentElement(PHPCodeCompletion.java:1144)
   at org.netbeans.modules.csl.editor.completion.GsfCompletionDoc.<init>(GsfCompletionDoc.java:113)
   at org.netbeans.modules.csl.editor.completion.GsfCompletionDoc.create(GsfCompletionDoc.java:134)
Comment 1 Exceptions Reporter 2014-01-31 16:22:33 UTC
Created attachment 144646 [details]
stacktrace
Comment 2 Ondrej Brejla 2014-02-03 12:36:12 UTC
Fixed in web-main #57e220596f39
Comment 3 Quality Engineering 2014-02-04 03:06:25 UTC
Integrated into 'main-silver', will be available in build *201402040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/57e220596f39
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #241237 - NullPointerException: The content parameter cannot be null