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 70973 - [50cat] java.lang.IllegalArgumentException when doing code completion on an array object
Summary: [50cat] java.lang.IllegalArgumentException when doing code completion on an a...
Status: RESOLVED DUPLICATE of bug 70827
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Solaris
: P2 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-04 08:14 UTC by vanob
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (15.99 KB, text/plain)
2006-01-04 08:15 UTC, vanob
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vanob 2006-01-04 08:14:53 UTC
[ BUILD # : 200601012030 ]
[ JDK VERSION : 1.5.0_06 ]

1. start with empty userdir
2. create a java application project
3. Somewhere in the code write the following
int[] arr;
arr.
The code completion listbox should appear then press
'c'
Comment 1 vanob 2006-01-04 08:15:36 UTC
Created attachment 28164 [details]
messages.log
Comment 2 Dusan Balek 2006-01-04 09:36:23 UTC
Reassigning to javacore for evaluation.
Comment 3 Milan Kubec 2006-01-04 12:51:19 UTC
I'm not able to reproduce the problem, please could you describe exactly what
are you doing, sample code would be good.
Comment 4 vanob 2006-01-04 15:57:55 UTC
Ok. In more details

1. Start with empty userdir
2. Press Ctrl+Shift+N (New Project Action)
3. Press Next Button and then press Finish Button
4. The project will be created and in the editor the Main.java file will open
5. Now in the main method after the comment line
// TODO code application logic here
write the following code
int[] arr;
Press enter and on the next line type
arr.
At this point the code completion popup will be displayed
Press 'c' key on the keyboard.
The excpetion happens. Hope this helps.
Comment 5 Daniel Prusa 2006-01-04 16:08:49 UTC
It is reproducible in the mentioned build. It has been already reported - issue
70827 - and fixed in main trunk. It occurs only if 'clone' method of an array is
 selected in the code completion.
Milane, should we fix this in release50? In my opinion, this is P3 rather than P2. 

*** This issue has been marked as a duplicate of 70827 ***
Comment 6 Quality Engineering 2007-09-20 11:51:19 UTC
Reorganization of java component