Hello, After upgrade to Spring 2012 my application started to show a problem in * GetProjects()*, I'm getting this exception:
com.versionone.om.SDKException: Cannot execute query. [Fatal Error] :80:3: The element type "table" must be terminated by the matching end-tag "</table>".
It used to work fine before upgrade, is this method working for you? If not do you know a way to workaround it?
> Hello,
> After upgrade to Spring 2012 my application started to show a problem in *
> GetProjects()*, I'm getting this exception:
> com.versionone.om.SDKException: Cannot execute query.
> [Fatal Error] :80:3: The element type "table" must be terminated by the > matching end-tag "</table>".
> It used to work fine before upgrade, is this method working for you? > If not do you know a way to workaround it?
Would you mind sharing a bit more information? I was able to deduce you are using the Java SDK Object Model. Which version of the SDK is it? Which version of VersionOne are you on? Are you hosted or local?
I just now wrote a JUnit test calling V1Instance.getProjects() and couldn't reproduce the issue. Since it's probably not a defect for all SDK users, I suggest you submit a support ticket to supp...@versionone.com.
Yours truly,
Ian Buchanan
Product Manager for Platform and Integrations
On Thursday, June 28, 2012 8:33:29 AM UTC-4, Pawel P wrote:
> I have similar problem, i think it it caused by Single Sign-On (SSO). > Version One SDK don't support it.
> W dniu piątek, 22 czerwca 2012 10:57:22 UTC+2 użytkownik Mariusz Francuz > napisał:
>> Hello,
>> After upgrade to Spring 2012 my application started to show a problem in >> *GetProjects()*, I'm getting this exception:
>> com.versionone.om.SDKException: Cannot execute query.
>> [Fatal Error] :80:3: The element type "table" must be terminated by the >> matching end-tag "</table>".
>> It used to work fine before upgrade, is this method working for you? >> If not do you know a way to workaround it?
I'm using hosted V1. The post subject was probably misleading, I'm sorry about that, this was just first observation that I had after my application stopped working. The root cause is not related to getProjects() but rather to authentication. The problem showed up after V1 was upgraded to version Spring 2012 and with that switched from regular V1 accounts/passwords to authentication based on I believe Windows account. I downloaded matching version of SDK (12.0). I tried providing more information to v1Instance - user@domain, providing proxySettings, still whatever method is called on V1Instance I get the message:
com.versionone.apiclient.MetaException: Unknown AssetType: xxx
where xxx depends on the method that is called on V1Instance.
Could you please give me some hints what can I do to move forward?
On Thursday, June 28, 2012 4:22:10 PM UTC+2, ibuchanan wrote:
> Sorry to hear that folks are having problems.
> Would you mind sharing a bit more information? I was able to deduce you > are using the Java SDK Object Model. Which version of the SDK is it? Which > version of VersionOne are you on? Are you hosted or local?
> I just now wrote a JUnit test calling V1Instance.getProjects() and > couldn't reproduce the issue. Since it's probably not a defect for all SDK > users, I suggest you submit a support ticket to supp...@versionone.com.
> Yours truly,
> Ian Buchanan
> Product Manager for Platform and Integrations
> On Thursday, June 28, 2012 8:33:29 AM UTC-4, Pawel P wrote:
>> I have similar problem, i think it it caused by Single Sign-On (SSO). >> Version One SDK don't support it.
>> W dniu piątek, 22 czerwca 2012 10:57:22 UTC+2 użytkownik Mariusz Francuz >> napisał:
>>> Hello,
>>> After upgrade to Spring 2012 my application started to show a problem in >>> *GetProjects()*, I'm getting this exception:
>>> com.versionone.om.SDKException: Cannot execute query.
>>> [Fatal Error] :80:3: The element type "table" must be terminated by the >>> matching end-tag "</table>".
>>> It used to work fine before upgrade, is this method working for you? >>> If not do you know a way to workaround it?
Integrated Windows Authentication is a little tricky from Java. Try this:
String username = "domain\\username";
V1Instance v1 = new V1Instance(url, username, password);
It is very rare that you would have both Integrated Windows Authentication and a proxy. Moreover, if you didn't have a proxy before, I doubt you have one now. So you should probably leave that out.
On Thursday, June 28, 2012 11:03:31 AM UTC-4, Mariusz Francuz wrote:
> Hello Ian,
> I'm using hosted V1. The post subject was probably misleading, I'm sorry > about that, this was just first observation that I had after my application > stopped working. The root cause is not related to getProjects() but rather > to authentication. The problem showed up after V1 was upgraded to version > Spring 2012 and with that switched from regular V1 accounts/passwords to > authentication based on I believe Windows account. I downloaded matching > version of SDK (12.0). I tried providing more information to v1Instance - > user@domain, providing proxySettings, still whatever method is called on > V1Instance I get the message:
> com.versionone.apiclient.MetaException: Unknown AssetType: xxx
> where xxx depends on the method that is called on V1Instance.
> Could you please give me some hints what can I do to move forward?
> Thanks,
> Mariusz
> On Thursday, June 28, 2012 4:22:10 PM UTC+2, ibuchanan wrote:
>> Sorry to hear that folks are having problems.
>> Would you mind sharing a bit more information? I was able to deduce you >> are using the Java SDK Object Model. Which version of the SDK is it? Which >> version of VersionOne are you on? Are you hosted or local?
>> I just now wrote a JUnit test calling V1Instance.getProjects() and >> couldn't reproduce the issue. Since it's probably not a defect for all SDK >> users, I suggest you submit a support ticket to supp...@versionone.com.
>> Yours truly,
>> Ian Buchanan
>> Product Manager for Platform and Integrations
>> On Thursday, June 28, 2012 8:33:29 AM UTC-4, Pawel P wrote:
>>> I have similar problem, i think it it caused by Single Sign-On (SSO). >>> Version One SDK don't support it.
>>> W dniu piątek, 22 czerwca 2012 10:57:22 UTC+2 użytkownik Mariusz Francuz >>> napisał:
>>>> Hello,
>>>> After upgrade to Spring 2012 my application started to show a problem >>>> in *GetProjects()*, I'm getting this exception:
>>>> com.versionone.om.SDKException: Cannot execute query.
>>>> [Fatal Error] :80:3: The element type "table" must be terminated by the >>>> matching end-tag "</table>".
>>>> It used to work fine before upgrade, is this method working for you? >>>> If not do you know a way to workaround it?
Hello Ian,
I tried your hint but it didn't help. I still get the same exception. As it comes to the proxy, before I was passing the information using java options, I tried the other constructor with proxySettings just to check if this could help. There is one difference that I can observe. If I use the constructor with proxySettings then on e.g. getProjects() I get exception:
com.versionone.apiclient.MetaException: Unknown AssetType: Scope
If I use the simpler constructor and use java options for proxy then I get:
[Fatal Error] :80:3: The element type "table" must be terminated by the matching end-tag "</table>".
com.versionone.om.SDKException: Cannot execute query.
It seems that it doesn't matter what do I pass to V1Instance - even dummy user and password result in the same.
On Thursday, June 28, 2012 11:17:08 PM UTC+2, ibuchanan wrote:
> Mariusz,
> Integrated Windows Authentication is a little tricky from Java. Try this:
> String username = "domain\\username";
> V1Instance v1 = new V1Instance(url, username, password);
> It is very rare that you would have both Integrated Windows Authentication > and a proxy. Moreover, if you didn't have a proxy before, I doubt you have > one now. So you should probably leave that out.
> Ian
> On Thursday, June 28, 2012 11:03:31 AM UTC-4, Mariusz Francuz wrote:
>> Hello Ian,
>> I'm using hosted V1. The post subject was probably misleading, I'm sorry >> about that, this was just first observation that I had after my application >> stopped working. The root cause is not related to getProjects() but rather >> to authentication. The problem showed up after V1 was upgraded to version >> Spring 2012 and with that switched from regular V1 accounts/passwords to >> authentication based on I believe Windows account. I downloaded matching >> version of SDK (12.0). I tried providing more information to v1Instance - >> user@domain, providing proxySettings, still whatever method is called on >> V1Instance I get the message:
>> com.versionone.apiclient.MetaException: Unknown AssetType: xxx
>> where xxx depends on the method that is called on V1Instance.
>> Could you please give me some hints what can I do to move forward?
>> Thanks,
>> Mariusz
>> On Thursday, June 28, 2012 4:22:10 PM UTC+2, ibuchanan wrote:
>>> Sorry to hear that folks are having problems.
>>> Would you mind sharing a bit more information? I was able to deduce you >>> are using the Java SDK Object Model. Which version of the SDK is it? Which >>> version of VersionOne are you on? Are you hosted or local?
>>> I just now wrote a JUnit test calling V1Instance.getProjects() and >>> couldn't reproduce the issue. Since it's probably not a defect for all SDK >>> users, I suggest you submit a support ticket to supp...@versionone.com.
>>> Yours truly,
>>> Ian Buchanan
>>> Product Manager for Platform and Integrations
>>> On Thursday, June 28, 2012 8:33:29 AM UTC-4, Pawel P wrote:
>>>> I have similar problem, i think it it caused by Single Sign-On (SSO). >>>> Version One SDK don't support it.
>>>> W dniu piątek, 22 czerwca 2012 10:57:22 UTC+2 użytkownik Mariusz >>>> Francuz napisał:
>>>>> Hello,
>>>>> After upgrade to Spring 2012 my application started to show a problem >>>>> in *GetProjects()*, I'm getting this exception:
>>>>> com.versionone.om.SDKException: Cannot execute query.
>>>>> [Fatal Error] :80:3: The element type "table" must be terminated by >>>>> the matching end-tag "</table>".
>>>>> It used to work fine before upgrade, is this method working for you? >>>>> If not do you know a way to workaround it?
I think I jumped too quickly to solving the Integrated Windows Authentication problem. On your second pass, I realize I should have paid closer attention to the specific exception you reported. The VersionOne meta-data layer does not require authentication. Therefore, authentication does not prevent the SDK from finding known AssetTypes. Connection problems can cause that.
One common cause is a malformed URL passed to the SDK. The most common problem is a missing trailing slash. But, if you had an application working prior, this is an unlikely cause for you.
You mentioned that you did have a proxy before the upgrade. This is the next most common cause and seems to be the most likely cause in your case. I'm not sure I entirely understand the network model from your description. When you say VersionOne is "hosted" (in response to my question), do you mean VersionOne is on-premise (your premises), or hosted with us? Do you use Windows Authentication with the proxy? When VersionOne authentication was changed, did the proxy also change authentication?
On Friday, June 29, 2012 7:01:06 AM UTC-4, Mariusz Francuz wrote:
> Hello Ian,
> I tried your hint but it didn't help. I still get the same exception. As > it comes to the proxy, before I was passing the information using java > options, I tried the other constructor with proxySettings just to check if > this could help. There is one difference that I can observe. If I use the > constructor with proxySettings then on e.g. getProjects() I get exception:
> com.versionone.apiclient.MetaException: Unknown AssetType: Scope
> If I use the simpler constructor and use java options for proxy then I get:
> [Fatal Error] :80:3: The element type "table" must be terminated by the > matching end-tag "</table>".
> com.versionone.om.SDKException: Cannot execute query.
> It seems that it doesn't matter what do I pass to V1Instance - even dummy > user and password result in the same.
> Do you have any other ideas, what may be wrong?
> Regards,
> Mariusz
> On Thursday, June 28, 2012 11:17:08 PM UTC+2, ibuchanan wrote:
>> Mariusz,
>> Integrated Windows Authentication is a little tricky from Java. Try this:
>> String username = "domain\\username";
>> V1Instance v1 = new V1Instance(url, username, password);
>> It is very rare that you would have both Integrated Windows >> Authentication and a proxy. Moreover, if you didn't have a proxy before, I >> doubt you have one now. So you should probably leave that out.
>> Ian
>> On Thursday, June 28, 2012 11:03:31 AM UTC-4, Mariusz Francuz wrote:
>>> Hello Ian,
>>> I'm using hosted V1. The post subject was probably misleading, I'm sorry >>> about that, this was just first observation that I had after my application >>> stopped working. The root cause is not related to getProjects() but rather >>> to authentication. The problem showed up after V1 was upgraded to version >>> Spring 2012 and with that switched from regular V1 accounts/passwords to >>> authentication based on I believe Windows account. I downloaded matching >>> version of SDK (12.0). I tried providing more information to v1Instance - >>> user@domain, providing proxySettings, still whatever method is called on >>> V1Instance I get the message:
>>> com.versionone.apiclient.MetaException: Unknown AssetType: xxx
>>> where xxx depends on the method that is called on V1Instance.
>>> Could you please give me some hints what can I do to move forward?
>>> Thanks,
>>> Mariusz
>>> On Thursday, June 28, 2012 4:22:10 PM UTC+2, ibuchanan wrote:
>>>> Sorry to hear that folks are having problems.
>>>> Would you mind sharing a bit more information? I was able to deduce you >>>> are using the Java SDK Object Model. Which version of the SDK is it? Which >>>> version of VersionOne are you on? Are you hosted or local?
>>>> I just now wrote a JUnit test calling V1Instance.getProjects() and >>>> couldn't reproduce the issue. Since it's probably not a defect for all SDK >>>> users, I suggest you submit a support ticket to supp...@versionone.com.
>>>> Yours truly,
>>>> Ian Buchanan
>>>> Product Manager for Platform and Integrations
>>>> On Thursday, June 28, 2012 8:33:29 AM UTC-4, Pawel P wrote:
>>>>> I have similar problem, i think it it caused by Single Sign-On (SSO). >>>>> Version One SDK don't support it.
>>>>> W dniu piątek, 22 czerwca 2012 10:57:22 UTC+2 użytkownik Mariusz >>>>> Francuz napisał:
>>>>>> Hello,
>>>>>> After upgrade to Spring 2012 my application started to show a problem >>>>>> in *GetProjects()*, I'm getting this exception:
>>>>>> com.versionone.om.SDKException: Cannot execute query.
>>>>>> [Fatal Error] :80:3: The element type "table" must be terminated by >>>>>> the matching end-tag "</table>".
>>>>>> It used to work fine before upgrade, is this method working for you? >>>>>> If not do you know a way to workaround it?