org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor 'public org.sakaiproject.gradebookng.tool.pages.GradebookPage()'. An exception has been thrown during construction!

GitHub | jonespm | 3 months ago
  1. 0

    If some students don't have a course grade and you try to sort, error thrown

    GitHub | 3 months ago | jonespm
    org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor 'public org.sakaiproject.gradebookng.tool.pages.GradebookPage()'. An exception has been thrown during construction!
  2. 0

    Java Null Pointer Exception

    Stack Overflow | 1 month ago | Glitteropia
    java.lang.NullPointerException
  3. 0

    NullPointerException in zscore

    GitHub | 6 years ago | Mirada
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JSP - URL & Parameter Error Logging

    Stack Overflow | 4 years ago | iggyweb
    java.lang.NullPointerException
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at sun.misc.FloatingDecimal.readJavaFormatString()
  2. Java RT
    Double.valueOf
    1. sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1838)
    2. sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
    3. java.lang.Double.parseDouble(Double.java:538)
    4. java.lang.Double.valueOf(Double.java:502)
    4 frames
  3. org.sakaiproject.gradebookng
    GradebookNgBusinessService$CourseGradeComparator.compare
    1. org.sakaiproject.gradebookng.business.GradebookNgBusinessService$CourseGradeComparator.compare(GradebookNgBusinessService.java:2002)
    2. org.sakaiproject.gradebookng.business.GradebookNgBusinessService$CourseGradeComparator.compare(GradebookNgBusinessService.java:1968)
    2 frames
  4. Java RT
    Collections.sort
    1. java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
    2. java.util.TimSort.sort(TimSort.java:234)
    3. java.util.Arrays.sort(Arrays.java:1512)
    4. java.util.ArrayList.sort(ArrayList.java:1454)
    5. java.util.Collections.sort(Collections.java:175)
    5 frames
  5. org.sakaiproject.gradebookng
    GradebookNgBusinessService.buildGradeMatrix
    1. org.sakaiproject.gradebookng.business.GradebookNgBusinessService.buildGradeMatrix(GradebookNgBusinessService.java:985)
    2. org.sakaiproject.gradebookng.business.GradebookNgBusinessService.buildGradeMatrix(GradebookNgBusinessService.java:602)
    2 frames
  6. WICKET_org.sakaiproject.gradebookng
    GradebookNgBusinessService$$FastClassByCGLIB$$86be4ca5.invoke
    1. WICKET_org.sakaiproject.gradebookng.business.GradebookNgBusinessService$$FastClassByCGLIB$$86be4ca5.invoke(<generated>)
    1 frame
  7. IDEA
    MethodProxy.invoke
    1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
    1 frame
  8. Wicket IoC common code
    LazyInitProxyFactory$CGLibInterceptor.intercept
    1. org.apache.wicket.proxy.LazyInitProxyFactory$CGLibInterceptor.intercept(LazyInitProxyFactory.java:333)
    1 frame
  9. WICKET_org.sakaiproject.gradebookng
    GradebookNgBusinessService$$EnhancerByCGLIB$$e6e06d89.buildGradeMatrix
    1. WICKET_org.sakaiproject.gradebookng.business.GradebookNgBusinessService$$EnhancerByCGLIB$$e6e06d89.buildGradeMatrix(<generated>)
    1 frame
  10. org.sakaiproject.gradebookng
    GradebookPage.<init>
    1. org.sakaiproject.gradebookng.tool.pages.GradebookPage.<init>(GradebookPage.java:212)
    1 frame
  11. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    4 frames
  12. Wicket Core
    RequestCycle$HandlerExecutor.respond
    1. org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:175)
    2. org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:67)
    3. org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:133)
    4. org.apache.wicket.core.request.handler.PageProvider.resolvePageInstance(PageProvider.java:268)
    5. org.apache.wicket.core.request.handler.PageProvider.getPageInstance(PageProvider.java:166)
    6. org.apache.wicket.request.handler.render.PageRenderer.getPage(PageRenderer.java:78)
    7. org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:117)
    8. org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:229)
    9. org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
    10. org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:862)
    10 frames
  13. Wicket Request
    RequestHandlerStack.execute
    1. org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
    1 frame
  14. Wicket Core
    WicketServlet.doGet
    1. org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
    2. org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
    3. org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
    4. org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
    5. org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
    6. org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:137)
    6 frames
  15. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    2 frames
  16. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
    2 frames
  17. Sakai Component Manager
    RequestFilter.doFilter
    1. org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:411)
    1 frame
  18. Glassfish Core
    ApplicationDispatcher.forward
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:358)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
    6 frames
  19. org.sakaiproject.tool
    ActiveToolComponent$MyActiveTool.forward
    1. org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:513)
    1 frame
  20. sakai-portal-impl
    SkinnableCharonPortal.doGet
    1. org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1482)
    2. org.sakaiproject.portal.charon.handlers.SiteHandler.doToolBuffer(SiteHandler.java:1154)
    3. org.sakaiproject.portal.charon.handlers.SiteHandler.bufferContent(SiteHandler.java:1010)
    4. org.sakaiproject.portal.charon.handlers.SiteHandler.doSite(SiteHandler.java:484)
    5. org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.java:263)
    6. org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.java:151)
    7. org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:856)
    7 frames
  21. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    2 frames
  22. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
    2 frames
  23. Sakai Component Manager
    RequestFilter.doFilter
    1. org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:460)
    1 frame
  24. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
    2 frames
  25. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  26. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
    8. org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:676)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
    10 frames
  27. Grizzly HTTP
    AprEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
    3. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2500)
    4. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2489)
    4 frames
  28. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    2 frames
  29. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  30. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame