Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2006 23:48:42 -0400
From:      "Marc G. Fournier" <scrappy@freebsd.org>
To:        freebsd-java@freebsd.org
Subject:   java.lang.NullPointerException: java.lang.String.getBytes(String.java:811)
Message-ID:  <7F8F7B7A846E2FF96F7B55F3@ganymede.hub.org>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hate to ask when I don't believe I have near enough information, but my 
knowledge o Java is so small that I don't even know where to begin debugging ...

Have a client running an application, that, when run on an older FreeBSD 4.x 
machine, with jdk from ports, ran great ...

Recently, upgraded them to FreeBSD 6.x, with Diablo, and from a 32bit server to 
a 64bit server, and now whenever they submit certain forms on the site, it 
generates the following error:

java.lang.NullPointerException
	java.lang.String.getBytes(String.java:811)
	org.dataisland.wrapper.servlet.HttpServletWrapper.streamDocument(HttpServletWrapper.java:346)
	org.dataisland.wrapper.servlet.HttpServletWrapper.serveDataIsland(HttpServletWrapper.java:316)
	org.dataisland.wrapper.servlet.HttpServletWrapper.service(HttpServletWrapper.java:277)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	org.opencommerce.iface.servlet.filter.Secure.doFilter(Secure.java:64)

The site *appears* to work fine otherwise ... its an e-commerce site, and I can 
add products to my shopping cart, search the database, etc ... but, for 
instance, if I try to update my profile, or they try and update prices, the 
above happens ...

Can someone suggest what, if anything, I can do to debug this a bit more 
intelligently?

Thanks ..


- ----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappy@hub.org                              MSN . scrappy@hub.org
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD4DBQFFh2Ea4QvfyHIvDvMRAkwcAJUWlJ2BJwPiCSAJyejiwM7+/cRkAJ4ltcH7
CSsBMrwm9y9o4qJiIKPy+A==
=M9q+
-----END PGP SIGNATURE-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7F8F7B7A846E2FF96F7B55F3>