java.lang.NullPointerException

Apereo Issues | Nick Lothian | 1 decade ago
  1. 0

    I followed the instructions at http://www.uportal.org/implementors/portlets/workingWithPortlets.html to deploy a portlet. I found, however, that the deployment tool gave errors when my web.xml included <env-entry>'s. The error was: [java] Preparing web archive 'epass' ... [java] java.lang.NullPointerException [java] at org.jasig.portal.container.binding.WebApplicationUnmarshaller.getEnvEntries(WebApplicationUnmarshaller.java:562) [java] at org.jasig.portal.container.binding.WebApplicationUnmarshaller.getWebApplicationDefinition(WebApplicationUnmarshaller.java:154) [java] at org.jasig.portal.container.deploy.Deployer.prepareWebArchive(Deployer.java:169) [java] at org.jasig.portal.container.deploy.Deployer.main(Deployer.java:413) [java] java.lang.Exception [java] at org.jasig.portal.container.deploy.Deployer.prepareWebArchive(Deployer.java:338) [java] at org.jasig.portal.container.deploy.Deployer.main(Deployer.java:413) My env-entry section was: <env-entry> <env-entry-name>ecseserver/host</env-entry-name> <env-entry-value>nl</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> <env-entry> <env-entry-name>ecseserver/port</env-entry-name> <env-entry-value>4444</env-entry-value> <env-entry-type>java.lang.Integer</env-entry-type> </env-entry> <env-entry> <env-entry-name>ecseserver/secure</env-entry-name> <env-entry-value>false</env-entry-value> <env-entry-type>java.lang.Boolean</env-entry-type> </env-entry> <env-entry> <env-entry-name>epass/fund</env-entry-name> <env-entry-value>STATEFUND</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> <env-entry> <env-entry-name>epass/integration</env-entry-name> <env-entry-value>Java</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> <env-entry> <env-entry-name>ecseserver/erpurl</env-entry-name> <env-entry-value>/erp/</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> <env-entry> <env-entry-name>epass/dbserver</env-entry-name> <env-entry-value>cub</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> <env-entry> <env-entry-name>epass/database</env-entry-name> <env-entry-value>epass_fd_dev_2_x_cm</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> <env-entry> <env-entry-name>epass/usessl</env-entry-name> <env-entry-value>false</env-entry-value> <env-entry-type>java.lang.Boolean</env-entry-type> </env-entry> <env-entry> <env-entry-name>epass/sslport</env-entry-name> <env-entry-value>443</env-entry-value> <env-entry-type>java.lang.Integer</env-entry-type> </env-entry> <env-entry> <env-entry-name>epass/loglevel</env-entry-name> <env-entry-value>error</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry>

    Apereo Issues | 1 decade ago | Nick Lothian
    java.lang.NullPointerException
  2. 0

    I followed the instructions at http://www.uportal.org/implementors/portlets/workingWithPortlets.html to deploy a portlet. I found, however, that the deployment tool gave errors when my web.xml included <env-entry>'s. The error was: [java] Preparing web archive 'epass' ... [java] java.lang.NullPointerException [java] at org.jasig.portal.container.binding.WebApplicationUnmarshaller.getEnvEntries(WebApplicationUnmarshaller.java:562) [java] at org.jasig.portal.container.binding.WebApplicationUnmarshaller.getWebApplicationDefinition(WebApplicationUnmarshaller.java:154) [java] at org.jasig.portal.container.deploy.Deployer.prepareWebArchive(Deployer.java:169) [java] at org.jasig.portal.container.deploy.Deployer.main(Deployer.java:413) [java] java.lang.Exception [java] at org.jasig.portal.container.deploy.Deployer.prepareWebArchive(Deployer.java:338) [java] at org.jasig.portal.container.deploy.Deployer.main(Deployer.java:413) My env-entry section was: <env-entry> <env-entry-name>ecseserver/host</env-entry-name> <env-entry-value>nl</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> <env-entry> <env-entry-name>ecseserver/port</env-entry-name> <env-entry-value>4444</env-entry-value> <env-entry-type>java.lang.Integer</env-entry-type> </env-entry> <env-entry> <env-entry-name>ecseserver/secure</env-entry-name> <env-entry-value>false</env-entry-value> <env-entry-type>java.lang.Boolean</env-entry-type> </env-entry> <env-entry> <env-entry-name>epass/fund</env-entry-name> <env-entry-value>STATEFUND</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> <env-entry> <env-entry-name>epass/integration</env-entry-name> <env-entry-value>Java</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> <env-entry> <env-entry-name>ecseserver/erpurl</env-entry-name> <env-entry-value>/erp/</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> <env-entry> <env-entry-name>epass/dbserver</env-entry-name> <env-entry-value>cub</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> <env-entry> <env-entry-name>epass/database</env-entry-name> <env-entry-value>epass_fd_dev_2_x_cm</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> <env-entry> <env-entry-name>epass/usessl</env-entry-name> <env-entry-value>false</env-entry-value> <env-entry-type>java.lang.Boolean</env-entry-type> </env-entry> <env-entry> <env-entry-name>epass/sslport</env-entry-name> <env-entry-value>443</env-entry-value> <env-entry-type>java.lang.Integer</env-entry-type> </env-entry> <env-entry> <env-entry-name>epass/loglevel</env-entry-name> <env-entry-value>error</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry>

    Apereo Issues | 1 decade ago | Nick Lothian
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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 org.jasig.portal.container.binding.WebApplicationUnmarshaller.getEnvEntries()
    2. org.jasig.portal
      Deployer.main
      1. org.jasig.portal.container.binding.WebApplicationUnmarshaller.getEnvEntries(WebApplicationUnmarshaller.java:562)
      2. org.jasig.portal.container.binding.WebApplicationUnmarshaller.getWebApplicationDefinition(WebApplicationUnmarshaller.java:154)
      3. org.jasig.portal.container.deploy.Deployer.prepareWebArchive(Deployer.java:169)
      4. org.jasig.portal.container.deploy.Deployer.main(Deployer.java:413)
      4 frames