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 228417 - find selection generates java.lang.NullPointerException
Summary: find selection generates java.lang.NullPointerException
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.4
Hardware: PC Linux
: P1 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-09 21:30 UTC by tbrunhoff
Modified: 2013-04-10 11:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log for the exception. (194.19 KB, text/x-log)
2013-04-09 21:30 UTC, tbrunhoff
Details
messages.log for (successful) run with 201303192300 (31.54 KB, text/x-log)
2013-04-09 21:34 UTC, tbrunhoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tbrunhoff 2013-04-09 21:30:16 UTC
Created attachment 133403 [details]
messages.log for the exception.

select symbol, select 'find selection' --> exception.

This may also be related to the exception when trying to submit a report, which worked with earlier versions.


Product Version: NetBeans IDE Dev (Build 201304042355)
Updates: Updates available
Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02
System: Linux version 3.6.11-4.fc16.x86_64 running on i386; UTF-8; en_US (nb)
User directory: /home/toddb/.netbeans/dev
Cache directory: /home/toddb/.cache/netbeans/dev
Comment 1 tbrunhoff 2013-04-09 21:32:48 UTC
If I immediately switch to the version below, 'find selection' works without an exception.


Product Version: NetBeans IDE Dev (Build 201303192300)
Updates: Updates available
Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02
System: Linux version 3.6.11-4.fc16.x86_64 running on i386; UTF-8; en_US (nb)
User directory: /home/toddb/.netbeans/dev
Cache directory: /home/toddb/.cache/netbeans/dev
Comment 2 tbrunhoff 2013-04-09 21:34:37 UTC
Created attachment 133404 [details]
messages.log for (successful) run with 201303192300
Comment 3 Milutin Kristofic 2013-04-10 10:00:51 UTC
Thank you for this catch, my mistake I followed wrong java hint.
http://hg.netbeans.org/jet-main/rev/54cb3189abd9