All
Using the model from the Eclipse Web Tools Platform book by Mike Milinkovich, etal., I have created a new GlassFish server adapter plug-in (pages 566 to 580) using Eclipse IDE. This work included the creation of an Ant script to provide publishing capability. This Ant script is an xml file identified in the plug-in project as sjsas.xml.
This work required testing in a second Eclipse instance that includes my new server adapter plug-in and WTP technology.
After I created a simple index.jsp file in a new Dynamic Web Project, I clicked "Run on Server" and selected the newly created GlassFish JavaEE 5 SJSAS PE 9.1 server. The server started up fine as far as I can tell from the console messages, however I got the red stop sign in a pop up dialog box showing me this NPE error. The exact message I get is "Could not publis to the server. java.lang.NullPointerException"
Does anbody have any ideas as to what I may have done wrong? I have attached the sjas.xml Ant script used for publishing for your review. There shouldn't be any copyright issues with this as it is allready printed in the text of the book and is available for download.
Thank you all for your time.
Gary
[Message sent by forum member 'gmarshall56' (gmarshall56)]
http://forums.java.net/jive/thread.jspa?messageID=273554