Forum Discussion
myLogin_24886
Nimbostratus
Oct 16, 2007Need help on CreateParition error....
Hi
Follwoing code throwing Null Pointer Exception when I try to run it
// Create partition
void createPartition() throws Exception
{
iControl.ManagementPartitionAuthZPartition partition = new
iControl.ManagementPartitionAuthZPartition();
partition.setDescription("Customer 1 Partition");
partition.setPartition_name("Customer1");
iControl.ManagementPartitionAuthZPartition[] partitions = {partition};
m_partition.create_partition(partitions);
System.out.println(" Partition created sucessfully ");
}
- I don't see anything wrong with the code. Is the Null Pointer Exception on the client side before the SOAP request is made or it an iControl exception returned from the server in a SOAP Fault?
- myLogin_24886
Nimbostratus
Thanks for pointing out. It was my mistack I didn't initilized the - Great! It's funny how often it turns out the source of issues are not really what it seems...
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects