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 14274 - NPE after writing ";" and hitting ENTER in [Scripting Console] - "BeanShell"
Summary: NPE after writing ";" and hitting ENTER in [Scripting Console] - "BeanShell"
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-08 15:52 UTC by Robert Dankanin
Modified: 2007-11-05 13:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thrown NPE (2.59 KB, text/plain)
2001-08-08 15:53 UTC, Robert Dankanin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Dankanin 2001-08-08 15:52:33 UTC
[Main trunk build #200108080100]

1. start fresh build
2. MW -> "View" -> "Scripting Console"
3. leave the "Scripting Language" on "BeanShell"
4. write there just one character ";" and hit enter

-> attached java.lang.NullPointerException will be thrown

NOTE: from the stack trace, perhaps the bug is in Editor module - feel free to reassign
Comment 1 Robert Dankanin 2001-08-08 15:53:31 UTC
Created attachment 2102 [details]
thrown NPE
Comment 2 Peter Zavadsky 2001-08-13 16:42:13 UTC
Reassigned to editor.
Comment 3 Martin Roskanin 2001-10-10 09:16:28 UTC
You needn't open scripting. Go to the beginning (offset 0) of any java 
document and type ; <enter>
Comment 4 David Konecny 2001-10-10 09:20:26 UTC
Looks seriously. I'm increasing priority and will look at it. Thanx 
Mato.
Comment 5 David Konecny 2001-10-10 15:10:54 UTC
Fixed in file:
libsrc/org/netbeans/editor/ext/java/JavaFormatSupport.java;
new revision: 1.28; previous revision: 1.27
Comment 6 Quality Engineering 2003-06-30 18:04:02 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 7 Quality Engineering 2003-06-30 18:10:20 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.