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 262524 - NullPointerException at netbeanstypescript.TSService.updateFile
Summary: NullPointerException at netbeanstypescript.TSService.updateFile
Status: RESOLVED FIXED
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-22 07:06 UTC by javatlacati
Modified: 2016-07-23 16:32 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 223693


Attachments
stacktrace (4.59 KB, text/plain)
2016-06-22 07:06 UTC, javatlacati
Details
stacktrace (4.59 KB, text/plain)
2016-06-22 07:12 UTC, javatlacati
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javatlacati 2016-06-22 07:06:44 UTC
Build: NetBeans IDE 8.1 (Build 201511021428)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b15
OS: Windows 8

User Comments:
GUEST: Run html5 project with angular2

GUEST: At the time to create a new type scritp file happends an error. This is not defined in the tsconfig.ts file.

DarioMenin: Starting from an empty PHP project, I created in the Sources folder the tsconfig.json, typings.json, package.json described in https://angular.io/docs/ts/latest/quickstart.html, then i ran from terminal the command "npm install" in the Sources directory.
I'm using Typescript plugin from: https://github.com/Everlaw/nbts

GUEST: Started NetBeans

Mr_Secunda: After typescript plugin was added

javatlacati: searching for word typescript in npm section of project properties




Stacktrace: 
java.lang.NullPointerException
   at netbeanstypescript.TSService.updateFile(TSService.java:413)
   at netbeanstypescript.TSParser.parse(TSParser.java:60)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:621)
   at org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:251)
   at org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:138)
   at org.netbeans.modules.csl.core.GsfReformatTask$1.run(GsfReformatTask.java:102)
Comment 1 javatlacati 2016-06-22 07:06:46 UTC
Created attachment 160122 [details]
stacktrace
Comment 2 javatlacati 2016-06-22 07:12:27 UTC
Created attachment 160123 [details]
stacktrace

Created new Typescript File. ( NBTS activated )
Comment 3 Tomas Zezula 2016-06-22 07:30:11 UTC
Reported on the nbts as issue https://github.com/Everlaw/nbts/issues/54
Comment 4 javatlacati 2016-07-23 16:32:23 UTC
Third party plugin creators mark it as solved in the next release.