Re: [gx-l] Consulta Web / Excel

Tienes instalada la libreria jakarta poi?


From: Aldo Ortiz Valenzuela <aortiz@ecomac.cl>
Date: Wed, 21 Nov 2012 11:15:05 -0300
To: (gx-l@gxtech.com.uy)<gx-l@gxtech.com.uy>
ReplyTo: gx-l@gxtech.com.uy
Subject: [gx-l] Consulta Web / Excel

Amigos,

 

Tengo una aplicación Web Gx 9.0 con .Net y desde un web panel quiero cargar unos datos en un excel que tengo, pero al ejecutar el procedimiento que lea y grabe en el excel me arroja el siguiente error :

 

Server Error in '/Simuladores' Application.

--------------------------------------------------------------------------------

 

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

 

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

 

Source Error:

 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

 

Stack Trace:

 

 

[NullReferenceException: Object reference not set to an instance of an object.]

   GeneXus.Office.GxExcelUtils.GetPropValue(Object instante, String property) +8

   GeneXus.Office.ExcelLite.ExcelCells..ctor(IGxError errAccess, Object ef, Int32 row, Int32 col, Int32 height, Int32 width) +43

   GeneXus.Office.ExcelLite.ExcelDocument.get_Cells(Int32 Row, Int32 Col, Int32 Height, Int32 Width) +51

   GeneXus.Office.ExcelDocumentI.get_Cells(Int32 Row, Int32 Col, Int32 Height, Int32 Width) +48

   GeneXus.Programs.ptraecae.executePrivate() +79

   GeneXus.Programs.hwbp01.EVT1Q2() +982

   GeneXus.Programs.hwbp01.webExecute() +186

   GeneXus.Http.GXHttpHandler.ProcessRequest(HttpContext httpContext)

 

[Exception: GXApplication exception]

   GeneXus.Http.GXHttpHandler.ProcessRequest(HttpContext httpContext)

   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +179

   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87

 

 

0 Response to "Re: [gx-l] Consulta Web / Excel"

Publicar un comentario