Issue Details (XML | Word | Printable)

Key: GEOS-2926
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Justin Deoliveira
Reporter: Ronak Patel
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
GeoServer

Unable to POST Coverages to CoverageStore

Created: 20/Apr/09 02:50 PM   Updated: 05/Dec/09 01:51 PM   Resolved: 01/Jun/09 07:43 PM
Return to search
Component/s: REST
Affects Version/s: 1.7.3
Fix Version/s: 1.7.5

Time Tracking:
Not Specified

File Attachments: 1. Text File Geoserver-users REST Configuration API - 1.txt (24 kB)
2. Text File Geoserver-users REST Configuration API - 2.txt (23 kB)
3. Text File Geoserver-users REST Configuration API - 3.txt (9 kB)
4. File gt-main (0.6 kB)
5. File gt-restconfig (2 kB)



 Description  « Hide

Multiple exceptions and errors occur while trying to upload GeoTiffs and JPEG/PNG files to Geoserver for staging.

When uploading JPEG/PNG files, I get an error back:

Unsupported File Format (I am uploading as a file.worldimage as per the documentation)

When uploading a GeoTiff, I get the stack trace that is covered in my conversations with Justin. A note that this occurs even the first time that a coverage is uploaded. NullPointerException is always thrown.

This seems related to the shapefile problem as well.



Ronak Patel added a comment - 20/Apr/09 08:23 PM

I was able to remotely debug this problem with Justin's help and found the location of and solutions to some of the bugs that were causing these problems.

I would like to contribute the bug fix back to the community.


Andrea Aime made changes - 21/Apr/09 01:45 AM
Field Original Value New Value
Assignee Andrea Aime [ aaime ] Justin Deoliveira [ jdeolive ]
Andrea Aime added a comment - 21/Apr/09 01:46 AM

The best way is to attach a patch to this issue. That's the way other developers get to know your work. If you keep posting good quality patches devs will eventually give you commit access (in the OS community commit access is a matter of building trust).


Ronak Patel added a comment - 21/Apr/09 12:12 PM

Patch against 1.7.3a version of Geoserver.

I saw that the code was written to replace or save a coverage based on the fact that a coverage store existed before or not.

I have modified the code so that coverages are updated and the catalog is properly kept in sync.

Please verify.


Ronak Patel made changes - 21/Apr/09 12:12 PM
Attachment gt-restconfig [ 41507 ]
Attachment gt-main [ 41506 ]
Arne Kepp made changes - 28/Apr/09 04:19 PM
Fix Version/s 1.7.4 [ 14787 ]
Fix Version/s 1.7.5 [ 14788 ]
Justin Deoliveira added a comment - 01/Jun/09 07:43 PM

Thanks for the patch Ronak, I modified a bit before committing but the end result should be the same. If you could update your checkout of 1.7.x and try it out that would be much appreciated.


Justin Deoliveira made changes - 01/Jun/09 07:43 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Ronak Patel added a comment - 02/Jun/09 11:07 PM

I'm currently attending JavaOne so I will get to this next week.

Do you have any idea when Geoserver 1.7.5 will be released?

Will these patches be carried over to Geoserver 2.x??


Justin Deoliveira added a comment - 03/Jun/09 11:51 AM

1.7.5 should be out next week some time. And yes, these patches will be ported to 2.x. Have fun at JavaOne!


Andrea Aime made changes - 05/Dec/09 01:51 PM
Status Resolved [ 5 ] Closed [ 6 ]