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 200708202346) VM: Java HotSpot(TM) Client VM, 1.6.0_02-b05 OS: Windows XP, 5.1, x86 User Comments: Failed to created CustomerCMP sample. Maybe it has to do smth with JBoss 4.05 and JBoss5Beta2 installed.
Created attachment 47291 [details] stacktrace
Which one did you use for that sample JBoss5Beta2 or JBoss 4.05?
Well, neither of them, but both these server were registered, so maybe it's a problem that while sample is created, it tries to use one of them instead of glassfish (probably JBoss5, as it is J2EE5 "compliant") and that fires this exception.
I can't reproduce it. Can you provide some reproducible scenario? From the stack trace it seems like you (or the ide) was resolving missing datasource... Is the glassfish registered too? Is the plugin for it installed?
Could be related to the issue 114055.
No response and not reproducible - closing as "works for me".