Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-327

Null Pointer Exception in C++ files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 9.0
    • None
    • cnd - Editor
    • Windwos 10, JDK 9

    Description

      #include <iostream>
      using namespace std;
      
      int main(int argc, char** argv) {
          std:: //<-- error point
          
          return 0;
      }
      

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

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

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

      Edited(2018.05.08)
      When I type 'class', suddenly java.lang.NullPointerException error is occurred.
      I attached log.text file about this issue.

       

      Attachments

        1. log.txt
          70 kB
          NDelt

        Activity

          People

            Unassigned Unassigned
            NDelt NDelt
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: