Hi guys,

I am trying to write unit tests for my download and upload which are
using BlobstoreService.

    private LocalBlobstoreServiceTestConfig config = new
LocalBlobstoreServiceTestConfig();
    @Before
    public void setUp() throws Exception {
        config.setUp();
    }
    @After
    public void tearDown() throws Exception {
        config.tearDown();
    }

When I run the tests it throws the NullPointerExceptions below. Am I
missing something?
By the way where can I get the source code for the all the app engine
jars? It is not on the public maven repository.

Thanks in advance!
Lucho

java.lang.NullPointerException
        at
com.google.appengine.tools.development.testing.LocalBlobstoreServiceTestConfig.setUp(LocalBlobstoreServiceTestConfig.java:
52)
        at
org.bitbucket.cursodeconducir.fileupload.BlobServeTest.setUp(BlobServeTest.java:
26)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        .....

java.lang.NullPointerException
        at
com.google.appengine.tools.development.testing.LocalServiceTestHelper.getLocalService(LocalServiceTestHelper.java:
438)
        at
com.google.appengine.tools.development.testing.LocalBlobstoreServiceTestConfig.getLocalBlobstoreService(LocalBlobstoreServiceTestConfig.java:
68)
        at
com.google.appengine.tools.development.testing.LocalBlobstoreServiceTestConfig.tearDown(LocalBlobstoreServiceTestConfig.java:
64)
        at
org.bitbucket.cursodeconducir.fileupload.BlobServeTest.tearDown(BlobServeTest.java:
36)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to