<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/vijava/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/vijava/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/vijava/bugs/</id><updated>2013-11-13T17:02:07.538000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Missing &amp; for multiple key/value pairs in RestClient.java</title><link href="https://sourceforge.net/p/vijava/bugs/154/" rel="alternate"/><published>2013-11-13T17:02:07.538000Z</published><updated>2013-11-13T17:02:07.538000Z</updated><author><name>Steve</name><uri>https://sourceforge.net/u/sjin2008/</uri></author><id>https://sourceforge.net40c472b03239f6dfb6fe8d85b3efe7f2c701bcbd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In RestClient.java, the line 188 should have &amp;amp; for multiple key/value pairs.&lt;/p&gt;
&lt;p&gt;out.write(key + "=" + value);&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>TerminateVM is missing</title><link href="https://sourceforge.net/p/vijava/bugs/153/" rel="alternate"/><published>2012-12-08T03:46:35Z</published><updated>2012-12-08T03:46:35Z</updated><author><name>Corey Osman</name><uri>https://sourceforge.net/u/logicminds/</uri></author><id>https://sourceforge.net6370082a207e812a799316e04fc69fe21ca0c2a5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The call to the vSphere API looks to be already present but the wrapper code in the virtual machine object is lacking the terminateVM method.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;found in 5.1-beta&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Can't get object from CacheInstance</title><link href="https://sourceforge.net/p/vijava/bugs/152/" rel="alternate"/><published>2012-11-14T07:32:44Z</published><updated>2012-11-14T07:32:44Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netbb4d04c86891d00cf0c0295b9b19194ff7185bee</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In vijava-51b20120923, when running CacheFrameworkSample (I modified connection URL of ServiceInstance),  it can't get object from CacheInstance.&lt;br /&gt;
Getter method of CacheInstance returns null.&lt;br /&gt;
I think that's why ManagedObjectReference not implement equals() and hashCode() method fails to get the object, because MOR is key of ConcurrentHashMap that is member of ManagedObjectCache named 'items'.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MethodFault is missing fault string</title><link href="https://sourceforge.net/p/vijava/bugs/151/" rel="alternate"/><published>2012-10-24T04:43:53Z</published><updated>2012-10-24T04:43:53Z</updated><author><name>Eric P. Forgette</name><uri>https://sourceforge.net/u/e4jet/</uri></author><id>https://sourceforge.net8b92134adafff133d8d6ce196e2d585e31fc94ea</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey Steve,&lt;/p&gt;
&lt;p&gt;Its been awhile.  =)&lt;/p&gt;
&lt;p&gt;I came across an issue with 5.0 today.  The fault string isn't making it into the MethodFault (or those classes that extend it).  In XmlGen.parseSoapFault(...) the following is done to populate the Throwable that ultimately is cast to a RemoteException:&lt;/p&gt;
&lt;p&gt;sfe.detail = (Throwable) fromXml(getVimClass(faultTypeName), faultE);&lt;/p&gt;
&lt;p&gt;To get the fault string into the Throwable, I whipped up the following fix:&lt;/p&gt;
&lt;p&gt;Object throwable = fromXml(getVimClass(faultTypeName), faultE);&lt;br /&gt;
if (throwable instanceof MethodFault) {&lt;br /&gt;
MethodFault mf = (MethodFault) throwable;&lt;br /&gt;
LocalizedMethodFault lmf = new LocalizedMethodFault();&lt;br /&gt;
lmf.fault = mf;&lt;br /&gt;
lmf.localizedMessage = sfe.getFaultString();&lt;br /&gt;
mf.faultCause = lmf;&lt;br /&gt;
}&lt;br /&gt;
sfe.detail = (Throwable) throwable;&lt;/p&gt;
&lt;p&gt;Obviously we could reduce this a bit by adding a constructor to LocalizedMethodFault that takes the fault reference and localized message as well.&lt;/p&gt;
&lt;p&gt;As always, thanks for considering this.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
-Eric&lt;br /&gt;
----&lt;br /&gt;
Eric Forgette&lt;br /&gt;
Nimble Storage&lt;br /&gt;
&lt;a href="http://www.nimblestorage.com/" rel="nofollow"&gt;http://www.nimblestorage.com/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Can't get VirtualAppSummary from VirtualApp</title><link href="https://sourceforge.net/p/vijava/bugs/150/" rel="alternate"/><published>2012-10-10T00:53:53Z</published><updated>2012-10-10T00:53:53Z</updated><author><name>Lei</name><uri>https://sourceforge.net/u/coku2015/</uri></author><id>https://sourceforge.netccde0676985aaf1134c8295eab1885876895387b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In vijava50120120518, when using getter method to get summary from a VirtualApp, it can't go to extended class VirtualAppSummary. In VirutalApp.java, it should be added a override getSummary method to reach VirtualAppSummary.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;public&lt;/span&gt; &lt;span class="n"&gt;VirtualAppSummary&lt;/span&gt; &lt;span class="n"&gt;getSummary&lt;/span&gt;&lt;span class="o"&gt;\&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;\&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="o"&gt;\&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="o"&gt;\&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;VirtualAppSummary&lt;/span&gt;&lt;span class="o"&gt;\&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;getCurrentProperty&lt;/span&gt;&lt;span class="o"&gt;\&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&amp;quot;&lt;span class="n"&gt;summary&lt;/span&gt;&amp;quot;&lt;span class="o"&gt;\&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="o"&gt;\&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</summary></entry><entry><title>queryVmfsDatastoreCreateOptions causing NullPointerException</title><link href="https://sourceforge.net/p/vijava/bugs/149/" rel="alternate"/><published>2012-10-03T01:38:26Z</published><updated>2012-10-03T01:38:26Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netacde5dc0e13735aa462ea706298bca61b8dea1ed</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In vijava 51b20120923, the HostDatastoreSystem.queryVmfsDatastoreCreateOptions(ManagedObjectReference _this, String devicePath) method is getting a NullPointerException when it is invoked.  I believe I've traced the failure back to a supect area.  In VimStub.java, the Argument[] array is set to a size of 3.  Should it be a size of 2 since this method signature is the one with only two parameters.  Note:  vijava 5.0 creates an Argument[] array size of 2 for this method signature.&lt;/p&gt;
&lt;p&gt;public VmfsDatastoreOption[] queryVmfsDatastoreCreateOptions(ManagedObjectReference _this, String devicePath) throws java.rmi.RemoteException, NotFound, HostConfigFault, RuntimeFault {&lt;br /&gt;
Argument[] paras = new Argument[3];         // Should the size of this array be 2?&lt;br /&gt;
paras[0] = new Argument("_this", "ManagedObjectReference", _this);&lt;br /&gt;
paras[1] = new Argument("devicePath", "String", devicePath);&lt;br /&gt;
return (VmfsDatastoreOption[]) wsc.invoke("QueryVmfsDatastoreCreateOptions", paras, "VmfsDatastoreOption[]");&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>queryVmfsDatastoreCreateOptions causing NullPointerException</title><link href="https://sourceforge.net/p/vijava/bugs/148/" rel="alternate"/><published>2012-10-02T21:36:00Z</published><updated>2012-10-02T21:36:00Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net55d76f0f06651e1b373d06992adf1a04e352734a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In vijava 51b20120923, the HostDatastoreSystem.queryVmfsDatastoreCreateOptions(ManagedObjectReference _this, String devicePath) method is getting a NullPointerException when it is invoked.  I believe I've traced the failure back to a supect area.  In VimStub.java, the Argument[] array is set to a size of 3.  Should it be a size of 2 since this method signature is the one with only two parameters.  Note:  vijava 5.0 creates an Argument[] array size of 2 for this method signature.&lt;/p&gt;
&lt;p&gt;public VmfsDatastoreOption[] queryVmfsDatastoreCreateOptions(ManagedObjectReference _this, String devicePath) throws java.rmi.RemoteException, NotFound, HostConfigFault, RuntimeFault {&lt;br /&gt;
Argument[] paras = new Argument[3];         // Should the size of this array be 2?&lt;br /&gt;
paras[0] = new Argument("_this", "ManagedObjectReference", _this);&lt;br /&gt;
paras[1] = new Argument("devicePath", "String", devicePath);&lt;br /&gt;
return (VmfsDatastoreOption[]) wsc.invoke("QueryVmfsDatastoreCreateOptions", paras, "VmfsDatastoreOption[]");&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>missing equals() and hash() method in ManagedObjectReference</title><link href="https://sourceforge.net/p/vijava/bugs/147/" rel="alternate"/><published>2012-09-29T04:11:02Z</published><updated>2012-09-29T04:11:02Z</updated><author><name>Steve</name><uri>https://sourceforge.net/u/sjin2008/</uri></author><id>https://sourceforge.netd0711b0d0556eb2cfe2627e08e33c3804e2c3333</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It's a regression...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Correct soap version is not set for 5.1</title><link href="https://sourceforge.net/p/vijava/bugs/146/" rel="alternate"/><published>2012-09-26T15:49:28Z</published><updated>2012-09-26T15:49:28Z</updated><author><name>lonewasp</name><uri>https://sourceforge.net/u/lonewasp/</uri></author><id>https://sourceforge.net8345178dc75a3d7058d0aaf733fa0b8500e9e0d4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Correct SOAP action is not set int this code:&lt;/p&gt;
&lt;p&gt;public void setSoapActionOnApiVersion(String apiVersion)&lt;br /&gt;
{&lt;br /&gt;
//4.0 is set by default already, so skip it here&lt;br /&gt;
if("4.1".equals(apiVersion))&lt;br /&gt;
{&lt;br /&gt;
soapAction = SOAP_ACTION_V41;&lt;br /&gt;
}&lt;br /&gt;
else if("5.0".equals(apiVersion))&lt;br /&gt;
{&lt;br /&gt;
soapAction = SOAP_ACTION_V50;&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;As the result SOAP calls are done with "urn:vim25/4.0" thus failing on newer API, like WaitForUpdatesEx with InvalidRequest fault.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Missing method SessionManager#loginExtensionByCertificate</title><link href="https://sourceforge.net/p/vijava/bugs/145/" rel="alternate"/><published>2012-08-13T18:19:55Z</published><updated>2012-08-13T18:19:55Z</updated><author><name>Xiaofeng Lin</name><uri>https://sourceforge.net/u/xflin/</uri></author><id>https://sourceforge.net0ec17b5788f9dce7782707e2399cb711229aeeca</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In 5.0.1 vijava, com.vmware.vim25.mo.SessionManager is missing method loginExtensionByCertificate(...).  Which exists in vSphere SDK since 4.0.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>