Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exception on initialize doesn't print completely #50

Open
mattdotgreenlake opened this issue Nov 19, 2019 · 1 comment
Open

exception on initialize doesn't print completely #50

mattdotgreenlake opened this issue Nov 19, 2019 · 1 comment
Labels
bug An existing feature in the sample is broken java specific to the java code samples

Comments

@mattdotgreenlake
Copy link

see exception handling here https://github.com/tableau/rest-api-samples/blob/master/java/src/com/tableausoftware/documentation/api/rest/util/RestApiUtils.java#L129
we put exceptions into the variable 'ex', but on the next line where we send the exception string, we don't include the variable to print the specific exceptions that were caught.

@hqren
Copy link

hqren commented Jul 1, 2020

After downloaded the git code.
1.download the right xsd xml according you tableau server.
https://help.tableau.com/v2020.1/api/rest_api/en-us/REST/rest_api_ref.htm
2.replace classes under binging package. generate new complex type Java Classes use java xjc command.
i think the root cause is that git complex type classes are not match the xsd.
you may try it.

@jacalata jacalata added bug An existing feature in the sample is broken enhancement java specific to the java code samples labels Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An existing feature in the sample is broken java specific to the java code samples
Projects
None yet
Development

No branches or pull requests

3 participants