[syncope-dev] Issue 178 in syncope: Modify Role Name

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[syncope-dev] Issue 178 in syncope: Modify Role Name

syncope
Status: New
Owner: [hidden email]
Labels: Type-Defect Priority-Medium Component-Logic Source-trunk

New issue 178 by [hidden email]: Modify Role Name
http://code.google.com/p/syncope/issues/detail?id=178

What steps will reproduce the problem?
1. Create a Role with name EMPLOYEE (uppercase)
2. Rename the role with Employee
3. Does not allow me to save the change.

What is the expected output?
Renamed role.

What do you see instead?
Return: java.lang.NullPointerException


Reply | Threaded
Open this post in threaded view
|

[syncope-dev] Re: Issue 178 in syncope: Modify Role Name

syncope

Comment #1 on issue 178 by [hidden email]: Modify Role Name
http://code.google.com/p/syncope/issues/detail?id=178

14:40:11.592 WARN  org.springframework.web.client.RestTemplate - POST  
request for "http://localhost:8080/syncope/rest/role/update" resulted in  
500 (Internal Server Error); invoking error handler
14:40:11.592 WARN  org.apache.wicket.protocol.http.WebSession -  
Component-targetted feedback message was left unrendered. This could be  
because you are missing a FeedbackPanel on the page.  Message:  
[FeedbackMessage message = "Generic error occurred during the operation:500  
Internal Server Error", reporter = submit, level = ERROR]

*** /opt/apache-tomcat-7.0.22/logs//localhost.2011-10-10.log ***
Oct 10, 2011 2:40:11 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [syncope-core-rest] in context with  
path [/syncope] threw exception [Request processing failed; nested  
exception is java.lang.NullPointerException] with root cause
java.lang.NullPointerException
        at  
org.syncope.core.rest.data.RoleDataBinder.update(RoleDataBinder.java:119)
        at  
org.syncope.core.rest.controller.RoleController.update(RoleController.java:205)
        at  
org.syncope.core.rest.controller.RoleController$$FastClassByCGLIB$$5ef69eaa.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
        at  
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688)
        at  
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at  
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
        at  
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at  
org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:67)
        at  
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at  
org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621)
        at  
org.syncope.core.rest.controller.RoleController$$EnhancerByCGLIB$$75f3410_2.update(<generated>)
        at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source)
        at  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at  
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
        at  
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
        at  
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
        at  
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
        at  
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
        at  
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
        at  
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:585)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
        at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at  
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:369)
        at  
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
        at  
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
        at  
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)
        at  
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
        at  
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)
        at  
org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
        at  
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)
        at  
org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)
        at  
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)
        at  
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
        at  
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)
        at  
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
        at  
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)
        at  
org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:177)
        at  
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)
        at  
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
        at  
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)
        at  
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:168)
        at  
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
        at  
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
        at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at  
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:113)
        at  
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at  
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
        at  
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at  
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
        at  
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
        at  
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
        at  
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
        at  
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
        at  
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
        at  
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at  
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
        at  
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964)
        at  
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
        at  
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
        at  
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at  
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)


Reply | Threaded
Open this post in threaded view
|

[syncope-dev] Re: Issue 178 in syncope: Modify Role Name

syncope
Updates:
        Status: Started
        Owner: [hidden email]

Comment #2 on issue 178 by [hidden email]: Modify Role Name
http://code.google.com/p/syncope/issues/detail?id=178

(No comment was entered for this change.)

Reply | Threaded
Open this post in threaded view
|

[syncope-dev] Re: Issue 178 in syncope: Modify Role Name

syncope
Updates:
        Status: Fixed

Comment #3 on issue 178 by [hidden email]: Modify Role Name
http://code.google.com/p/syncope/issues/detail?id=178

This issue was closed by revision r1185.