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.
Build: NetBeans IDE 8.0.1 (Build 201408251540) VM: OpenJDK 64-Bit Server VM, 24.65-b04, OpenJDK Runtime Environment, 1.7.0_65-b32 OS: Linux User Comments: GUEST: making a new code template ..New > Abreviation = htm (not html as the orginal shortcut was set by defaul) Content = <html> <head> < <title>${title}</title> </head> <body> ${cursor} </body> </html> .. when I put the code into the form - then the exception occured .. qingyue: while editing or in setting to set php template GUEST: Apareceu o problema aqui. GUEST: Code Templates -> PHP -> New: Abbrev: php Start typing to expanded text: <? Caused NullPointerException. GUEST: Do not now, when the error occurred qingyue: while set php template with: echo '<pre>'; the whole template code: echo '<pre>'; print_r(${cursor}); echo '</pre>'; this bug occure long ago. qingyue: while set php template with the content: echo '<pre>'; print_r(${cursor}); echo '</pre>'; GUEST: I dont no, just viewer the problem. GUEST: dsa Stacktrace: java.lang.NullPointerException: Passed null to FileOwnerQuery.getOwner(FileObject) at org.netbeans.api.project.FileOwnerQuery.getOwner(FileOwnerQuery.java:95) 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:1391)
Created attachment 149916 [details] stacktrace
http://hg.netbeans.org/web-main/rev/554b35d3161c
Integrated into 'main-silver', will be available in build *201507240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/554b35d3161c User: Milutin Kristofic <mkristofic@netbeans.org> Log: #247950 - NullPointerException: Passed null to FileOwnerQuery.getOwner(FileObject)
*** Bug 254673 has been marked as a duplicate of this bug. ***
*** Bug 255242 has been marked as a duplicate of this bug. ***