<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/vijava/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/vijava/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 13 Nov 2013 17:02:07 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/vijava/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Missing &amp; for multiple key/value pairs in RestClient.java</title><link>https://sourceforge.net/p/vijava/bugs/154/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Steve</dc:creator><pubDate>Wed, 13 Nov 2013 17:02:07 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net40c472b03239f6dfb6fe8d85b3efe7f2c701bcbd</guid></item><item><title>TerminateVM is missing</title><link>https://sourceforge.net/p/vijava/bugs/153/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Corey Osman</dc:creator><pubDate>Sat, 08 Dec 2012 03:46:35 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net6370082a207e812a799316e04fc69fe21ca0c2a5</guid></item><item><title>Can't get object from CacheInstance</title><link>https://sourceforge.net/p/vijava/bugs/152/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 14 Nov 2012 07:32:44 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netbb4d04c86891d00cf0c0295b9b19194ff7185bee</guid></item><item><title>MethodFault is missing fault string</title><link>https://sourceforge.net/p/vijava/bugs/151/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eric P. Forgette</dc:creator><pubDate>Wed, 24 Oct 2012 04:43:53 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net8b92134adafff133d8d6ce196e2d585e31fc94ea</guid></item><item><title>Can't get VirtualAppSummary from VirtualApp</title><link>https://sourceforge.net/p/vijava/bugs/150/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lei</dc:creator><pubDate>Wed, 10 Oct 2012 00:53:53 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netccde0676985aaf1134c8295eab1885876895387b</guid></item><item><title>queryVmfsDatastoreCreateOptions causing NullPointerException</title><link>https://sourceforge.net/p/vijava/bugs/149/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 03 Oct 2012 01:38:26 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netacde5dc0e13735aa462ea706298bca61b8dea1ed</guid></item><item><title>queryVmfsDatastoreCreateOptions causing NullPointerException</title><link>https://sourceforge.net/p/vijava/bugs/148/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 02 Oct 2012 21:36:00 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net55d76f0f06651e1b373d06992adf1a04e352734a</guid></item><item><title>missing equals() and hash() method in ManagedObjectReference</title><link>https://sourceforge.net/p/vijava/bugs/147/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;It's a regression...&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Steve</dc:creator><pubDate>Sat, 29 Sep 2012 04:11:02 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netd0711b0d0556eb2cfe2627e08e33c3804e2c3333</guid></item><item><title>Correct soap version is not set for 5.1</title><link>https://sourceforge.net/p/vijava/bugs/146/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lonewasp</dc:creator><pubDate>Wed, 26 Sep 2012 15:49:28 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net8345178dc75a3d7058d0aaf733fa0b8500e9e0d4</guid></item><item><title>Missing method SessionManager#loginExtensionByCertificate</title><link>https://sourceforge.net/p/vijava/bugs/145/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Xiaofeng Lin</dc:creator><pubDate>Mon, 13 Aug 2012 18:19:55 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net0ec17b5788f9dce7782707e2399cb711229aeeca</guid></item></channel></rss>