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 Dev (Build 200710170000) VM: Java HotSpot(TM) Client VM, 1.6.0_03-b02 OS: Windows XP, 5.1, x86 User Comments: -just created a VW ee5 project. Prior to that had closed about 5 files from multiviewer (didn't require a SAVE), and then closed all the remaining projects in IDE, mixture of plain JSP and VW projects.
Created attachment 51173 [details] stacktrace
Build: NetBeans IDE Dev (Build 200710261200) VM: Java HotSpot(TM) Client VM, 1.6.0_02-b05 OS: Linux, 2.6.20-15-generic, i386 User Comments: -had just saved java source after closing page tab of a cloned document (Page1)^J-returned to VW ee5 design page and was attempting drop of a Basic component (Label)^J-since I was on a VNC connection I didn't think I clicked/dragged right so I dragged^J again and got this exception
Created attachment 51824 [details] stacktrace
THIS ISSUE HAS 5 MORE DUPLICATES
Upgrading this based on report from netcat participant: This exception is a precursor to the subsequent erratic component behavior. I try to delete a button object, nothing happens. Select "refresh" - after 8 seconds delay the component disappears. It looks like this is a show-stopper at this point. I do not have the Navigator window.
My guess, it appears this error occurs on first run of NetBeans IDE, when using Visual Web Pack. After receiving the first message and having the system display erratic results, I shut down my computer for the night. Today, I started the IDE, and the Visual Editor page displayed the red banner stating the objects were bad (I didn't write down the message). I deleted the entire project, created a new Visual Web project and successfully created the entire Coordinated Drop Down List tutorial http://blogs.sun.com/divas/entry/coordinated_drop_down_lists with no further incident. The IDE, especially VWP functions perfectly, to the point that a previous error I had reported is cleared up, everything is good. I love it! What an excellent experience. Its just that first run - and that critical first impression for first-time NetBeans users..
Ok, let's see what is going on...
#119292: Lookup.equals could be used to execute setLookups re-entrantly and get IndexOutOfBounds IDE:------------------------------------------------- IDE: [30.10.07 18:33] Committing started Checking in src/org/openide/util/lookup/ProxyLookup.java; /shared/data/ccvs/repository/openide/util/src/org/openide/util/lookup/ProxyLookup.java,v <-- ProxyLookup.java new revision: 1.15; previous revision: 1.14 done Checking in test/unit/src/org/openide/util/lookup/ProxyLookupTest.java; /shared/data/ccvs/repository/openide/util/test/unit/src/org/openide/util/lookup/ProxyLookupTest.java,v <-- ProxyLookupTest.java new revision: 1.9; previous revision: 1.8 done IDE: [30.10.07 18:33] Committing finished
Also making re-entrant from add/removeLookupListener IDE:------------------------------------------------- IDE: [30.10.07 18:50] Committing "Utilities API" started Checking in src/org/openide/util/lookup/ProxyLookup.java; /shared/data/ccvs/repository/openide/util/src/org/openide/util/lookup/ProxyLookup.java,v <-- ProxyLookup.java new revision: 1.16; previous revision: 1.15 done Checking in test/unit/src/org/openide/util/lookup/ProxyLookupTest.java; /shared/data/ccvs/repository/openide/util/test/unit/src/org/openide/util/lookup/ProxyLookupTest.java,v <-- ProxyLookupTest.java new revision: 1.10; previous revision: 1.9 done IDE: [30.10.07 18:51] Committing "Utilities API" finished
[60cat] [vw] Using 200710291200 build. The error reporting mechanism embedded in the IDE brought me to the issue reporting system, but it appears my comments and stack trace were not recorded - unless there is some network delay. I will reproduce those comments here. This is now my fourth incident with this particular error in the past 2 weeeks of VW usage. The Navigator window is now non-functional, with light-gray lettering stating <no view available>. I tried Window | Reset Windows with no effect. I had just finished a successful Build/Run/Deploy of the app, using Visual Designer, I clicked in the Navigator window to expand the Session1 bean - the Navigator window goes blank and after a few seconds the error reporting feature creates a pop-up dialog. One observation on my IDE - I have a calendar component on the design surface, not bound to anything. The navigator window shows "calendar1 - Navigator". At the time I clicked Session1, I did *not* have any focus on the calendar component. Recommend this issue be Re-opened.
Reopening. I have just experienced AIOOB with latest zip build 10311411 -- loss of Navigator view clicking in Navigator window. See statistics URL
I am not able to reproduce the exception by myself, neither there are exact steps that I could follow. Passing to visualweb. The visualweb seems to be somehow involved, all the reports seem to be working with it. If you reproduce, and you insist on fixing in openide/lookup component, provide exact steps please.
Please note that this is not a Visual Web Bug. But happens to be manifested by visual web component usage. These are the sequence - Components gets added to the designer or components in the designer gets selected. - All the components in the designer also appear in the Navigator panel (called Outline). - When a component in the designer is modified or deleted or added Outline in the Navigator changes - This action activates the panel in the navigator which in turns access the Lookup. I'm not able to reproduce this in Nov 1 build. Anyway, in description 11 Oct 29 build was used. But the fix was in Oct 30. In description 12, Oct 31 build is used, however, the fix went in at 17:33 on Oct 30, so may not be in the Oct 31 build yet. Marking this bug as works for me and assigning back to openide/lookup
Thanks Prakash, so let's mark this as fixed once again.
Build: NetBeans IDE Dev (Build 200711050000) VM: Java HotSpot(TM) Client VM, 1.5.0_11-b03 OS: Linux, 2.6.20-16-generic, i386 User Comments:
Created attachment 52548 [details] stacktrace
Build: NetBeans IDE Dev (Build 071031) VM: Java HotSpot(TM) Client VM, 1.5.0_12-b04 OS: Linux, 2.6.20-16-generic, i386 User Comments: It happens sometimes when I switch from one Mobility project to another.
Created attachment 52583 [details] stacktrace
I am assuming previous errors are contributing to this error condition. Following are steps taken and associated problems (while in VW Editor, latest NB6RC1, WinXP): 1. Add label component - start adding text 1e: IllegalStateException: Text of parent token is null. tokenStartOffset=1465, tokenIndex=0, relexOffset=1465, relexState=1000, languagePath=LanguagePath: size=2 [0]: text/x-jsp, LH: org.netbeans.api.jsp.lexer.JspTokenId$1 [1]: text/html, LH: org.netbeans.api.html.lexer.HTMLTokenId$1 , inited=true http://statistics.netbeans.org/exceptions/detail.do?id=12355 2. Add additional text - receive #1 error. Try this four times, until terminate adding text with the ENTER key. 3 [this error]. Add DDLB, DnD table on top - receiving this error. Stack trace located in exception report: http://statistics.netbeans.org/exceptions/detail.do?id=7404. Lost the Navigator panel - it shows blank. 4. Attempted to Build/Deploy App, received another error caught by automated logger - I filled out detailed description, then received logger error message: "Upload of log to statistics.netbeans.org failed, please report the problem at http://www.netbeans.org/community/issues.html".
Sorry - but this isn't fixed in NB 6.0, see exception report 7404.
Sorry, it isn't fixed in Netbeans 6.0! See exception report at http://statistics.netbeans.org/analytics/detail.do?id=7404
True, it is not fixed. Also it is reported quite often. I'll see what I can do with it. *** This issue has been marked as a duplicate of 123679 ***