SUMMARY
-------
I get a NullPointerException (for web XML validation) immediately upon
launching the new 1.3.1 GAE/J development server.



WHAT STEPS WILL REPRODUCE THE PROBLEM?
--------------------------------------
I have installed the latest GAE/J SDK and adjusted my web app to point
to the new SDK version (I have renamed the root folder of the previous
SDK version from "appengine-java-sdk-1.3.0" to "appengine-java-
sdk-1.3.0 - delete me" in order to catch any build and class path
change omissions).

I build my app and then launch the dev server.



WHAT IS THE EXPECTED OUTPUT?
----------------------------
I get the following output when I launch the old 1.3.0 GAE/J dev
server on my Microsoft Windows command prompt window before any
browser activity is made is:

  C:\Program Files\Google\App Engine\appengine-java-sdk-1.3.0 - delete
me\bin>dev_appserver.cmd "\[...]\war"

  ********************************************************
  There is a new version of the SDK available.
  -----------
  Latest SDK:
  Release: 1.3.1
  Timestamp: Mon Feb 08 23:00:41 GMT 2010
  API versions: [1.0]

  -----------
  Your SDK:
  Release: 1.3.0
  Timestamp: Mon Dec 14 18:47:37 GMT 2009
  API versions: [1.0]

  -----------
  Please visit http://code.google.com/appengine for the latest SDK.
  ********************************************************

  WARNING: The application mode is "WicketDevelopment_GAEDevelopment".
  ********************************************************************
  *** WARNING: Wicket is running in DEVELOPMENT mode.              ***
  ***                               ^^^^^^^^^^^                    ***
  *** Do NOT deploy to your live server(s) without changing this.  ***
  *** See Application#getConfigurationType() for more information. ***
  ********************************************************************
  The server is running at http://localhost:8080/


(and my web app will now serve web pages). (The warnings are specific
to my app and are OK; they disappear when I reconfigure and rebuild
before deployment to production.)



WHAT OUTPUT DO YOU SEE INSTEAD?
-------------------------------
I build my app, launch the dev server, and get the following output on
my Microsoft Windows command prompt window before any browser activity
is made:

  C:\Program Files\Google\App Engine\appengine-java-
sdk-1.3.1\bin>dev_appserver.cmd "\[...]\war"

  java.lang.NullPointerException
        at
com.google.apphosting.utils.config.WebXml.validate(WebXml.java:114)
        at
com.google.appengine.tools.development.AbstractContainerService.loadAppEngineWebXml(AbstractContainerService.java:
242)
        at
com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:
145)
        at
com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:
219)
        at com.google.appengine.tools.development.DevAppServerMain
$StartAction.apply(DevAppServerMain.java:162)
        at com.google.appengine.tools.util.Parser
$ParseResult.applyArgs(Parser.java:48)
        at
com.google.appengine.tools.development.DevAppServerMain.<init>(DevAppServerMain.java:
113)
        at
com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:
89)

  C:\Program Files\Google\App Engine\appengine-java-sdk-1.3.1\bin>



WHAT VERSION OF THE PRODUCT ARE YOU USING? ON WHAT OPERATING SYSTEM?
--------------------------------------------------------------------
GAE/J version: 1.3.1
JDO version:   1.1.5  (to conform to that used in the latest GAE/J
SDK)

Web application framework: Apache Wicket 1.4.6

NetBeans development, build and run environment:
  Product Version: NetBeans IDE 6.7.1 (Build 200907230233)
  Java: 1.6.0_18; Java HotSpot(TM) Client VM 16.0-b13
  System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)

Web browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:
1.9.1.7) Gecko/20091221 Firefox/3.5.7

Operating system: Microsoft Windows XP Home Edition Version 2002
Service Pack 3



ADDITIONAL INFORMATION AND CONCLUSION
-------------------------------------
I have not changed the application code or its configuration except to
amend build and class paths to point to the new GAE/J SDK folders and
files.

I presume that I have done, or omitted to do, something silly, so I
ask for comments rather than posting an issue directly. Can anyone
give me any pointers as to what I am doing wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to