duygu ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3A72ca3bbf-f93e-487b-85d6-2c4f55e48643
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMGI0NTRkZGVlNjYyNGQ4MmFlMjJiMTFlYTIwYjAxZTgiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10747?atlOrigin=eyJpIjoiMGI0NTRkZGVlNjYyNGQ4MmFlMjJiMTFlYTIwYjAxZTgiLCJwIjoiaiJ9
 ) GEOS-10747 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10747?atlOrigin=eyJpIjoiMGI0NTRkZGVlNjYyNGQ4MmFlMjJiMTFlYTIwYjAxZTgiLCJwIjoiaiJ9
 ) While uploading file got 500 Internal Server Error - NullPointerException 
with Rest API ( 
https://osgeo-org.atlassian.net/browse/GEOS-10747?atlOrigin=eyJpIjoiMGI0NTRkZGVlNjYyNGQ4MmFlMjJiMTFlYTIwYjAxZTgiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.19.1 Assignee: Unassigned Created: 
11/Nov/22 4:23 PM Environment:

Geoserver terminal commandline cmd NullPointerException 
DataStoreFileController.updateParameters

Priority: Highest Reporter: duygu ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3A72ca3bbf-f93e-487b-85d6-2c4f55e48643
 )

While i uploading shape file, got error. If you have any suggestions or ideas, 
do not hesitate to share. I'm grateful for even a keyword…
My Command:
*curl -v -u usr:psw -XPUT -H "Content-type: application/zip" --data-binary @ 
myzip.zip* *https:// myGeoserverAdress /geoserver/rest/workspaces/ myworkspaces 
/datastores/ mydatastones /file.shp* ( 
https://devgis.afdelingkust.be/geoserver/rest/workspaces/nautischPortaal/datastores/nautisch/file.shp
 )

</pre><p><b>Root Cause</b></p><pre>java.lang.NullPointerException
       
org.geoserver.rest.catalog.DataStoreFileController.updateParameters(DataStoreFileController.java:644)
       
org.geoserver.rest.catalog.DataStoreFileController.dataStorePut(DataStoreFileController.java:319)
       jdk.internal.reflect.GeneratedMethodAccessor780.invoke(Unknown Source)
       
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       java.base/java.lang.reflect.Method.invoke(Method.java:566)
       
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
       
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
       
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:105)
       
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892)
       
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)

…

User-Agent: curl/7.78.0

Accept: /Content-type: application/zipContent-Length: 229

} [229 bytes data]

Mark bundle as not supporting multiuse< HTTP/1.1 500 Internal Server Error< 
Content-Type: text/html;charset=utf-8< Date: Fri, 11 Nov 2022 14:41:18 GMT< 
Server: nginx/1.23.2< Access-Control-Allow-Origin: *< Content-Language: en< 
Transfer-Encoding: chunked< X-Frame-Options: SAMEORIGIN<{ [3847 bytes data]100 
13195    0 12966  100   229  24971    441 --:--:-- --:--:-- --:--:-- 
25423LoggingFilter.java:101)      
org.geoserver.filters.XFrameOptionsFilter.doFilter(XFrameOptionsFilter.java:77) 
     org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:53)      
org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46)   
   org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:42)      
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
      
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)</pre><p><b>Note</b>
 The full stack trace of the root cause is available in the server logs.</p><hr 
class="line" /><h3>Apache Tomcat/9.0.37</h3></body></html>

( 
https://osgeo-org.atlassian.net/browse/GEOS-10747#add-comment?atlOrigin=eyJpIjoiMGI0NTRkZGVlNjYyNGQ4MmFlMjJiMTFlYTIwYjAxZTgiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10747#add-comment?atlOrigin=eyJpIjoiMGI0NTRkZGVlNjYyNGQ4MmFlMjJiMTFlYTIwYjAxZTgiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100210- 
sha1:583150f )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to