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 200802040003) VM: Java HotSpot(TM) Client VM, 10.0-b19 OS: Windows XP, 5.1, x86 User Comments:
Created attachment 55998 [details] stacktrace
Build: NetBeans IDE Dev (Build 200802040003) VM: Java HotSpot(TM) Client VM, 10.0-b19 OS: Windows XP, 5.1, x86 User Comments: This exception happens on every re-scan of a JSP.
Created attachment 56001 [details] stacktrace
Build: NetBeans IDE Dev (Build 200802041203) VM: Java HotSpot(TM) Client VM, 10.0-b19 OS: Windows XP, 5.1, x86 User Comments: -after restarting ide, no projects loaded, created a two page VW project, just dropped a button and table on ee5 project.
Created attachment 56007 [details] stacktrace
Build: NetBeans IDE Dev (Build 200802041203) VM: Java HotSpot(TM) Client VM, 1.6.0_02-ea-b02 OS: SunOS, 5.10, sparc User Comments: -restarted IDE, no projects laoded, create new VW ee5 project, dropped a button, then a table component. reproduced this on XP as well.
Created attachment 56008 [details] stacktrace
HI Marek - this is a blocking issue for us in VW land as it occurs frequently on a component drop on Windows and Solaris, but worse on Mac where Winston is trying to work.
Build: NetBeans IDE Dev (Build 200802050005) VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05 OS: Windows XP, 5.1, x86 User Comments: 1. Create web application with "Visual Wreb JSF" framework. 2. Add second Web Page. 3. Add Button component to the first page. 4. Open Page Flow Editor. 5. Press mouse button on button component of the first page, move cursor to the second page and release a mouse button. Result: NullPointerException arises.
Created attachment 56071 [details] stacktrace
I'm raining this issue to p1. It is blocking us from do testing to verify the fixes we made. the NPE dialog pos up on every component dropped in to the designer
I am looking at it. It is strange - does the problem appear just with the button? or it also happens if you just do some edits? Were there some change in the generated code recently? It is strange because I haven't touched the code for long time and it looks like Mila Metelka didn't do any changes in lexer either.
Jindra Sedek is able to reproduce randomly, however it happens quite often. Can you please confirm that the problem appeared in the 200802040003? I can do some != null, but I am curious what caused that. Unfortunatelly Mila Metelka is on vacation :-|.
I have commited a simple fix preventing the NPE + added some debug info. Downgrading to P2 for now, I hope Mila will look at it at the problem more deeply once he returns from the vacation and identify the source.
Build: NetBeans IDE Dev (Build 200802050005) VM: Java HotSpot(TM) Client VM, 10.0-b19 OS: Windows XP, 5.1, x86 User Comments:
Created attachment 56095 [details] stacktrace
Build: NetBeans IDE Dev (Build 200802031202) VM: Java HotSpot(TM) Client VM, 1.6.0_02-b06 OS: Windows XP, 5.1, x86 User Comments: Copying a table from a database to a JSF Table
Created attachment 56117 [details] stacktrace
As it seems to happen randomly, it's likely some sort of a race condition. I have attempted the following steps: 1. Create web application with "Visual Wreb JSF" framework. 2. Add second Web Page. 3. Add Button component to the first page. 4. Open Page Flow Editor. 5. Press mouse button on button component of the first page, move cursor to the second page and release a mouse button. Does the 5. means that the page flow editor (btw. it's the one when "Design" button is selected, right?) should support Drag&Drop? It does not seem so in my case (the button is only moved within the same page).
THIS ISSUE HAS ALREADY 10 DUPLICATES
I added some NPE checks to the code which now just logs the errorneous situation. Reassigning to lexer module since the bug is likely there.
Are there any reliable steps how this could be reproduced in any of the recent dev builds? I'm still not able to reproduce the problem. Thanks.
I've found that there were some missing read-locks when accessing the lexer module. Please reopen if the issue would still persist. Thanks. http://hg.netbeans.org/main?cmd=changeset;node=cf83357b30a1