This bug was originally marked as duplicate of bug 211962, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.
Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) Client VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05
OS: Windows XP
Created attachment 122873 [details]
I see no direct use of webservices, but glassfish is involved. As glassfish has very bad reputation of breaking the global classpath assigning there. Btw. glassfish guys, the report is from 7.2 (so your webservices tricks should have already been fixed).
see if this is related to bug 211962... and then see if we can find out what the cause is
211962 bug (1.6.0_31) exception was
This (1.7.0_05) one is
So this looks like the same issue. Unfortunately there is no information about GlassFish version. Knowing that it was 3.1.2 would be very helpful.
Please try to reproduce this bug with GlassFish 126.96.36.199 and feel free to reopen it if you'll see the same problem with GlassFish 188.8.131.52.
*** This bug has been marked as a duplicate of bug 211962 ***