cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Schexnaildre <apsch...@gmail.com>
Subject NPE when updating to 2.1.2-SNAPSHOT
Date Tue, 08 Jul 2008 03:16:06 GMT
I am using JAX-RS and JAXB and all works fine with 2.1.1. I wanted to  
update to the snapshots to take advantage of all the new code that has  
been pushed out to the 2.1.2-SNAPSHOT but I get the following error  
with the same exact code. Any thoughts on where I would start to solve  
this? Is this just a result of me not being fully versed on the minute  
details of JAXB?

Thank you,

-Anthony

Platform: Mac OS X 10.5.4 / JDK 1.5

WARNING: Error creating a JAXBContext using ObjectFactory : "<my  
domain model package>" doesnt contain ObjectFactory.class or jaxb.index
Jul 7, 2008 11:04:28 PM org.apache.cxf.phase.PhaseInterceptorChain  
doIntercept
INFO: Interceptor has thrown exception, unwinding now
java.lang.NullPointerException
	at  
org 
.apache 
.cxf 
.jaxrs 
.model.AbstractResourceInfo.clearProxies(AbstractResourceInfo.java:194)
	at  
org 
.apache 
.cxf 
.jaxrs 
.model 
.AbstractResourceInfo 
.clearThreadLocalProxies(AbstractResourceInfo.java:185)
	at  
org 
.apache 
.cxf 
.jaxrs 
.interceptor 
.JAXRSOutInterceptor.handleMessage(JAXRSOutInterceptor.java:67)
	at  
org 
.apache 
.cxf 
.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
	at  
org 
.apache 
.cxf 
.interceptor 
.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java: 
74)
	at  
org 
.apache 
.cxf 
.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
	at  
org 
.apache 
.cxf 
.transport 
.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
	at  
org 
.apache 
.cxf 
.transport.servlet.ServletDestination.invoke(ServletDestination.java:92)
	at  
org 
.apache 
.cxf 
.transport 
.servlet.ServletController.invokeDestination(ServletController.java:279)
	at  
org 
.apache 
.cxf.transport.servlet.ServletController.invoke(ServletController.java: 
123)
	at  
org 
.apache 
.cxf 
.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java: 
174)
	at  
org 
.apache 
.cxf 
.transport.servlet.AbstractCXFServlet.doGet(AbstractCXFServlet.java:156)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 
487)
	at org.mortbay.jetty.servlet.ServletHandler 
$CachedChain.doFilter(ServletHandler.java:1093)
	at org.springframework.security.util.FilterChainProxy 
$VirtualFilterChain.doFilter(FilterChainProxy.java:359)
	at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke 
(FilterSecurityInterceptor.java:109)
	at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter 
(FilterSecurityInterceptor.java:83)
	at org.springframework.security.util.FilterChainProxy 
$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
	at  
org 
.springframework 
.security 
.oauth 
.provider 
.OAuthProviderProcessingFilter 
.doFilter(OAuthProviderProcessingFilter.java:145)
	at org.springframework.security.util.FilterChainProxy 
$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
	at  
org 
.springframework 
.security 
.oauth 
.provider 
.OAuthProviderProcessingFilter 
.doFilter(OAuthProviderProcessingFilter.java:161)
	at org.springframework.security.util.FilterChainProxy 
$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
	at  
org 
.springframework 
.security 
.ui 
.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java: 
268)
	at  
org 
.springframework 
.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
	at org.springframework.security.util.FilterChainProxy 
$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
	at  
org 
.springframework 
.security 
.oauth 
.provider 
.OAuthProviderProcessingFilter 
.doFilter(OAuthProviderProcessingFilter.java:161)
	at org.springframework.security.util.FilterChainProxy 
$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
	at  
org 
.springframework 
.security 
.ui 
.ExceptionTranslationFilter 
.doFilterHttp(ExceptionTranslationFilter.java:101)
	at  
org 
.springframework 
.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
	at org.springframework.security.util.FilterChainProxy 
$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
	at  
org 
.springframework 
.security 
.providers 
.anonymous 
.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java: 
105)
	at  
org 
.springframework 
.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
	at org.springframework.security.util.FilterChainProxy 
$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
	at  
org 
.springframework 
.security 
.ui 
.rememberme 
.RememberMeProcessingFilter 
.doFilterHttp(RememberMeProcessingFilter.java:109)
	at  
org 
.springframework 
.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
	at org.springframework.security.util.FilterChainProxy 
$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
	at  
org 
.springframework 
.security 
.wrapper 
.SecurityContextHolderAwareRequestFilter 
.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
	at  
org 
.springframework 
.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
	at org.springframework.security.util.FilterChainProxy 
$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
	at  
org 
.springframework 
.security 
.ui 
.basicauth 
.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:172)
	at  
org 
.springframework 
.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
	at org.springframework.security.util.FilterChainProxy 
$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
	at  
org 
.springframework 
.security 
.ui 
.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java: 
268)
	at  
org 
.springframework 
.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
	at org.springframework.security.util.FilterChainProxy 
$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
	at  
org 
.springframework 
.security.ui.logout.LogoutFilter.doFilterHttp(LogoutFilter.java:87)
	at  
org 
.springframework 
.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
	at org.springframework.security.util.FilterChainProxy 
$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
	at  
org 
.springframework 
.security 
.ui 
.SessionFixationProtectionFilter 
.doFilterHttp(SessionFixationProtectionFilter.java:68)
	at  
org 
.springframework 
.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
	at org.springframework.security.util.FilterChainProxy 
$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
	at  
org 
.springframework 
.security 
.context 
.HttpSessionContextIntegrationFilter 
.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
	at  
org 
.springframework 
.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
	at org.springframework.security.util.FilterChainProxy 
$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
	at  
org 
.springframework 
.security 
.concurrent 
.ConcurrentSessionFilter.doFilterHttp(ConcurrentSessionFilter.java:97)
	at  
org 
.springframework 
.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
	at org.springframework.security.util.FilterChainProxy 
$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
	at  
org 
.springframework 
.security 
.securechannel 
.ChannelProcessingFilter.doFilterHttp(ChannelProcessingFilter.java:116)
	at  
org 
.springframework 
.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
	at org.springframework.security.util.FilterChainProxy 
$VirtualFilterChain.doFilter(FilterChainProxy.java:371)
	at  
org 
.springframework 
.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:174)
	at  
org 
.springframework 
.web 
.filter 
.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236)
	at  
org 
.springframework 
.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java: 
167)
	at org.mortbay.jetty.servlet.ServletHandler 
$CachedChain.doFilter(ServletHandler.java:1084)
	at  
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
	at  
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at  
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
	at  
org 
.mortbay 
.jetty 
.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java: 
206)
	at  
org 
.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java: 
114)
	at  
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 
505)
	at org.mortbay.jetty.HttpConnection 
$RequestHandler.headerComplete(HttpConnection.java:828)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
	at  
org 
.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 
395)
	at java.util.concurrent.ThreadPoolExecutor 
$Worker.runTask(ThreadPoolExecutor.java:650)
	at java.util.concurrent.ThreadPoolExecutor 
$Worker.run(ThreadPoolExecutor.java:675)
	at java.lang.Thread.run(Thread.java:613)

Mime
View raw message