apcj/data-generator — Issue #1: NullPointerException on putObject in production
Author: JohnIdol
Created: 2011-12-03 00:07:42+00:00
State: open

Everything seems to work OK locally on the app engine dev server - but once deployed even though the file is uploaded correctly into the S3 bucket, AmazonS3.putObject throws a NullPointerException.

Invoked as follows:

s3.putObject(new PutObjectRequest(buckets.get(0).getName(), fileName, stream, new ObjectMetadata()));