Hi,
I just setup the demo environment and running the demo application on Tomcat 6 and the database I am using is MySql.
I am able to bring up the admin without any issue. But, I am getting Null Pointer exception in the pop-up window whenever I try to add Category, Product, Product Option, Offer, Pages, Structureed Content, ...... Role, User (Any addition).
java.lang.NullPointerException
java.util.Hashtable.get(Hashtable.java:334)
I am able to edit and delete any of the above I mentioned but problem is with the addition. I ran the application in the debug mode to capture more information which I am pasting here. Can you please help me to resolve the issue.
485433 [http-8080-3] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/category/add'; against '/**/*.css'
485463 [http-8080-3] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/category/add'; against '/**/*.js'
485463 [http-8080-3] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/category/add'; against '/img/**'
485463 [http-8080-3] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/category/add'; against '/fonts/**'
485463 [http-8080-3] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/category/add'; against '/favicon.ico'
485463 [http-8080-3] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/category/add'; against '/robots.txt'
485463 [http-8080-3] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/category/add'; against '/login'
485464 [http-8080-3] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/category/add'; against '/forgotusername'
485464 [http-8080-3] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/category/add'; against '/forgotpassword'
485464 [http-8080-3] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/category/add'; against '/changepassword'
485464 [http-8080-3] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/category/add'; against '/resetpassword'
485464 [http-8080-3] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/category/add'; against '/sendresetpassword'
485518 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add at position 1 of 15 in additional filter chain; firing Filter: 'FilterChainProxy'
485518 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add at position 1 of 2 in additional filter chain; firing Filter: 'OpenEntityManagerInViewFilter'
485559 [http-8080-3] DEBUG org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter - Opening JPA EntityManager in OpenEntityManagerInViewFilter
485576 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add at position 2 of 2 in additional filter chain; firing Filter: 'BroadleafAdminRequestFilter'
485577 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add reached end of additional filter chain; proceeding with original chain
485577 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add at position 2 of 15 in additional filter chain; firing Filter: 'ChannelProcessingFilter'
485577 [http-8080-3] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Request '/category/add' matched by universal pattern '/**'
485577 [http-8080-3] DEBUG org.springframework.security.web.access.channel.ChannelProcessingFilter - Request: FilterInvocation: URL: /category/add; ConfigAttributes: [ANY_CHANNEL]
485577 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add at position 3 of 15 in additional filter chain; firing Filter: 'SecurityContextPersistenceFilter'
485577 [http-8080-3] DEBUG org.springframework.security.web.context.HttpSessionSecurityContextRepository - Obtained a valid SecurityContext from SPRING_SECURITY_CONTEXT: 'org.springframework.security.core.context.SecurityContextImpl@2402c33f: Authentication: org.springframework.security.authentication.UsernamePasswordAuthenticationToken@2402c33f: Principal: org.springframework.security.core.userdetails.User@586034f: Username: admin; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: PERMISSION_ALL_ADMIN_USER,PERMISSION_ALL_APPROVER_SANDBOX,PERMISSION_ALL_ASSET,PERMISSION_ALL_CATEGORY,PERMISSION_ALL_CURRENCY,PERMISSION_ALL_CUSTOMER,PERMISSION_ALL_FULFILLMENT_GROUP,PERMISSION_ALL_MODULECONFIGURATION,PERMISSION_ALL_ORDER,PERMISSION_ALL_ORDER_ITEM,PERMISSION_ALL_PAGE,PERMISSION_ALL_PRODUCT,PERMISSION_ALL_PRODUCT_OPTION,PERMISSION_ALL_PROMOTION,PERMISSION_ALL_SEARCHFACET,PERMISSION_ALL_SEARCHREDIRECT,PERMISSION_ALL_SKU,PERMISSION_ALL_STRUCTURED_CONTENT,PERMISSION_ALL_URLHANDLER,PERMISSION_ALL_USER_SANDBOX,PERMISSION_OTHER_DEFAULT; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@fffd3270: RemoteIpAddress: 0:0:0:0:0:0:0:1%0; SessionId: 537A3B462EE46257D7DCF6CD55379D69; Granted Authorities: PERMISSION_ALL_ADMIN_USER, PERMISSION_ALL_APPROVER_SANDBOX, PERMISSION_ALL_ASSET, PERMISSION_ALL_CATEGORY, PERMISSION_ALL_CURRENCY, PERMISSION_ALL_CUSTOMER, PERMISSION_ALL_FULFILLMENT_GROUP, PERMISSION_ALL_MODULECONFIGURATION, PERMISSION_ALL_ORDER, PERMISSION_ALL_ORDER_ITEM, PERMISSION_ALL_PAGE, PERMISSION_ALL_PRODUCT, PERMISSION_ALL_PRODUCT_OPTION, PERMISSION_ALL_PROMOTION, PERMISSION_ALL_SEARCHFACET, PERMISSION_ALL_SEARCHREDIRECT, PERMISSION_ALL_SKU, PERMISSION_ALL_STRUCTURED_CONTENT, PERMISSION_ALL_URLHANDLER, PERMISSION_ALL_USER_SANDBOX, PERMISSION_OTHER_DEFAULT'
485588 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add at position 4 of 15 in additional filter chain; firing Filter: 'LogoutFilter'
485588 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add at position 5 of 15 in additional filter chain; firing Filter: 'CsrfFilter'
485588 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add at position 6 of 15 in additional filter chain; firing Filter: 'UsernamePasswordAuthenticationFilter'
485588 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add at position 7 of 15 in additional filter chain; firing Filter: 'DefaultLoginPageGeneratingFilter'
485588 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add at position 8 of 15 in additional filter chain; firing Filter: 'RequestCacheAwareFilter'
485588 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add at position 9 of 15 in additional filter chain; firing Filter: 'SecurityContextHolderAwareRequestFilter'
485588 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add at position 10 of 15 in additional filter chain; firing Filter: 'AnonymousAuthenticationFilter'
485588 [http-8080-3] DEBUG org.springframework.security.web.authentication.AnonymousAuthenticationFilter - SecurityContextHolder not populated with anonymous token, as it already contained: 'org.springframework.security.authentication.UsernamePasswordAuthenticationToken@2402c33f: Principal: org.springframework.security.core.userdetails.User@586034f: Username: admin; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: PERMISSION_ALL_ADMIN_USER,PERMISSION_ALL_APPROVER_SANDBOX,PERMISSION_ALL_ASSET,PERMISSION_ALL_CATEGORY,PERMISSION_ALL_CURRENCY,PERMISSION_ALL_CUSTOMER,PERMISSION_ALL_FULFILLMENT_GROUP,PERMISSION_ALL_MODULECONFIGURATION,PERMISSION_ALL_ORDER,PERMISSION_ALL_ORDER_ITEM,PERMISSION_ALL_PAGE,PERMISSION_ALL_PRODUCT,PERMISSION_ALL_PRODUCT_OPTION,PERMISSION_ALL_PROMOTION,PERMISSION_ALL_SEARCHFACET,PERMISSION_ALL_SEARCHREDIRECT,PERMISSION_ALL_SKU,PERMISSION_ALL_STRUCTURED_CONTENT,PERMISSION_ALL_URLHANDLER,PERMISSION_ALL_USER_SANDBOX,PERMISSION_OTHER_DEFAULT; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@fffd3270: RemoteIpAddress: 0:0:0:0:0:0:0:1%0; SessionId: 537A3B462EE46257D7DCF6CD55379D69; Granted Authorities: PERMISSION_ALL_ADMIN_USER, PERMISSION_ALL_APPROVER_SANDBOX, PERMISSION_ALL_ASSET, PERMISSION_ALL_CATEGORY, PERMISSION_ALL_CURRENCY, PERMISSION_ALL_CUSTOMER, PERMISSION_ALL_FULFILLMENT_GROUP, PERMISSION_ALL_MODULECONFIGURATION, PERMISSION_ALL_ORDER, PERMISSION_ALL_ORDER_ITEM, PERMISSION_ALL_PAGE, PERMISSION_ALL_PRODUCT, PERMISSION_ALL_PRODUCT_OPTION, PERMISSION_ALL_PROMOTION, PERMISSION_ALL_SEARCHFACET, PERMISSION_ALL_SEARCHREDIRECT, PERMISSION_ALL_SKU, PERMISSION_ALL_STRUCTURED_CONTENT, PERMISSION_ALL_URLHANDLER, PERMISSION_ALL_USER_SANDBOX, PERMISSION_OTHER_DEFAULT'
485588 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add at position 11 of 15 in additional filter chain; firing Filter: 'SessionManagementFilter'
485589 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add at position 12 of 15 in additional filter chain; firing Filter: 'ExceptionTranslationFilter'
485589 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add at position 13 of 15 in additional filter chain; firing Filter: 'FilterSecurityInterceptor'
485589 [http-8080-3] DEBUG org.springframework.security.web.util.AntPathRequestMatcher - Checking match of request : '/category/add'; against '/**/*'
485589 [http-8080-3] DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptor - Secure object: FilterInvocation: URL: /category/add; Attributes: [PERMISSION_OTHER_DEFAULT]
485589 [http-8080-3] DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptor - Previously Authenticated: org.springframework.security.authentication.UsernamePasswordAuthenticationToken@2402c33f: Principal: org.springframework.security.core.userdetails.User@586034f: Username: admin; Password: [PROTECTED]; Enabled: true; AccountNonExpired: true; credentialsNonExpired: true; AccountNonLocked: true; Granted Authorities: PERMISSION_ALL_ADMIN_USER,PERMISSION_ALL_APPROVER_SANDBOX,PERMISSION_ALL_ASSET,PERMISSION_ALL_CATEGORY,PERMISSION_ALL_CURRENCY,PERMISSION_ALL_CUSTOMER,PERMISSION_ALL_FULFILLMENT_GROUP,PERMISSION_ALL_MODULECONFIGURATION,PERMISSION_ALL_ORDER,PERMISSION_ALL_ORDER_ITEM,PERMISSION_ALL_PAGE,PERMISSION_ALL_PRODUCT,PERMISSION_ALL_PRODUCT_OPTION,PERMISSION_ALL_PROMOTION,PERMISSION_ALL_SEARCHFACET,PERMISSION_ALL_SEARCHREDIRECT,PERMISSION_ALL_SKU,PERMISSION_ALL_STRUCTURED_CONTENT,PERMISSION_ALL_URLHANDLER,PERMISSION_ALL_USER_SANDBOX,PERMISSION_OTHER_DEFAULT; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@fffd3270: RemoteIpAddress: 0:0:0:0:0:0:0:1%0; SessionId: 537A3B462EE46257D7DCF6CD55379D69; Granted Authorities: PERMISSION_ALL_ADMIN_USER, PERMISSION_ALL_APPROVER_SANDBOX, PERMISSION_ALL_ASSET, PERMISSION_ALL_CATEGORY, PERMISSION_ALL_CURRENCY, PERMISSION_ALL_CUSTOMER, PERMISSION_ALL_FULFILLMENT_GROUP, PERMISSION_ALL_MODULECONFIGURATION, PERMISSION_ALL_ORDER, PERMISSION_ALL_ORDER_ITEM, PERMISSION_ALL_PAGE, PERMISSION_ALL_PRODUCT, PERMISSION_ALL_PRODUCT_OPTION, PERMISSION_ALL_PROMOTION, PERMISSION_ALL_SEARCHFACET, PERMISSION_ALL_SEARCHREDIRECT, PERMISSION_ALL_SKU, PERMISSION_ALL_STRUCTURED_CONTENT, PERMISSION_ALL_URLHANDLER, PERMISSION_ALL_USER_SANDBOX, PERMISSION_OTHER_DEFAULT
485589 [http-8080-3] DEBUG org.springframework.security.access.vote.UnanimousBased - Voter: org.springframework.security.access.vote.RoleVoter@6022ef16, returned: 1
485589 [http-8080-3] DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptor - Authorization successful
485589 [http-8080-3] DEBUG org.springframework.security.web.access.intercept.FilterSecurityInterceptor - RunAsManager did not change Authentication object
485589 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add at position 14 of 15 in additional filter chain; firing Filter: 'FilterSecurityInterceptor'
485589 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add at position 15 of 15 in additional filter chain; firing Filter: 'FilterChainProxy'
485589 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add at position 1 of 4 in additional filter chain; firing Filter: 'HiddenHttpMethodFilter'
485589 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add at position 2 of 4 in additional filter chain; firing Filter: 'PrecompressedArtifactFilter'
485598 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add at position 3 of 4 in additional filter chain; firing Filter: 'AdminSandBoxFilter'
485618 [http-8080-3] DEBUG org.hibernate.cache.internal.StandardQueryCache - Checking cached query results in region: org.hibernate.cache.internal.StandardQueryCache
485618 [http-8080-3] DEBUG org.hibernate.cache.ehcache.internal.regions.EhcacheGeneralDataRegion - key: sql: select adminuseri0_.ADMIN_USER_ID as ADMIN1_10_, adminuseri0_.ACTIVE_STATUS_FLAG as ACTIVE2_10_, adminuseri0_.EMAIL as EMAIL10_, adminuseri0_.LOGIN as LOGIN10_, adminuseri0_.NAME as NAME10_, adminuseri0_.PASSWORD as PASSWORD10_, adminuseri0_.PHONE_NUMBER as PHONE7_10_, adminuseri0_1_.SANDBOX_ID as SANDBOX1_13_ from BLC_ADMIN_USER adminuseri0_ left outer join BLC_ADMIN_USER_SANDBOX adminuseri0_1_ on adminuseri0_.ADMIN_USER_ID=adminuseri0_1_.ADMIN_USER_ID where adminuseri0_.LOGIN=?; parameters: ; named parameters: {userName=admin}; transformer: org.hibernate.transform.CacheableResultTransformer@110f2
485618 [http-8080-3] DEBUG org.hibernate.cache.ehcache.internal.regions.EhcacheGeneralDataRegion - Element for key sql: select adminuseri0_.ADMIN_USER_ID as ADMIN1_10_, adminuseri0_.ACTIVE_STATUS_FLAG as ACTIVE2_10_, adminuseri0_.EMAIL as EMAIL10_, adminuseri0_.LOGIN as LOGIN10_, adminuseri0_.NAME as NAME10_, adminuseri0_.PASSWORD as PASSWORD10_, adminuseri0_.PHONE_NUMBER as PHONE7_10_, adminuseri0_1_.SANDBOX_ID as SANDBOX1_13_ from BLC_ADMIN_USER adminuseri0_ left outer join BLC_ADMIN_USER_SANDBOX adminuseri0_1_ on adminuseri0_.ADMIN_USER_ID=adminuseri0_1_.ADMIN_USER_ID where adminuseri0_.LOGIN=?; parameters: ; named parameters: {userName=admin}; transformer: org.hibernate.transform.CacheableResultTransformer@110f2 is null
485618 [http-8080-3] DEBUG org.hibernate.cache.internal.StandardQueryCache - Query results were not found in cache
485619 [http-8080-3] DEBUG org.hibernate.engine.jdbc.internal.LogicalConnectionImpl - Obtaining JDBC connection
485655 [http-8080-3] DEBUG org.hibernate.engine.jdbc.internal.LogicalConnectionImpl - Obtained JDBC connection
485655 [http-8080-3] DEBUG org.hibernate.SQL - select adminuseri0_.ADMIN_USER_ID as ADMIN1_10_, adminuseri0_.ACTIVE_STATUS_FLAG as ACTIVE2_10_, adminuseri0_.EMAIL as EMAIL10_, adminuseri0_.LOGIN as LOGIN10_, adminuseri0_.NAME as NAME10_, adminuseri0_.PASSWORD as PASSWORD10_, adminuseri0_.PHONE_NUMBER as PHONE7_10_, adminuseri0_1_.SANDBOX_ID as SANDBOX1_13_ from BLC_ADMIN_USER adminuseri0_ left outer join BLC_ADMIN_USER_SANDBOX adminuseri0_1_ on adminuseri0_.ADMIN_USER_ID=adminuseri0_1_.ADMIN_USER_ID where adminuseri0_.LOGIN=?
485791 [http-8080-3] DEBUG org.hibernate.loader.Loader - Result set row: 0
485815 [http-8080-3] DEBUG org.hibernate.loader.Loader - Result row: EntityKey[org.broadleafcommerce.openadmin.server.security.domain.AdminUserImpl#-1]
485828 [http-8080-3] DEBUG org.hibernate.engine.internal.TwoPhaseLoad - Resolving associations for [org.broadleafcommerce.openadmin.server.security.domain.AdminUserImpl#-1]
485828 [http-8080-3] DEBUG org.hibernate.engine.internal.TwoPhaseLoad - Adding entity to second-level cache: [org.broadleafcommerce.openadmin.server.security.domain.AdminUserImpl#-1]
485862 [http-8080-3] DEBUG org.hibernate.engine.internal.TwoPhaseLoad - Done materializing entity [org.broadleafcommerce.openadmin.server.security.domain.AdminUserImpl#-1]
485862 [http-8080-3] DEBUG org.hibernate.cache.internal.StandardQueryCache - Caching query results in region: org.hibernate.cache.internal.StandardQueryCache; timestamp=5634093554683904
485862 [http-8080-3] DEBUG org.hibernate.cache.ehcache.internal.regions.EhcacheGeneralDataRegion - key: sql: select adminuseri0_.ADMIN_USER_ID as ADMIN1_10_, adminuseri0_.ACTIVE_STATUS_FLAG as ACTIVE2_10_, adminuseri0_.EMAIL as EMAIL10_, adminuseri0_.LOGIN as LOGIN10_, adminuseri0_.NAME as NAME10_, adminuseri0_.PASSWORD as PASSWORD10_, adminuseri0_.PHONE_NUMBER as PHONE7_10_, adminuseri0_1_.SANDBOX_ID as SANDBOX1_13_ from BLC_ADMIN_USER adminuseri0_ left outer join BLC_ADMIN_USER_SANDBOX adminuseri0_1_ on adminuseri0_.ADMIN_USER_ID=adminuseri0_1_.ADMIN_USER_ID where adminuseri0_.LOGIN=?; parameters: ; named parameters: {userName=admin}; transformer: org.hibernate.transform.CacheableResultTransformer@110f2 value: [5634093554683904, -1]
485862 [http-8080-3] DEBUG org.hibernate.SQL - select sandboximp0_.SANDBOX_ID as SANDBOX1_130_, sandboximp0_.AUTHOR as AUTHOR130_, sandboximp0_.SANDBOX_NAME as SANDBOX3_130_, sandboximp0_.SANDBOX_TYPE as SANDBOX4_130_, sandboximp0_1_.SITE_ID as SITE1_150_ from BLC_SANDBOX sandboximp0_ left outer join BLC_SITE_SANDBOX sandboximp0_1_ on sandboximp0_.SANDBOX_ID=sandboximp0_1_.SANDBOX_ID where sandboximp0_.SANDBOX_TYPE=? and sandboximp0_.SANDBOX_NAME=?
486024 [http-8080-3] DEBUG org.hibernate.loader.Loader - Result set row: 0
486024 [http-8080-3] DEBUG org.hibernate.loader.Loader - Result row: EntityKey[org.broadleafcommerce.common.sandbox.domain.SandBoxImpl#50]
486024 [http-8080-3] DEBUG org.hibernate.engine.internal.TwoPhaseLoad - Resolving associations for [org.broadleafcommerce.common.sandbox.domain.SandBoxImpl#50]
486024 [http-8080-3] DEBUG org.hibernate.engine.internal.TwoPhaseLoad - Adding entity to second-level cache: [org.broadleafcommerce.common.sandbox.domain.SandBoxImpl#50]
486025 [http-8080-3] DEBUG org.hibernate.engine.internal.TwoPhaseLoad - Done materializing entity [org.broadleafcommerce.common.sandbox.domain.SandBoxImpl#50]
486025 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add at position 4 of 4 in additional filter chain; firing Filter: 'JSCompatibilityRequestFilter'
486025 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add reached end of additional filter chain; proceeding with original chain
486025 [http-8080-3] DEBUG org.springframework.security.web.FilterChainProxy - /category/add reached end of additional filter chain; proceeding with original chain
486025 [http-8080-3] DEBUG org.springframework.web.servlet.DispatcherServlet - DispatcherServlet with name 'admin' processing GET request for [/admin/category/add]
486026 [http-8080-3] DEBUG org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping - Looking up handler method for path /category/add
486026 [http-8080-3] DEBUG org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping - Returning handler method [public java.lang.String org.broadleafcommerce.openadmin.web.controller.entity.AdminBasicEntityController.viewAddEntityForm(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.springframework.ui.Model,java.util.Map<java.lang.String, java.lang.String>,java.lang.String) throws java.lang.Exception]
486026 [http-8080-3] DEBUG org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'blAdminCategoryController'
486026 [http-8080-3] DEBUG org.springframework.web.servlet.DispatcherServlet - Last-Modified value for [/admin/category/add] is: -1
486026 [http-8080-3] DEBUG org.broadleafcommerce.core.web.interceptor.NonResourceWebContentInterceptor - Looking up cache seconds for [/category/add]
486026 [http-8080-3] DEBUG org.broadleafcommerce.core.web.interceptor.NonResourceWebContentInterceptor - Applying default cache seconds to [/category/add]
486067 [http-8080-3] DEBUG org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver - Resolving exception from handler [public java.lang.String org.broadleafcommerce.openadmin.web.controller.entity.AdminBasicEntityController.viewAddEntityForm(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.springframework.ui.Model,java.util.Map<java.lang.String, java.lang.String>,java.lang.String) throws java.lang.Exception]: java.lang.NullPointerException
486068 [http-8080-3] DEBUG org.springframework.web.servlet.mvc.annotation.ResponseStatusExceptionResolver - Resolving exception from handler [public java.lang.String org.broadleafcommerce.openadmin.web.controller.entity.AdminBasicEntityController.viewAddEntityForm(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.springframework.ui.Model,java.util.Map<java.lang.String, java.lang.String>,java.lang.String) throws java.lang.Exception]: java.lang.NullPointerException
486068 [http-8080-3] DEBUG org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver - Resolving exception from handler [public java.lang.String org.broadleafcommerce.openadmin.web.controller.entity.AdminBasicEntityController.viewAddEntityForm(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,org.springframework.ui.Model,java.util.Map<java.lang.String, java.lang.String>,java.lang.String) throws java.lang.Exception]: java.lang.NullPointerException
486114 [http-8080-3] ERROR org.broadleafcommerce.openadmin.web.handler.AdminMappingExceptionResolver - Unhandled error processing ajax request
java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:334)
at org.apache.tomcat.util.http.Parameters.getParameterValues(Parameters.java:195)
at org.apache.catalina.connector.Request.getParameterValues(Request.java:1123)
at org.apache.catalina.connector.RequestFacade.getParameterValues(RequestFacade.java:396)
at javax.servlet.ServletRequestWrapper.getParameterValues(ServletRequestWrapper.java:189)
at javax.servlet.ServletRequestWrapper.getParameterValues(ServletRequestWrapper.java:189)
at javax.servlet.ServletRequestWrapper.getParameterValues(ServletRequestWrapper.java:189)
at javax.servlet.ServletRequestWrapper.getParameterValues(ServletRequestWrapper.java:189)
at javax.servlet.ServletRequestWrapper.getParameterValues(ServletRequestWrapper.java:189)
at org.broadleafcommerce.openadmin.web.compatibility.JSCompatibilityRequestWrapper.getParameterValues(JSCompatibilityRequestWrapper.java:131)
at org.springframework.web.context.request.ServletWebRequest.getParameterValues(ServletWebRequest.java:117)
at org.springframework.web.method.annotation.RequestParamMethodArgumentResolver.resolveName(RequestParamMethodArgumentResolver.java:172)
at org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver.resolveArgument(AbstractNamedValueMethodArgumentResolver.java:85)
at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:77)
at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:162)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:123)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.broadleafcommerce.openadmin.web.compatibility.JSCompatibilityRequestFilter.doFilterInternal(JSCompatibilityRequestFilter.java:37)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.broadleafcommerce.openadmin.security.AdminSandBoxFilter.doFilterInternal(AdminSandBoxFilter.java:70)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.broadleafcommerce.common.web.util.PrecompressedArtifactFilter.doFilter(PrecompressedArtifactFilter.java:85)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:166)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:108)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.broadleafcommerce.common.security.handler.CsrfFilter.doFilter(CsrfFilter.java:82)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:144)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.broadleafcommerce.openadmin.web.filter.BroadleafAdminRequestFilter.doFilterInternal(BroadleafAdminRequestFilter.java:59)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doFilterInternal(OpenEntityManagerInViewFilter.java:180)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:166)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:680)
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.