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 267669 - NullPointerException at org.netbeans.modules.javascript2.editor.embedding.JsEmbeddingProvider$JsxJsTranslator.translate
Summary: NullPointerException at org.netbeans.modules.javascript2.editor.embedding.JsE...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-22 07:48 UTC by nleck
Modified: 2016-08-30 11:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 225650


Attachments
stacktrace (4.43 KB, text/plain)
2016-08-22 07:48 UTC, nleck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nleck 2016-08-22 07:48:49 UTC
Build: NetBeans IDE Dev (Build 201608140002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.101-b13, Java(TM) SE Runtime Environment, 1.8.0_101-b13
OS: Linux

User Comments:
nleck: typing

inonit: opening empty JS file




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.javascript2.editor.embedding.JsEmbeddingProvider$JsxJsTranslator.translate(JsEmbeddingProvider.java:646)
   at org.netbeans.modules.javascript2.editor.embedding.JsEmbeddingProvider.getEmbeddings(JsEmbeddingProvider.java:86)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:599)
   at org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:322)
   at org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
   at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3252)
Comment 1 nleck 2016-08-22 07:48:51 UTC
Created attachment 161740 [details]
stacktrace
Comment 2 Petr Pisl 2016-08-30 11:29:32 UTC
Fixed on my disk. When the repo will be open, I push it.