ConcourseSuite Support

Support
Corporate
PUBLIC PROFILE

Back to topics

Discuss Administration

Error adding "US State List" field to a Custom Folder

You need to be logged in to post messages

Error adding "US State List" field to a Custom Folder

1/29/2008 4:07 PM EST

Hello Lorraine and company,

I'm working on creating a custom folder and I'm encountering a problem creating a field of type "US State List". I see the same problem whether I do it on the Accounts module or the Contacts module. I can create "Text" fields just fine. I'm using CS5 Community Edition on Debian "testing" with Tomcat 5.5.25, Sun JVM 1.6.0-b105 and PostgreSQL 8.2.6

The error is a "The included page caused a problem." error that I get when I click on "Save" and two identical Null Pointer Exceptions are logged in the log file. Here is one of them:

ERROR [org.apache.catalina.core.ApplicationDispatcher] [29 Jan 2008 15:56:26,183] - Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at org.aspcfs.controller.SystemStatus.getLabel(Unknown Source)
at org.aspcfs.utils.web.StateSelect.getHtmlSelect(Unknown Source)
at org.aspcfs.modules.base.CustomField.getHtmlElement(Unknown Source)
at org.apache.jsp.admin.admin_005ffields_005fgroups_005flist_jsp._jspService(admin_005ffields_005fgroups_005flist_jsp.java:1139)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:594)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:505)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:965)
at org.apache.jsp.templates.template1nav_jsp._jspService(template1nav_jsp.java:1013)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at com.darkhorseventures.framework.servlets.ControllerServlet.forward(Unknown Source)
at com.darkhorseventures.framework.servlets.ControllerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:691)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at com.darkhorseventures.framework.servlets.ControllerServlet.forward(Unknown Source)
at com.darkhorseventures.framework.servlets.ControllerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)

Does anybody have any idea of what the problem is? Thank you very much!

Jason

1. 1/30/2008 12:01 PM EST

Hi everyone,

FYI, a workaround for this (which seems to be non-English-friendly) is to comment out a few lines in StateSelect.java as follows:

// if (systemStatus != null)
// stateSelect.addItem("-1", systemStatus.getLabel("calendar.none.4dashes"));
// } else
stateSelect.addItem("-1", "-- None --");
// }

A better solution would be preferred =) Thanks for any help!

~Tom

1 result found