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 255242 - NullPointerException: Passed null to FileOwnerQuery.getOwner(FileObject)
Summary: NullPointerException: Passed null to FileOwnerQuery.getOwner(FileObject)
Status: RESOLVED DUPLICATE of bug 247950
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-12 13:10 UTC by Exceptions Reporter
Modified: 2015-09-14 12:12 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 219896


Attachments
stacktrace (2.53 KB, text/plain)
2015-09-12 13:10 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-09-12 13:10:38 UTC
This bug was originally marked as duplicate of bug 247950, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 Beta (Build 201508041349)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
GUEST: while adding code template it occured.

qingyue: while set code template with echo '<

masaki: When I tried to modify code template for HTML 'tab'. Just typeing '>' causes this exception.

1. Start NetBeans
2. Options
3. Code template under Editor category
4. Select HTML and 'tab'
5. Try to insert <thead> under <tr>

This exception is happening.




Stacktrace: 
java.lang.NullPointerException: Passed null to FileOwnerQuery.getOwner(FileObject)
   at org.netbeans.api.project.FileOwnerQuery.getOwner(FileOwnerQuery.java:107)
   at org.netbeans.modules.html.custom.conf.Configuration.get(Configuration.java:106)
   at org.netbeans.modules.html.custom.CustomHtmlExtension.completeOpenTags(CustomHtmlExtension.java:157)
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.query(HtmlCompletionQuery.java:419)
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery$1.run(HtmlCompletionQuery.java:134)
   at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1386)
Comment 1 Exceptions Reporter 2015-09-12 13:10:41 UTC
Created attachment 156125 [details]
stacktrace
Comment 2 Milutin Kristofic 2015-09-14 12:12:55 UTC
This was fixed in Bug #247950, but it was not included to NB 8.1 Beta

*** This bug has been marked as a duplicate of bug 247950 ***