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 258712 - NullPointerException: Passed null to FileOwnerQuery.getOwner(FileObject)
Summary: NullPointerException: Passed null to FileOwnerQuery.getOwner(FileObject)
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2016-04-07 18:41 UTC by Exceptions Reporter
Modified: 2016-04-07 18:41 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 223379

stacktrace (2.53 KB, text/plain)
2016-04-07 18:41 UTC, Exceptions Reporter

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2016-04-07 18:41:56 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.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Windows 8.1

User Comments:
qingyue: while set code template with echo '<

GUEST: sad

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.

GUEST: while adding code template it occured.

java.lang.NullPointerException: Passed null to FileOwnerQuery.getOwner(FileObject)
   at org.netbeans.api.project.FileOwnerQuery.getOwner(
   at org.netbeans.modules.html.custom.conf.Configuration.get(
   at org.netbeans.modules.html.custom.CustomHtmlExtension.completeOpenTags(
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.query(
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery$
   at org.netbeans.editor.BaseDocument.render(
Comment 1 Exceptions Reporter 2016-04-07 18:41:58 UTC
Created attachment 159154 [details]