Jorge
Location : Lima/PERU
Member since : Dec 23, 2003
Messages : 1
|
Dec 23, 2003 at 9:31 PM
Hi everybody
I have a Servlet to create dinamyc graphics from databases.
In Solaris 8 with JDK1.3.1_09 it works fine. So the hardware have a console (Monitor and keyboard) and runs X11 and CDE enviroment.
But, IN AIX 5.1L, my hardware doesn't have Console (Monitor neither keyboard). So, first I'm getting "Can't connect to X11 server" ... I was finding the web and get this Library PJA.
I was setting up the environment as the documentation tells. But when I running the servlet, I get the error:
Disabling platform fonts
400
*** Nombre de myArchivo= ***
<Dec 23, 2003 2:50:36 PM EST> <Error> <HTTP> <101017> <[ServletContext(id=496121
800,name=gestionwebv2,context-path=/gestionwebv2)] Root cause of ServletException
java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java(Compiled Code))
at java.awt.Component.getFontMetrics(Component.java:1934)
at pe.gob.sunat.graficos.ImageServlet.getFontMetrics(ImageServlet.java:41)
at pe.gob.sunat.graficos.bean.BeanGrafica.dibujaCuadrantes(BeanGrafica.java:256)
at pe.gob.sunat.graficos.bean.BeanGrafica.dibujaCuadrantes(BeanGrafica.java:233)
at pe.gob.sunat.graficos.bean.BeanGrafica.createBarChart(BeanGrafica.java:513)
I would appreciate your support.
Jorge
PD: I'm running in AIX 5.1L with IBM JDK 1.3.1 and WebLogic Server 7.0 SP4
|