[JBoss JIRA] Created: (JBAS-8964) NullPointerException in ComponentInterceptorAnnotationParsingProcessor.processInterceptorConfigs
by jaikiran pai (JIRA)
NullPointerException in ComponentInterceptorAnnotationParsingProcessor.processInterceptorConfigs
------------------------------------------------------------------------------------------------
Key: JBAS-8964
URL: https://issues.jboss.org/browse/JBAS-8964
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 7.0.0.Beta1
Environment: JBoss AS7 trunk (as well as 7.0 Beta1)
Reporter: jaikiran pai
Assignee: jaikiran pai
For some (EJB3) deployments the following NullPointerException is thrown.
{code}
Caused by: java.lang.NullPointerException
at org.jboss.as.ee.component.ComponentInterceptorAnnotationParsingProcessor.processInterceptorConfigs(ComponentInterceptorAnnotationParsingProcessor.java:100)
at org.jboss.as.ee.component.ComponentInterceptorAnnotationParsingProcessor.processInterceptorConfigs(ComponentInterceptorAnnotationParsingProcessor.java:74)
at org.jboss.as.ee.component.ComponentInterceptorAnnotationParsingProcessor.processComponentConfig(ComponentInterceptorAnnotationParsingProcessor.java:67)
at org.jboss.as.ee.component.AbstractComponentConfigProcessor.deploy(AbstractComponentConfigProcessor.java:53)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:102)
... 4 more
{code}
The root cause is a typo in the for loop:
{code}
final List<AnnotationInstance> excludeDefaultAnnotations = classAnnotations.get(EXCLUDE_DEFAULT_ANNOTATION_NAME);
....
....
//process the ExcludeClassInterceptors annotation
final List<AnnotationInstance> excludeClassAnnotations = classAnnotations.get(EXCLUDE_CLASS_ANNOTATION_NAME);
if(excludeClassAnnotations != null ) {
for(AnnotationInstance annotation : excludeDefaultAnnotations) {
{code}
Notice the use of excludeDefaultAnnotations in the for loop instead of excludeClassAnnotations.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Closed: (JBAS-3131) Extension-List MANIFEST attribute not honored during deployment of an EAR
by David Lloyd (JIRA)
[ https://issues.jboss.org/browse/JBAS-3131?page=com.atlassian.jira.plugin.... ]
David Lloyd closed JBAS-3131.
-----------------------------
Fix Version/s: 7.0.0.Beta1
(was: 7.0.0.CR1)
Resolution: Done
> Extension-List MANIFEST attribute not honored during deployment of an EAR
> -------------------------------------------------------------------------
>
> Key: JBAS-3131
> URL: https://issues.jboss.org/browse/JBAS-3131
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Deployers
> Affects Versions: JBossAS-4.0.3 SP1
> Environment: Windows XP SP2, JDK 1.5.0_06
> Reporter: Alexander Sack
> Assignee: Jason Greene
> Fix For: 7.0.0.Beta1
>
>
> If a JAR within an EAR specifies an Extension-List MANIFEST attribute, the EAR deployer does not honor it. I have a library, my.jar, that gets deployed that specifies an Extension-Name and Implementation-Version. If any of my jars within an EAR references this library, JBoss ignores the Extension-List attribute. The use of the Extension-List MANIFEST attribute is part of the core J2EE 1.4 spec and the EAR deployment should fail if the Extension-List library is not found (or if it is found and the <name>-Implementatino-Version does not meet the minimal requirements.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Created: (JBAS-8907) ERROR Cannot remove deployment
by Stan Silvert (JIRA)
ERROR Cannot remove deployment
-------------------------------
Key: JBAS-8907
URL: https://issues.jboss.org/browse/JBAS-8907
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 7.0.0.Alpha2
Reporter: Stan Silvert
I'm guessing that this is a Windows issue. When I drop any WAR in the the /deployments directory I get errors. I have to stop the server, manually delete the WAR, and then restart. This is on master and it it still happens if I run standalone.bat as administrator.
08:26:10,346 INFO [org.jboss.modules] JBoss Modules version 1.0.0.Beta14
08:26:10,849 INFO [org.jboss.msc] JBoss MSC version 1.0.0.Beta6
08:26:10,918 INFO [org.jboss.as] JBoss AS 7.0.0.Alpha2 "Halloween" starting
08:26:12,118 INFO [org.jboss.as.server] Activating core services
08:26:12,343 INFO [org.jboss.as] creating native management service using netwo
rk interface (default) port (9999)
08:26:12,358 INFO [org.jboss.as] creating http management service using network
interface (default) port (9990)
08:26:12,383 INFO [org.jboss.as.arquillian] Activating Arquillian Subsystem
08:26:12,397 INFO [org.jboss.as.ee] Activating EE subsystem
08:26:12,419 INFO [org.jboss.as.naming] Activating Naming Subsystem
08:26:12,534 INFO [org.jboss.as.osgi] Activating OSGi Subsystem
08:26:12,535 INFO [org.jboss.as.osgi] Activating OSGi Subsystem
08:26:12,633 INFO [org.jboss.as.webservices] Activating WebServices Extension
08:26:13,026 INFO [org.jboss.as.naming] Starting Naming Service
08:26:13,036 INFO [org.jboss.as.logging] Removing bootstrap log handlers
08:26:13,237 INFO [org.jboss.as.server.deployment] (pool-5-thread-1) Content wi
th name beanvalidation.war added at location C:\as7trunk\jboss-as\build\target\j
boss-7.0.0.Alpha2\standalone\data\content\bc\b1dd10818ff57c0db8b7e6cd4595424dc4b
6ef\content
08:26:13,240 ERROR [org.jboss.as.deployment] (pool-5-thread-1) Cannot remove dep
loyment content file C:\as7trunk\jboss-as\build\target\jboss-7.0.0.Alpha2\standa
lone\deployments\beanvalidation.war
08:26:13,260 INFO [org.jboss.wsf.common.management.AbstractServerConfig] (MSC s
ervice thread 1-2) JBoss Web Services - Stack CXF Server 4.0.0.Alpha1
08:26:13,286 INFO [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting
version 3.1.0.Beta2
08:26:13,484 INFO [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-
1) Starting remote JMX connector
08:26:13,733 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service
thread 1-1) live server is starting..
08:26:14,086 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread
1-2) Starting Coyote HTTP/1.1 on http-8080
08:26:14,089 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) Sta
rting deployment of "beanvalidation.war"
08:26:14,123 WARN [org.jboss.vfs] (MSC service thread 1-2) VFS was unable to se
t the URLStreamHandlerFactory. This will have unpredictable results
08:26:14,242 INFO [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC ser
vice thread 1-1) Started Netty Acceptor version 3.2.1.Final-r2319 127.0.0.1:5445
for CORE protocol
08:26:14,261 INFO [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC ser
vice thread 1-1) Started Netty Acceptor version 3.2.1.Final-r2319 127.0.0.1:5455
for CORE protocol
08:26:14,269 INFO [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service
thread 1-1) HornetQ Server version 2.1.2.Final (Colmeia, 120) started
08:26:14,270 INFO [org.jboss.as.connector] (MSC service thread 1-1) Starting JC
A Subsystem (JBoss IronJacamar 1.0.0.Beta3)
08:26:14,821 INFO [javax.enterprise.resource.webcontainer.jsf.config] (MSC serv
ice thread 1-2) Initializing Mojarra 2.0.4 (FCS b09) for context '/beanvalidatio
n'
08:26:15,617 INFO [javax.enterprise.resource.webcontainer.jsf.application] (MSC
service thread 1-2) JSF1048: PostConstruct/PreDestroy annotations present. Man
agedBeans methods marked with these annotations will have said annotations proce
ssed.
08:26:15,849 INFO [javax.enterprise.resource.webcontainer.jsf.lifecycle] (MSC s
ervice thread 1-2) JSF1027: [null] The ELResolvers for JSF were not registered w
ith the JSP container.
08:26:15,881 INFO [org.jboss.web] (MSC service thread 1-2) registering web cont
ext: /beanvalidation
08:26:15,882 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) Com
pleted deployment of "beanvalidation.war" in 1793 ms
08:26:15,882 INFO [org.jboss.as] (MSC service thread 1-1) JBoss AS 7.0.0.Alpha2
"Halloween" started in 5756ms - Started 100 of 126 services (26 services are pa
ssive or on-demand)
08:26:20,916 ERROR [org.jboss.as.deployment] (pool-5-thread-1) Cannot remove dep
loyment content file C:\as7trunk\jboss-as\build\target\jboss-7.0.0.Alpha2\standa
lone\deployments\beanvalidation.war
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month