users@glassfish.java.net

Re: Java.lang.NPE when publishing simp JSP using GlassFish JavaEE 5 SJSAS PE9.1

From: Rochelle Raccah <Rochelle.Raccah_at_Sun.COM>
Date: Fri, 09 May 2008 15:55:21 -0700

Hi,

Have you seen the glassfish server adapter that we have available for
download? You should be able to get it from inside Eclipse, and if you
want to see the source code you can look at
<https://glassfishplugins.dev.java.net/source/browse/glassfishplugins/eclipse-support/>.
  If you'd like to join us in developing and improving this plugin, we
would welcome your help!

As for the NPE, please check your Eclipse version and see if it's this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=219627

Thanks,
Rochelle

glassfish_at_javadesktop.org wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>