Wednesday, October 13, 2010

Shooting Pain Between Thumb And Finger

settings by source does not exist in


The message:

javax.servlet.
ServletException: java.lang. StringIndexOutOfBoundsExceptio
n: String index out of range: -1 at

java.lang.String.charAt ( String.java: 687) at
com.genexus.reports.
PDFReportItext.GxDrawText (
Unknown Source) at


arlabsol_impl.webExecute (
arlabsol_impl.java: 37) at

com.genexus. webpanels.
   at arlabsol.doExecute(arlabsol.  java:20)   
     at com.genexus.webpanels.  GXWebObjectStub.callExecute(  Unknown Source)     
   at com.genexus.webpanels.  GXWebObjectStub.doGet(Unknown Source)     
   at javax.servlet.http.  HttpServlet.service(  HttpServlet.java:617)     
   at javax.servlet.http.  HttpServlet.service(  HttpServlet.java:717)   
     at org.apache.catalina.servlets.  InvokerServlet.serveRequest( 
InvokerServlet.java:402)
        at org.apache.catalina.servlets.  InvokerServlet.doGet( 
InvokerServlet.java:134)
       at javax.servlet.http. 
HttpServlet.service(
 HttpServlet.java:617)          at javax.servlet.http. 
HttpServlet.service(
 HttpServlet.java:717)         
at org.apache.catalina.core.
 ApplicationFilterChain.  internalDoFilter(  ApplicationFilterChain.java:  290)     
   at org.apache.catalina.core.  ApplicationFilterChain.  doFilter(  ApplicationFilterChain.java: 
206)
       at org.apache.catalina.core.   StandardWrapperValve.invoke( 
StandardWrapperValve.java:233)
       at org.apache.catalina.core.  StandardContextValve.invoke( 
StandardContextValve.java:191)
       at org.apache.catalina.core.  StandardHostValve.invoke( 
StandardHostValve.java:128)
       at org.apache.catalina.valves.  ErrorReportValve.invoke( 
ErrorReportValve.java:102)
       at org.apache.catalina.core.  StandardEngineValve.invoke(  StandardEngineValve.java:109)   
   at org.apache.catalina.connector.  CoyoteAdapter.service(  CoyoteAdapter.java:286)          
at org.apache.coyote.http11.
 Http11Processor.process(  Http11Processor.java:845)         
at org.apache.coyote.http11.
 Http11Protocol$  Http11ConnectionHandler.  process(Http11Protocol.java:  583)     
   at org.apache.tomcat.util.net.  JIoEndpoint$Worker.run(  JIoEndpoint.java:447)     
   at java.lang.Thread.run(Thread.  java:619)        
 com.genexus.webpanels.  GXWebObjectStub.callExecute(  Unknown Source)  com.genexus.webpanels.  GXWebObjectStub.doGet(Unknown Source)  javax.servlet.http.  HttpServlet.service( 
HttpServlet.java: 617) javax.servlet.http.
 HttpServlet.service ( HttpServlet.java: 717) org.apache.catalina.servlets.  InvokerServlet.serveRequest ( InvokerServlet.java: 402) org.apache.catalina.servlets.  InvokerServlet.doGet (
InvokerServlet.java: 134) javax.servlet.http.
 HttpServlet.service ( HttpServlet.java: 617) javax.servlet.http.  HttpServlet.service ( HttpServlet.java: 717)  
 The Solution:   The problem was because the report has the font Microsoft Sans Serif, it is not supported by Linux, solved the problem, copying the source from windows (C: \\ windows \\ fonts \\ micross.ttf) to linux (/ usr / share / fonts / windowsfonts / micross.ttf), after that there PDFReport.ini to configure the file located under the folder (.../ used tomcat webapps / hostname / WEB-INF / PDFReport . ini)     

0 comments:

Post a Comment