Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null pointer exception while accessing lightadmin url. #265

Open
tilhari95 opened this issue Sep 27, 2016 · 0 comments
Open

Null pointer exception while accessing lightadmin url. #265

tilhari95 opened this issue Sep 27, 2016 · 0 comments

Comments

@tilhari95
Copy link

tilhari95 commented Sep 27, 2016

I have followed the given documentation and trying to integrate lightadmin in my web application. Following error is coming everytime I access /admin url for lightadmin dashboard when using spring version 4.0.4, but with spring 3.2.4 version and corresponding light admin jar the lightadmin is working fine. Also there is need to scale the product for newer version of Spring.


java.lang.NullPointerException
    org.apache.tiles.renderer.DefinitionRenderer.isRenderable(DefinitionRenderer.java:64)
    org.springframework.web.servlet.view.tiles3.TilesView.checkResource(TilesView.java:101)
    org.springframework.web.servlet.view.UrlBasedViewResolver.loadView(UrlBasedViewResolver.java:439)
    org.springframework.web.servlet.view.AbstractCachingViewResolver.createView(AbstractCachingViewResolver.java:244)
    org.springframework.web.servlet.view.UrlBasedViewResolver.createView(UrlBasedViewResolver.java:402)
    org.springframework.web.servlet.view.AbstractCachingViewResolver.resolveViewName(AbstractCachingViewResolver.java:156)
    org.springframework.web.servlet.DispatcherServlet.resolveViewName(DispatcherServlet.java:1260)
    org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1201)
    org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1005)
    org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:952)
    org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870)
    org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)
    org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
    org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    org.lightadmin.core.web.DispatcherRedirectorServlet.service(DispatcherRedirectorServlet.java:38)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    org.lightadmin.core.view.TilesContainerEnrichmentFilter.doFilterInternal(TilesContainerEnrichmentFilter.java:40)
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:77)
    org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

Looks like there is some compatibility problem with Spring 4 !!
This tool is really helpful.
I need suggestions to make it work..!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant