My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 6: exception when trying to populate context
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by w...@wantii.com, Sep 03, 2009
What steps will reproduce the problem?
1. You can try to build this project - 

http://code.google.com/p/socialsite-mavenized/source/checkout

You will have to also build the apache shindig project before that 
project will build though. 

2. Watch null pointer exception get thrown
 
3. Rejoice

What is the expected output? What do you see instead?

I expect the library to work without throwing NPEs

What version of the product are you using? On what operating system?

I am using the latest version in the maven repos

Please provide any additional information below.

I went ahead and patched it... The simple approach is to not attempt to 
put the object in the Hashtable if it is null, this gets me past my 
problems. But... if you find something better, that's fine. If you think 
the problem is my configuration/setup, you can pull a copy of the project 
above and look in business/src/test/resources and look through the set 
there to let me know what I might have done wrong.
simple-jndi.patch
535 bytes   Download
Sign in to add a comment

Hosted by Google Code