[ 
https://issues.apache.org/jira/browse/NETBEANS-327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyeonwoo O updated NETBEANS-327:
--------------------------------
    Description: 
{code:c++}
#include <iostream>
using namespace std;

int main(int argc, char** argv) {
    std:: //<-- error point
    
    return 0;
}
{code}

When I typing *std::*, following error message always pop ups.

{noformat}
NullPointerException at 
org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.findAutoOrDecltypeAutoType
{noformat}

I tested it in Build 201801230002 and g++ 7.2.0.


  was:
{code:c++}
#include <iostream>
using namespace std;

int main(int argc, char** argv) {
    std:: //<-- error point
    
    return 0;
}
{code}

When I typing *std::*, following error message always pop ups.

{noformat}
NullPointerException at 
org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.findAutoOrDecltypeAutoType
{noformat}

I tested it in 9.0 development version and g++ 7.2.0.



> Null Pointer Exception in C++ files
> -----------------------------------
>
>                 Key: NETBEANS-327
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-327
>             Project: NetBeans
>          Issue Type: Bug
>          Components: ide - Code
>    Affects Versions: 9.0
>            Reporter: Hyeonwoo O
>            Assignee: Hyeonwoo O
>            Priority: Major
>              Labels: errors
>
> {code:c++}
> #include <iostream>
> using namespace std;
> int main(int argc, char** argv) {
>     std:: //<-- error point
>     
>     return 0;
> }
> {code}
> When I typing *std::*, following error message always pop ups.
> {noformat}
> NullPointerException at 
> org.netbeans.modules.cnd.completion.cplusplus.ext.CsmCompletionQuery$Context.findAutoOrDecltypeAutoType
> {noformat}
> I tested it in Build 201801230002 and g++ 7.2.0.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to