Hey Prachi,

Can you tell me which compiler you are using, just to check as i can not 
reproduce this yet on my dev environment.

It seems to be related to a bug in javac, so it might be worth checking of you 
have the latest Jdk 1.6? I use 1.6.0_33

Cheers,

Hugo



Sent from my iPhone

On 23 jul. 2012, at 23:12, "Prachi Damle" <[email protected]> wrote:

> I pulled the latest from master branch and build-all fails for me at 
> "compile-nicira-nvp" target. I will try commenting out this target.
> Please can this be fixed soon?
> 
> compile-nicira-nvp:
>     [echo] Compiling 
> C:\cloud\cloudstack-oss\plugins\network-elements\nicira-nvp/src
>    [javac] Compiling 33 source files to 
> C:\cloud\cloudstack-oss\target\classes\cloud-plugin-nicira-nvp.jar
>    [javac] 
> C:\cloud\cloudstack-oss\plugins\network-elements\nicira-nvp\src\com\cloud\network\nicira\NiciraNvpApi.java:235:
>  type parameters of <T>T cannot be determined; no unique maximal instance 
> exists for type variable T with upper bounds T,java.lang.Object
>    [javac]             result = gson.fromJson(pm.getResponseBodyAsString(), 
> TypeToken.get(newObject.getClass()).getType());
>    [javac]                                   ^
>    [javac] 
> C:\cloud\cloudstack-oss\plugins\network-elements\nicira-nvp\src\com\cloud\network\nicira\NiciraNvpApi.java:292:
>  type parameters of <T>T cannot be determined; no unique maximal instance 
> exists for type variable T with upper bounds T,java.lang.Object
>    [javac]             returnValue = 
> gson.fromJson(gm.getResponseBodyAsString(), returnObjectType);
>    [javac]                                        ^
>    [javac] 2 errors
> 
> BUILD FAILED
> C:\cloud\cloudstack-oss\build\build-cloud-plugins.xml:306: The following 
> error occurred while executing this line:
> C:\cloud\cloudstack-oss\plugins\network-elements\nicira-nvp\build.xml:114: 
> The following error occurred while executing this line:
> C:\cloud\cloudstack-oss\build\build-common.xml:65: Compile failed; see the 
> compiler error output for details.
> 
> 
> 
> Thanks,
> Prachi

Reply via email to