maheshwarirohit87 / typica

Automatically exported from code.google.com/p/typica
Apache License 2.0
0 stars 0 forks source link

NullPointerException in Jec2.terminateInstances(List<String>) #105

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using typica 1.7.2 with Eucalyptus 1.6.2 and am getting a 
NullPointerException in Jec2.terminateInstances(List<String>) when I call it 
with a List with one instance ID.  I downloaded the source and did some 
debugging and it looks like rsp_item.getCurrentState() is returning null.

I suspect this is actually a bug in Eucalyptus as the stuff that's returned 
from isn't always correct.  Is it possible to have 
InstanceStateChangeType.currentState and InstanceStateChangeType.previousState 
initialized to the empty String instead of null?  I couldn't actually find the 
class InstanceStateChangeType in the source but it looks like it's generated 
from ec2.xsd.

Original issue reported on code.google.com by everett....@gmail.com on 9 Sep 2010 at 9:14

GoogleCodeExporter commented 9 years ago
Yep, it's a Eucalyptus problem.  I just tried it on AWS and it works fine.

Original comment by everett....@gmail.com on 9 Sep 2010 at 9:22

GoogleCodeExporter commented 9 years ago
Tried it with Eucalyptus 2.0.0 and am still getting the same 
NullPointerException so no fix on the Eucalyptus side.

Original comment by everett....@gmail.com on 14 Sep 2010 at 9:08