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 | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 3246#241631183

    GitHub | 8 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

    Cannot format given Object as a Number ComboBox

    Stack Overflow | 2 years ago | Seng
    java.lang.IllegalArgumentException: Cannot format given Object as a Number
  3. 0

    Changing Decimal Format of a double value in Java

    Stack Overflow | 2 years ago | tenten
    java.lang.IllegalArgumentException: Cannot format given Object as a Number
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Formatting Given Object as Number

    Stack Overflow | 1 year ago | Mecroth
    java.lang.IllegalArgumentException: Cannot format given Object as a Number
  6. 0

    Ideone.com - DfGWEQ - Online Java Compiler & Debugging Tool

    ideone.com | 1 year ago
    java.lang.IllegalArgumentException: Cannot format given Object as a Number
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.IllegalArgumentException

    Cannot format given Object as a Number

    at java.text.DecimalFormat.format()
  2. Java RT
    Format.format
    1. java.text.DecimalFormat.format(DecimalFormat.java:507)
    2. java.text.Format.format(Format.java:157)
    2 frames
  3. org.sakaiproject.gradebookng
    GradebookNgBusinessService.buildGradeMatrix
    1. org.sakaiproject.gradebookng.business.util.FormatHelper.formatDoubleToTwoDecimalPlaces(FormatHelper.java:30)
    2. org.sakaiproject.gradebookng.business.util.FormatHelper.formatDoubleAsPercentage(FormatHelper.java:41)
    3. org.sakaiproject.gradebookng.business.util.CourseGradeFormatter.build(CourseGradeFormatter.java:130)
    4. org.sakaiproject.gradebookng.business.util.CourseGradeFormatter.format(CourseGradeFormatter.java:76)
    5. org.sakaiproject.gradebookng.business.GradebookNgBusinessService.buildGradeMatrix(GradebookNgBusinessService.java:649)
    6. org.sakaiproject.gradebookng.business.GradebookNgBusinessService.buildGradeMatrix(GradebookNgBusinessService.java:563)
    6 frames
  4. WICKET_org.sakaiproject.gradebookng
    GradebookNgBusinessService$$FastClassByCGLIB$$86be4ca5.invoke
    1. WICKET_org.sakaiproject.gradebookng.business.GradebookNgBusinessService$$FastClassByCGLIB$$86be4ca5.invoke(<generated>)
    1 frame
  5. IDEA
    MethodProxy.invoke
    1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
    1 frame
  6. Wicket IoC common code
    LazyInitProxyFactory$CGLibInterceptor.intercept
    1. org.apache.wicket.proxy.LazyInitProxyFactory$CGLibInterceptor.intercept(LazyInitProxyFactory.java:333)
    1 frame
  7. WICKET_org.sakaiproject.gradebookng
    GradebookNgBusinessService$$EnhancerByCGLIB$$ad7ec9a4.buildGradeMatrix
    1. WICKET_org.sakaiproject.gradebookng.business.GradebookNgBusinessService$$EnhancerByCGLIB$$ad7ec9a4.buildGradeMatrix(<generated>)
    1 frame
  8. org.sakaiproject.gradebookng
    GradebookPage.<init>
    1. org.sakaiproject.gradebookng.tool.pages.GradebookPage.<init>(GradebookPage.java:212)
    1 frame
  9. Java RT
    Constructor.newInstance
    1. sun.reflect.GeneratedConstructorAccessor706.newInstance(Unknown Source)
    2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    3. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    3 frames
  10. 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
  11. Wicket Request
    RequestHandlerStack.execute
    1. org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
    1 frame
  12. 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
  13. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    2 frames
  14. 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
  15. Sakai Component Manager
    RequestFilter.doFilter
    1. org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:406)
    1 frame
  16. 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
  17. org.sakaiproject.tool
    ActiveToolComponent$MyActiveTool.forward
    1. org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:513)
    1 frame
  18. sakai-portal-impl
    SkinnableCharonPortal.doGet
    1. org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1459)
    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:835)
    7 frames
  19. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    2 frames
  20. 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
  21. Sakai Component Manager
    RequestFilter.doFilter
    1. org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:467)
    1 frame
  22. 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
  23. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    1 frame
  24. 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
  25. 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
  26. 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
  27. Tomcat Util
    TaskThread$WrappingRunnable.run
    1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    1 frame
  28. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame