I have added a parent pom file with an URL to our company logo.  This
worked fine and the company logo appeared on the right side of the
header section.

I then was looking in changing the default build configuration by
enabling the component
org.apache.maven.continuum.configuration.ConfigurationService in the
file WEB-INF/classes/META-INF/plexus/application.xml and changing the
default-m2-goals value.

After restarting I now get a NullPointerException locate in the header
section that seems to come from the logo configuration I did.

Everything else works fine except that if I click on Appearance I get
again the NullPointerException.

How can I fix this?

Andreas


Below the stack trace:


java.lang.NullPointerException
        at
org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.r
elease(ClassicSingletonComponentManager.java:60)
        at
org.codehaus.plexus.DefaultPlexusContainer.release(DefaultPlexusContaine
r.java:663)
        at
org.codehaus.plexus.DefaultPlexusContainer.releaseAll(DefaultPlexusConta
iner.java:690)
        at
org.apache.maven.profiles.DefaultProfileManager.isActive(DefaultProfileM
anager.java:280)
        at
org.apache.maven.profiles.DefaultProfileManager.getActiveProfiles(Defaul
tProfileManager.java:210)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.injectActiveProfiles
(DefaultMavenProjectBuilder.java:1305)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildStandaloneSuper
Project(DefaultMavenProjectBuilder.java:281)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildStandaloneSuper
Project(DefaultMavenProjectBuilder.java:254)
        at
org.apache.maven.shared.app.company.DefaultCompanyPomHandler.getCompanyP
omModel(DefaultCompanyPomHandler.java:118)
        at
org.apache.maven.shared.app.company.DefaultCompanyPomHandler.getCompanyP
omModel(DefaultCompanyPomHandler.java:90)
        at
org.apache.maven.continuum.web.action.component.CompanyInfoAction.execut
e(CompanyInfoAction.java:60)
        at sun.reflect.GeneratedMethodAccessor202.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActio
nInvocation.java:358)
        at
com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultA
ctionInvocation.java:218)
        at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:192)
        at
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInt
erceptor.java:31)
        at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
        at
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInt
erceptor.java:31)
        at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
        at
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInt
erceptor.java:31)
        at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
        at
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInt
erceptor.java:31)
        at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
        at
com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInt
erceptor.java:31)
        at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
        at
com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept
(ExceptionMappingInterceptor.java:186)
        at
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvoc
ation.java:190)
        at
com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.jav
a:116)
        at
com.opensymphony.webwork.components.ActionComponent.executeAction(Action
Component.java:229)
        at
com.opensymphony.webwork.components.ActionComponent.end(ActionComponent.
java:127)
        at
com.opensymphony.webwork.views.jsp.ComponentTagSupport.doEndTag(Componen
tTagSupport.java:21)
        at
org.apache.jsp.WEB_002dINF.jsp.decorators.default_jsp._jspx_meth_ww_acti
on_0(default_jsp.java:535)
        at
org.apache.jsp.WEB_002dINF.jsp.decorators.default_jsp._jspx_meth_ww_i18n
_0(default_jsp.java:458)
        at
org.apache.jsp.WEB_002dINF.jsp.decorators.default_jsp._jspService(defaul
t_jsp.java:170)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:332)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
        at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
andler.java:473)
        at
org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:286)
        at
org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:163)
        at
com.opensymphony.module.sitemesh.filter.PageFilter.applyDecorator(PageFi
lter.java:156)
        at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
ava:59)
        at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
        at
com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Action
ContextCleanUp.java:88)
        at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(Web
ApplicationHandler.java:821)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
andler.java:471)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
        at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
text.java:633)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
        at org.mortbay.http.HttpServer.service(HttpServer.java:909)
        at
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
        at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
        at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
        at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244
)
        at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

Reply via email to