[Geoserver-devel] [jira] Created: (GEOS-97) Null pointer exception when trying to create new postgis datastore

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=GEOS-97

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: GEOS-97
    Summary: Null pointer exception when trying to create new postgis datastore
       Type: Bug

     Status: Open
   Priority: Major

Original Estimate: Unknown
Time Spent: Unknown
  Remaining: Unknown

    Project: GeoServer
Components:
             Struts
   Fix Fors:
             1.2-beta
   Versions:
             1.2-beta

   Assignee: Richard Gould
   Reporter: Chris Holmes

    Created: Tue, 17 Feb 2004 5:35 PM
    Updated: Tue, 17 Feb 2004 5:35 PM
Environment: Resin, java 1.4.2, windowsXP

Description:
Seems to be that any postgis datastore that I try to enter gives me the same error. I'm currently using parameters of:
DataStore ID local
Enabled: checked
Namespace cdf
Description mine
host localhost
port 5432
database dcmms
user postgres
passwd postgres
charset utf-8

Then I get this:

http://localhost:8080/geoserver/DataConfigDataStoresSubmit.do

500 Servlet Exception

java.lang.NullPointerException
  at org.vfny.geoserver.form.data.DataDataStoresEditorForm.validate(DataDataStoresEditorForm.java:157)
  at org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:942)
  at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
  at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
  at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:165)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
  at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:113)
  at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:190)
  at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:177)
  at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:221)
  at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:262)
  at com.caucho.server.port.TcpConnection.run(TcpConnection.java:315)
  at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:353)
  at com.caucho.util.ThreadPool.run(ThreadPool.java:302)
  at java.lang.Thread.run(Thread.java:534)

---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Might have been me, cause I broke postgis datastores about 30 min ago, will take another 30 min

David

jira@anonymised.com wrote:

Message:

A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=GEOS-97

Here is an overview of the issue:
---------------------------------------------------------------------
       Key: GEOS-97
   Summary: Null pointer exception when trying to create new postgis datastore
      Type: Bug

    Status: Open
  Priority: Major

Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown

   Project: GeoServer
Components: Struts
  Fix Fors:
            1.2-beta
  Versions:
            1.2-beta

  Assignee: Richard Gould
  Reporter: Chris Holmes

   Created: Tue, 17 Feb 2004 5:35 PM
   Updated: Tue, 17 Feb 2004 5:35 PM
Environment: Resin, java 1.4.2, windowsXP

Description:
Seems to be that any postgis datastore that I try to enter gives me the same error. I'm currently using parameters of: DataStore ID local
Enabled: checked
Namespace cdf
Description mine
host localhost port 5432
database dcmms
user postgres
passwd postgres
charset utf-8

Then I get this:

http://localhost:8080/geoserver/DataConfigDataStoresSubmit.do

500 Servlet Exception

java.lang.NullPointerException
at org.vfny.geoserver.form.data.DataDataStoresEditorForm.validate(DataDataStoresEditorForm.java:157)
at org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:942)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:255)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:165)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:113)
at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:190)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:177)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:221)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:262)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:315)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:353)
at com.caucho.util.ThreadPool.run(ThreadPool.java:302)
at java.lang.Thread.run(Thread.java:534)

---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
  http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
  http://www.atlassian.com/software/jira

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel