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.
Product Version = NetBeans IDE 7.1 RC1 (Build 201111242103) Operating System = Linux version 3.0.0-12-generic running on amd64 Java; VM; Vendor = 1.7.0_04-ea Runtime = Java HotSpot(TM) 64-Bit Server VM 23.0-b03 The application works as expected, yet Netbeans shows this warning. Why is this?
Please provide steps to reproduce, attach messages.log and reopen. Thanks in advance. http://wiki.netbeans.org/FaqLogMessagesFile
There is really no need for messages.log (not even sure if it is logged). All that is required is to create a CDI ApplicationScoped bean (in this case, it is also a Singleton EJB), and inject that to a Stateless Session Bean EJB. At the @Inject injection point of the Stateless Session Bean EJB, this warning displayed in the IDE. The application runs and behaves as expected.
Thanks for reporting, reassigning to the correct component.
Please read http://netbeans.org/bugzilla/show_bug.cgi?id=201825#c6 Your case is the same. The reason why the application works correctly in runtime : the runtime doesn't confirm to the CDI spec. *** This bug has been marked as a duplicate of bug 201825 ***