Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
getProjects() doesn't work after upgrade to Ver Spring 2012
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mariusz Francuz  
View profile  
 More options Jun 22 2012, 4:57 am
From: Mariusz Francuz <mariusz.fran...@gmail.com>
Date: Fri, 22 Jun 2012 01:57:22 -0700 (PDT)
Local: Fri, Jun 22 2012 4:57 am
Subject: getProjects() doesn't work after upgrade to Ver Spring 2012

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?

Regards,
Mariusz


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pawel P  
View profile   Translate to Translated (View Original)
 More options Jun 28 2012, 8:33 am
From: Pawel P <paczek1...@gmail.com>
Date: Thu, 28 Jun 2012 05:33:29 -0700 (PDT)
Local: Thurs, Jun 28 2012 8:33 am
Subject: Re: getProjects() doesn't work after upgrade to Ver Spring 2012

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ł:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ibuchanan  
View profile  
 More options Jun 28 2012, 10:22 am
From: ibuchanan <ian.bucha...@versionone.com>
Date: Thu, 28 Jun 2012 07:22:10 -0700 (PDT)
Local: Thurs, Jun 28 2012 10:22 am
Subject: Re: getProjects() doesn't work after upgrade to Ver Spring 2012

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mariusz Francuz  
View profile   Translate to Translated (View Original)
 More options Jun 28 2012, 11:03 am
From: Mariusz Francuz <mariusz.fran...@gmail.com>
Date: Thu, 28 Jun 2012 08:03:31 -0700 (PDT)
Local: Thurs, Jun 28 2012 11:03 am
Subject: Re: getProjects() doesn't work after upgrade to Ver Spring 2012

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ibuchanan  
View profile   Translate to Translated (View Original)
 More options Jun 28 2012, 5:17 pm
From: ibuchanan <ian.bucha...@versionone.com>
Date: Thu, 28 Jun 2012 14:17:08 -0700 (PDT)
Local: Thurs, Jun 28 2012 5:17 pm
Subject: Re: getProjects() doesn't work after upgrade to Ver Spring 2012

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mariusz Francuz  
View profile   Translate to Translated (View Original)
 More options Jun 29 2012, 7:01 am
From: Mariusz Francuz <mariusz.fran...@gmail.com>
Date: Fri, 29 Jun 2012 04:01:06 -0700 (PDT)
Local: Fri, Jun 29 2012 7:01 am
Subject: Re: getProjects() doesn't work after upgrade to Ver Spring 2012

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ibuchanan  
View profile   Translate to Translated (View Original)
 More options Jun 29 2012, 9:05 am
From: ibuchanan <ian.bucha...@versionone.com>
Date: Fri, 29 Jun 2012 06:05:55 -0700 (PDT)
Local: Fri, Jun 29 2012 9:05 am
Subject: Re: getProjects() doesn't work after upgrade to Ver Spring 2012

Mariusz,

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?

Ian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »