Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-7091

FilePageStore throws NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 10.0.0, 9.17.0
    • None
    • None

    Description

      only with Debugbar and with the following Stacktrace

      Caused by: java.lang.NullPointerException: Cannot read the array length because "<local5>" is null
      	at org.apache.wicket.pageStore.FilePageStore.getTotalSize(FilePageStore.java:371)
       ~[wicket-core-9.15.0.jar:9.15.0]
      	at 
      org.apache.wicket.devutils.debugbar.PageStoreDebugPanel$2.getObject(PageStoreDebugPanel.java:80)
       ~[wicket-devutils-9.15.0.jar:9.15.0]
      	at 
      org.apache.wicket.devutils.debugbar.PageStoreDebugPanel$2.getObject(PageStoreDebugPanel.java:73)
       ~[wicket-devutils-9.15.0.jar:9.15.0]
      	at 
      org.apache.wicket.Component.getDefaultModelObject(Component.java:1592) 
      ~[wicket-core-9.15.0.jar:9.15.0] 

      Could be an async Problem

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            renoth Johannes Renoth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: