Yes the NPE is when i click the save button.
LAMY Olivier wrote: > > Just to be sure > Add installation (jdk1.6.0) -> Add profile (JDK1.6)->Edit profile->Add the > new installation from list > > Here you click on save button ? > > If yes the NPE is fixed in trunk and will be in beta-2. > > -- > Olivier > > > > -----Message d'origine----- > De : fherrerav [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 8 août 2007 18:30 > À : continuum-users@maven.apache.org > Objet : RE: Continuum 1.1-beta-1 profile does not seem to work > > > I get the same NPE > > Add installation (jdk1.6.0) -> Add profile (JDK1.6)->Edit profile->Add the > new installation from list -> NPE > > Server: Red Hat > Client Browser: Opera > Note: Only 1 profile and 1 installation defined > > > java.lang.NullPointerException > at > org.apache.maven.continuum.web.action.admin.ProfileAction.addInstallation(ProfileAction.java:140) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:364) > at > com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:216) > at > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) > at > com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:168) > at > com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) > at > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188) > at > com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115) > at > com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86) > at > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188) > at > org.apache.maven.continuum.web.interceptor.ForceContinuumConfigurationInterceptor.intercept(ForceContinuumConfigurationInterceptor.java:72) > at > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188) > at > org.codehaus.plexus.redback.xwork.interceptor.PolicyEnforcementInterceptor.intercept(PolicyEnforcementInterceptor.java:103) > at > com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188) > > > > > > > > LAMY Olivier wrote: >> >> I think it's due to CONTINUUM-1361. >> >> Rewrite the end of the workflow ;-) >> >> - Edit profile, add an installation, go to Profiles List >> >> -- >> Olivier >> >> -----Message d'origine----- >> De : Stephane Nicoll [mailto:[EMAIL PROTECTED] >> Envoyé : mardi 7 août 2007 12:11 >> À : continuum-users@maven.apache.org >> Objet : Re: Continuum 1.1-beta-1 profile does not seem to work >> >> - Firefox >> - Login as admin >> - Profiles, add profiles, give a name, save >> - Edit profile, add an installation, save -> NPE >> >> But the profile is there with the installation. Note I never restarted >> the service so it's maybe not saved at all (and in a transient cache >> or something). >> >> Stéphane >> >> On 8/7/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: >>> What is the process to reproduce it? >>> >>> Stephane Nicoll a écrit : >>> > Hey, >>> > >>> > I've also a NPE (see below) but I'm able to create the build >>> > profile anyway. I'm on 1.1-beta-1, war version on tomcat 5.5.23/JDK5. >>> > >>> > Cheers, >>> > Stéphane >>> > >>> > 12790974 [TP-Processor6] INFO >>> > com.opensymphony.xwork.interceptor.Interceptor:exceptionLogging - >>> > Error ocurred during execution java.lang.NullPointerException >>> > at >>> org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerIm >>> pl.java:3667) >>> > at >>> org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java: >>> 3646) >>> > at >>> org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPe >>> rsistenceManager.java:1202) >>> > at >>> org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenc >>> eManager.java:1261) >>> > at >>> org.codehaus.plexus.jdo.PlexusJdoUtils.updateObject(PlexusJdoUtils.ja >>> va:160) >>> > at >>> org.apache.maven.continuum.store.JdoContinuumStore.updateObject(JdoCo >>> ntinuumStore.java:843) >>> > at >>> org.apache.maven.continuum.store.JdoContinuumStore.updateObject(JdoCo >>> ntinuumStore.java:835) >>> > at >>> org.apache.maven.continuum.store.JdoContinuumStore.updateProfile(JdoC >>> ontinuumStore.java:1226) >>> > at >>> org.apache.maven.continuum.profile.DefaultProfileService.updateProfil >>> e(DefaultProfileService.java:62) >>> > at >>> > org.apache.maven.continuum.web.action.admin.ProfileAction.save(Prof >>> > i >>> > leAction.java:122) >>> > >>> > >>> > On 8/7/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: >>> >> What are your installations? profiles with installations associated? >>> >> >>> >> [EMAIL PROTECTED] a écrit : >>> >>> Hi, >>> >>> I already wrote a message about that. I can't add any >>> >>> installation to a profile : with IE the add button doesn't work >>> >>> and with Firefox, when I click on the add button I obtain a >>> >>> java.lang.NullPointerException (with this stack trace : ). >>> >>> My problem is a little different, I can't access anything after >>> >>> adding installations seeing that I can't add these installations. >>> >>> Does anyone have the same problem? >>> >>> Any suggestion or idea? >>> >>> >>> >>> Thanks in advance, >>> >>> Rémi. >>> >>> >>> >>> >>> >>> >>> >>> *"LAMY Olivier" <[EMAIL PROTECTED]>* >>> >>> >>> >>> 07/08/2007 08:23 >>> >>> Veuillez répondre à >>> >>> continuum-users@maven.apache.org >>> >>> >>> >>> >>> >>> >>> >>> A >>> >>> <continuum-users@maven.apache.org> >>> >>> cc >>> >>> >>> >>> Objet >>> >>> RE: Continuum 1.1-beta-1 profile does not seem to work >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> Afert adding installations to a profile don't use save but go to >>> >>> the profile list page. >>> >>> In fact, the workflow is a litte bit confusing here. >>> >>> >>> >>> It will be fixed in beta-2 ( you have patch here : >>> >>> http://jira.codehaus.org/browse/CONTINUUM-1361 ) >>> >>> >>> >>> Concerning IE, it's an issue (I have only tested with Firefox ;-) >>> >>> ), could you add an issue ? >>> >>> >>> >>> >>> >>> >>> >>> -- >>> >>> Olivier >>> >>> >>> >>> -----Message d'origine----- >>> >>> De : L. J. [mailto:[EMAIL PROTECTED] >>> >>> Envoyé : mardi 7 août 2007 02:24 >>> >>> À : continuum-users >>> >>> Objet : Continuum 1.1-beta-1 profile does not seem to work >>> >>> >>> >>> Hi, >>> >>> >>> >>> When using IE 6, I click the add button to add the installation >>> >>> in the profile, it does not do anything. >>> >>> When using Firefox, the add button works, but after save the >>> >>> profile and go back to check the profile, the installation isn't >>> >>> included in the profile. >>> >>> I am running in AIX, Is this because of my OS or has this >>> >>> happened to anyone else? >>> >>> >>> >>> Thanks. >>> >>> >>> >>> LJ >>> >>> >>> >>> >>> >>> This e-mail, any attachments and the information contained >>> >>> therein ("this message") are confidential and intended solely for >>> >>> the use of the addressee(s). If you have received this message in >>> >>> error please send it back to the sender and delete it. >>> >>> Unauthorized publication, use, dissemination or disclosure of >>> >>> this message, either in whole or in part is strictly prohibited. >>> >>> ***************************************************************** >>> >>> * >>> >>> **** Ce message électronique et tous les fichiers joints ainsi >>> >>> que les informations contenues dans ce message ( ci après "le >>> message" >>> >>> ), sont confidentiels et destinés exclusivement à l'usage de la >>> >>> personne à laquelle ils sont adressés. Si vous avez reçu ce >>> >>> message par erreur, merci de le renvoyer à son émetteur et de le >>> >>> détruire. Toutes diffusion, publication, totale ou partielle ou >>> >>> divulgation sous quelque forme que se soit non expressément >>> >>> autorisées de ce message, sont interdites. >>> >>> ***************************************************************** >>> >>> * >>> >>> **** >>> >>> >>> >>> >>> >>> >>> >>> ----------------------------------------------------------------- >>> >>> - >>> >>> ------ >>> >>> >>> >>> java.lang.NullPointerException >>> >>> at >>> org.apache.maven.continuum.web.action.admin.ProfileAction.addInstalla >>> tion(ProfileAction.java:140) >>> >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. >>> java:39) >>> >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces >>> sorImpl.java:25) >>> >>> at java.lang.reflect.Method.invoke(Method.java:585) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultAc >>> tionInvocation.java:364) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(Defau >>> ltActionInvocation.java:216) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:190) >>> >>> at >>> com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doInter >>> cept(DefaultWorkflowInterceptor.java:168) >>> >>> at >>> com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept( >>> MethodFilterInterceptor.java:86) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(Va >>> lidationInterceptor.java:115) >>> >>> at >>> com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept( >>> MethodFilterInterceptor.java:86) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> org.apache.maven.continuum.web.interceptor.ForceContinuumConfiguratio >>> nInterceptor.intercept(ForceContinuumConfigurationInterceptor.java:72 >>> ) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> org.codehaus.plexus.redback.xwork.interceptor.PolicyEnforcementInterc >>> eptor.intercept(PolicyEnforcementInterceptor.java:103) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> org.codehaus.plexus.redback.xwork.interceptor.SecureActionInterceptor >>> .intercept(SecureActionInterceptor.java:178) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> org.codehaus.plexus.xwork.interceptor.ExceptionMappingInterceptor.int >>> ercept(ExceptionMappingInterceptor.java:58) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doInter >>> cept(DefaultWorkflowInterceptor.java:168) >>> >>> at >>> com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept( >>> MethodFilterInterceptor.java:86) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(Va >>> lidationInterceptor.java:115) >>> >>> at >>> com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept( >>> MethodFilterInterceptor.java:86) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around >>> Interceptor.java:31) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around >>> Interceptor.java:31) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around >>> Interceptor.java:31) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept( >>> FileUploadInterceptor.java:171) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around >>> Interceptor.java:31) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> com.opensymphony.webwork.interceptor.debugging.DebuggingInterceptor.i >>> ntercept(DebuggingInterceptor.java:147) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around >>> Interceptor.java:31) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInte >>> rceptor.java:151) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around >>> Interceptor.java:31) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around >>> Interceptor.java:31) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(Around >>> Interceptor.java:31) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.interc >>> ept(ExceptionMappingInterceptor.java:186) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> org.codehaus.plexus.redback.xwork.interceptor.AutoLoginInterceptor.in >>> tercept(AutoLoginInterceptor.java:156) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> org.codehaus.plexus.redback.xwork.interceptor.ForceAdminUserIntercept >>> or.intercept(ForceAdminUserInterceptor.java:63) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> org.codehaus.plexus.redback.xwork.interceptor.EnvironmentCheckInterce >>> ptor.intercept(EnvironmentCheckInterceptor.java:122) >>> >>> at >>> com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionIn >>> vocation.java:188) >>> >>> at >>> com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy. >>> java:113) >>> >>> at >>> com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(Dis >>> patcherUtils.java:225) >>> >>> at >>> com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterD >>> ispatcher.java:202) >>> >>> at >>> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter( >>> WebApplicationHandler.java:821) >>> >>> at >>> com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilt >>> er.java:118) >>> >>> at >>> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilte >>> r.java:52) >>> >>> at >>> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter( >>> WebApplicationHandler.java:821) >>> >>> at >>> com.opensymphony.webwork.dispatcher.ActionContextCleanUp.doFilter(Act >>> ionContextCleanUp.java:88) >>> >>> at >>> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter( >>> WebApplicationHandler.java:821) >>> >>> at >>> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati >>> onHandler.java:471) >>> >>> at >>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5 >>> 68) >>> >>> at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) >>> >>> at >>> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication >>> Context.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)= >>> >> >>> > >>> > >>> >>> >> >> >> -- >> Large Systems Suck: This rule is 100% transitive. If you build one, >> you suck" -- S.Yegge >> >> > > -- > View this message in context: > http://www.nabble.com/Continuum-1.1-beta-1-profile-does-not-seem-to-work-tf4227395.html#a12057037 > Sent from the Continuum - Users mailing list archive at Nabble.com. > > -- View this message in context: http://www.nabble.com/Continuum-1.1-beta-1-profile-does-not-seem-to-work-tf4227395.html#a12059411 Sent from the Continuum - Users mailing list archive at Nabble.com.