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 201109190600) VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147 OS: Windows XP User Comments: jskrivanek: It is not possible to create message driven bean with WebLogic server. To reporduce: - create EJB project with WebLogic server - right-click project node and choose New|Message-driven Bean and exception is thrown Stacktrace: java.lang.NullPointerException at java.lang.StringBuilder.<init>(StringBuilder.java:109) at org.netbeans.modules.j2ee.ejbcore.ejb.wizard.mdb.MessageDestinationUiSupport$MessageDestinationListCellRenderer.getListCellRendererComponent(MessageDestinationUiSupport.java:311) at javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1361) at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1311) at javax.swing.plaf.basic.BasicListUI$Handler.valueChanged(BasicListUI.java:2623) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
Created attachment 110918 [details] stacktrace
The wizard got existing MessageDestination from WebLogic where md.getName() returns null. Reassigning to phejl - I think that the fix should be done on WebLogic side.
Can't reproduce. Please specify the server version and domain configuration.
<Version: WebLogic Server 10.3.4.0 Fri Dec 17 20:47:33 PST 2010 1384255 >
Hmmm, I still can't reproduce please send me link to the package you downloaded. Possibly with domain creation steps if applicable.
Created attachment 111297 [details] File causing the failure It fails with an old WebLogic installation and I am not sure which package I used to install it. But as I debugged it it fails because jndi-name attribute is not defined for exampleTopic in attached configuration. Then WLMessageDestination.jndiName is null and it causes the exception. The file is stored here "C:\Oracle\Middleware\wlserver_10.3\samples\domains\wl_server\config\jms\examples-jms.xml"
You will know how much is valid issue to use the sample domain wl_server. Steps to reproduce: 1, Downloaded http://download.oracle.com/otn/nt/middleware/11g/wls/1035/wls1035_generic.jar 2, Installation: a) new Middleware home b) custom configuration and add also WL examples to install c) next-ing to installation (just custom JDK) :) 3, Without running quickstart 5, Started NB IDE 6, added this new server to the IDE as domain choosed sample: /home/marfous/Programs/AppServers/Middleware4/wlserver_10.3/samples/domains/wl_server 7, create EJB project with set this server 8, invoke new file -> MDB ->exception appears
Fixed in web-main 89ab19ad6020. Thanks.
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/89ab19ad6020 User: phejl@netbeans.org Log: #202363 NullPointerException at java.lang.StringBuilder.<init>