wanjidong / jmesa

Automatically exported from code.google.com/p/jmesa
0 stars 0 forks source link

WorkSheetServlet Errot in jmesa 2.3.3 and over .. #224

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. I have defined WorkSheetServlet in web.xml but when request *.wrk action
and pass throught this servlet fails just at this point of
getWorksheetColumn method :

        logger.info(webContext);
        String property = webContext.getParameter(COLUMN_PROPERTY);
        logger.info("->>>>>" + property);

property is null

2.

3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

i tryed with jmesa 2.3.3 and 2.4.

Please provide any additional information below.

Spring mvc + Spring context + Weblogic 10.0 

the stack trace is :

<14-oct-2009 11H20' CEST> <Error> <HTTP> <BEA-101020>
<[weblogic.servlet.internal.WebAppServletContext@21a86a - appName:
'esqueleto.web', name: 'esqueleto.web', context-path: '/esqueleto.web']
Servlet failed with Exception
java.lang.NullPointerException
        at
WorksheetUpdaterImpl.getWorksheetColumn(WorksheetUpdaterImpl.java:70)
        at WorksheetUpdaterImpl.update(WorksheetUpdaterImpl.java:28)
        at WorksheetServlet.doGet(WorksheetServlet.java:42)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        Truncated. see log file for complete stacktrace
>

Original issue reported on code.google.com by benitez...@gmail.com on 14 Oct 2009 at 9:43

GoogleCodeExporter commented 8 years ago
Thats interesting. The worksheet functionality has had a lot of success and I 
have
not heard of this happening before. 

Lets back up a little...can you see what your JavaScript call looks like? Put a
breakpoint in the jquery.jmesa.js file at the submitWsColumn() method. Does your
property show up there?

You can also use an alert(), but I would recommend using firebug as it makes it
really easy.

Be sure to use the latest JMesa as that makes it much easier for me to help you 
with.

Original comment by jeff.johnston.mn@gmail.com on 14 Oct 2009 at 2:20

GoogleCodeExporter commented 8 years ago

Original comment by jeff.johnston.mn@gmail.com on 20 Oct 2009 at 8:16