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 270756

Summary: NullPointerException at org.netbeans.modules.javascript2.editor.JsStructureScanner.folds
Product: javascript Reporter: Reema
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: alex_sav, erasmodepadua, jorgealfonsogarcia, luchonetvv, mkroll, mps77, thilina01, wissenstein, zeeuss
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 229301
Attachments: stacktrace

Description Reema 2017-05-29 10:11:11 UTC
This bug was originally marked as duplicate of bug 268649, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 20170529-80e5b6f0cafd)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13
OS: Linux

User Comments:
Reema: Created new reactjs file

GUEST: replacing files

GUEST: Problem

luchonetvv: Al abrir el archivo main.js del proyecto de Tipo NodeJS Application.

mkroll: Open index.html with jquery-ui

wissenstein: I opened a JavaScript file and got this exception.

GUEST: i really hate you

GUEST: Typing in editor

luchonetvv: Estaba descargando el fuente de nodejs cuando estaba creando un nuevo proyecto de NodeJS Application.

alex_sav: When i open an js file,then there aren't different colours to each code .So,net beans has a notificaition for unexpected error ,but i don't understand the problem.I have this version of net beans to another computer and it works correctly!

Reema: created an html5.javascript application

luchonetvv: Al abrir un archivo del nuevo proyecto de tipo NodeJS Application.

GUEST: Javascript files are in black font color

GUEST: Open JavaScript file with in a maven content-package.

GUEST: new nodejs application

GUEST: I edited angular file

GUEST: Problem

GUEST: var price;
var quantity;
var total;
price = 5;
quantity = 20;
total = price * quantity;
var el = document. getElementById('cost');
el.textContent = '$' + total;

GUEST: exception

GUEST: i can make one project

mps77: editing html/js file

erasmodepadua: <Forne
Comment 1 Reema 2017-05-29 10:11:15 UTC
Created attachment 164426 [details]
stacktrace