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 253637 - NullPointerException at com.welovecoding.nbeditorconfig.processor.FileInfo.getCurrentCaretPosition
Summary: NullPointerException at com.welovecoding.nbeditorconfig.processor.FileInfo.ge...
Status: RESOLVED WONTFIX
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-22 05:52 UTC by rptmaestro
Modified: 2015-07-22 07:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 218685


Attachments
stacktrace (3.52 KB, text/plain)
2015-07-22 05:52 UTC, rptmaestro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rptmaestro 2015-07-22 05:52:53 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Mac OS X

User Comments:
rptmaestro: Clicked in the editor. No caret was appearing.




Stacktrace: 
java.lang.NullPointerException
   at com.welovecoding.nbeditorconfig.processor.FileInfo.getCurrentCaretPosition(FileInfo.java:65)
   at com.welovecoding.nbeditorconfig.processor.operation.TrimTrailingWhiteSpaceOperation.detectCaretOffset(TrimTrailingWhiteSpaceOperation.java:51)
   at com.welovecoding.nbeditorconfig.processor.operation.TrimTrailingWhiteSpaceOperation.operate(TrimTrailingWhiteSpaceOperation.java:30)
   at com.welovecoding.nbeditorconfig.processor.operation.TrimTrailingWhiteSpaceOperation.operate(TrimTrailingWhiteSpaceOperation.java:20)
   at com.welovecoding.nbeditorconfig.processor.EditorConfigProcessor.excuteOperations(EditorConfigProcessor.java:190)
   at com.welovecoding.nbeditorconfig.processor.EditorConfigProcessor.applyRulesToFile(EditorConfigProcessor.java:95)
Comment 1 rptmaestro 2015-07-22 05:52:55 UTC
Created attachment 154786 [details]
stacktrace
Comment 2 Jaroslav Havlin 2015-07-22 07:09:07 UTC
It seems to be a bug in a third-party plugin.

Reported to issue tracker of the plugin:
https://github.com/welovecoding/editorconfig-netbeans/issues/83