tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andriy Sukhyy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TOMEE-491) NullPointerException in TomEEAnnotationProvider.getAnnotatedClasses
Date Fri, 02 Nov 2012 15:47:12 GMT

    [ https://issues.apache.org/jira/browse/TOMEE-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489495#comment-13489495
] 

Andriy Sukhyy commented on TOMEE-491:
-------------------------------------

Make sure you have next lines in server.xml:

<!-- TomEE plugin for Tomcat -->
  <Listener className="org.apache.tomee.catalina.ServerListener" />
                
> NullPointerException in TomEEAnnotationProvider.getAnnotatedClasses
> -------------------------------------------------------------------
>
>                 Key: TOMEE-491
>                 URL: https://issues.apache.org/jira/browse/TOMEE-491
>             Project: TomEE
>          Issue Type: Bug
>            Reporter: David Blevins
>
> Prevents MyFaces startup.
> SEVERE: An error occured while initializing MyFaces: null
> java.lang.NullPointerException
> 	at org.apache.tomee.myfaces.TomEEAnnotationProvider.getAnnotatedClasses(TomEEAnnotationProvider.java:41)
> 	at org.apache.myfaces.config.annotation.AnnotationConfigurator.createFacesConfig(AnnotationConfigurator.java:90)
> 	at org.apache.myfaces.config.DefaultFacesConfigurationProvider.getAnnotationsFacesConfig(DefaultFacesConfigurationProvider.java:152)
> 	at org.apache.myfaces.config.DefaultFacesConfigurationMerger.getFacesConfigData(DefaultFacesConfigurationMerger.java:91)
> 	at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:416)
> 	at org.apache.myfaces.webapp.AbstractFacesInitializer.buildConfiguration(AbstractFacesInitializer.java:370)
> 	at org.apache.myfaces.webapp.Jsp21FacesInitializer.initContainerIntegration(Jsp21FacesInitializer.java:73)
> 	at org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:143)
> 	at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:119)
> 	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
> 	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
> 	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
> 	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 	at java.lang.Thread.run(Thread.java:722)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message