[jboss-dev-forums] [Design of Clustering on JBoss (Clusters/JBoss)] - JBAS-4960 - broken merge
adrian@jboss.org
do-not-reply at jboss.com
Mon Nov 12 06:55:27 EST 2007
With the latest change to the JBossWebMetaData, the merge is failing
due to an NPE.
| Caused by: java.lang.NullPointerException
| at org.jboss.metadata.web.jboss.JBossWebMetaData.merge(JBossWebMetaData.java:1051)
| at org.jboss.metadata.web.jboss.JBossWebMetaData.merge(JBossWebMetaData.java:871)
| at org.jboss.deployment.JBossWebAppParsingDeployer.createMetaData(JBossWebAppParsingDeployer.java:101)
| at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:162)
| at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
| ... 18 more
|
This is caused by the change in maxActiveSessions:
| - private int maxActiveSessions = -1;
| + private Integer maxActiveSessions = null;
|
breaking this code (line 1051 is the if statement):
| if(override != null && override.maxActiveSessions != -1)
| setMaxActiveSession(override.maxActiveSessions);
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103614#4103614
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103614
More information about the jboss-dev-forums
mailing list