Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-149

NPE dans le RuntimeServlet.java lorsque la feature core/runtime.upload est desactivée

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.1.0
    • 1.1.0
    • None
    • None

      Sur la Head. (29/01/2008)

      J'ai desactivé la feature core/runtime.upload. (afin de ne pas avoir un avertissement de configuration non valide :
      The parameter 'runtime.upload.max-size' is not valued. Configuration is not initialized.)

      Une petite NPE (delphine a travailler sur le runtime???) apparait au lancement de la servlet :

      Message: Error while loading servlet. Entering in error mode.
      Location: org.apache.avalon.framework.logger.LogKitLogger.error(LogKitLogger.java:151)
      Thrown:
      java.lang.NullPointerException
      at org.ametys.runtime.servlet.RuntimeServlet.createCocoon(RuntimeServlet.java:158)
      at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:499)

      Ligne 158 de la classe RuntimeServlet#createCocoon :

      long maxUploadSize = Config.getInstance().getValueAsLong("runtime.upload.max-size");

            cedric Cédric Damioli
            edlapoignee Mickael Gerard (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: