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 269350 - NullPointerException at org.netbeans.modules.php.twig.editor.parsing.TwigParser.parse
Summary: NullPointerException at org.netbeans.modules.php.twig.editor.parsing.TwigPars...
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Twig (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: junichi11
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-15 07:07 UTC by digitallalit
Modified: 2016-12-27 03:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 227571


Attachments
stacktrace (1.08 KB, text/plain)
2016-12-15 07:07 UTC, digitallalit
Details

Note You need to log in before you can comment on or make changes to this bug.
Description digitallalit 2016-12-15 07:07:07 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.111-b14, Java(TM) SE Runtime Environment, 1.8.0_111-b14
OS: Linux

User Comments:
digitallalit: <Please provide a description of the problem or the steps to reproduce>




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.php.twig.editor.parsing.TwigParser.parse(TwigParser.java:115)
   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.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:798)
   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:304)
   at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:725)
Comment 1 digitallalit 2016-12-15 07:07:08 UTC
Created attachment 163247 [details]
stacktrace
Comment 2 junichi11 2016-12-25 10:56:50 UTC
Can you write exact steps to reproduce it?
I'm just going to check whether it is null. 

Thanks for reporting!
Comment 3 junichi11 2016-12-26 01:15:47 UTC
Fixed.

http://hg.netbeans.org/web-main/rev/8669266d48a5

Thanks.
Comment 4 Quality Engineering 2016-12-27 03:44:36 UTC
Integrated into 'main-silver', will be available in build *201612270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8669266d48a5
User: Junichi Yamamoto <junichi11@netbeans.org>
Log: #269350 - NullPointerException at org.netbeans.modules.php.twig.editor.parsing.TwigParser.parse