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.
[4.1fcs + jboss4.0.1sp1 (all config)] Let's have hsgldb and jboss registered in the IDE 1. create new EJB module (set target server to jboss) 2. create new CMP Entity beans from database... and follow the wizard - use connection to hsqldb - select some table - finish wizard => java.lang.NullPointerException at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.setCMPMappingInfo(ConfigSupportImpl.java:517)
Created attachment 22937 [details] messages.log
bug seems to be in plugin, not in j2eeserver
TM -> 4.2.
I think this should be solved in j2eeserver. ConfigurationSupport should be better documented (it does not even say how it should be registered by plugin) and it should definitely be optional, j2eeserver should bypass configuration of CMPs when it is not implemented by the plugin. After all a server may be able to provide defaults when there is no CMP configuration. It is desirable to have CMP mappings supported for jboss, it just should not be required.
I added a check for null value of configuration support. /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/config/ConfigSupportImpl.java,v new revision: 1.40; previous revision: 1.39
*** Issue 63466 has been marked as a duplicate of this issue. ***
v.
This bug has been fixed in nb5. Is there a workaround for this issue for users running nb4.1 ? Can the users ignore the exception and continue the work?