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

Caling ajax() twice throws exception #34

Closed
GoogleCodeExporter opened this issue Mar 7, 2016 · 3 comments
Closed

Caling ajax() twice throws exception #34

GoogleCodeExporter opened this issue Mar 7, 2016 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Run the application with attached xml layout and java file for the activity.
2. Press the button. It executes once. Wait till it finishes.
3. Press the button for the second time. It throws an exception and force 
closes.

What is the expected output? What do you see instead?
Expected output is for the AQuery.ajaxcall to run again with no problem. 
Instead it throws.

What version of the product are you using? On what operating system?
I use android-query.0.20.6. Android 2.3.5. 

Please provide any additional information below.
I have created a simple demo to replicate the problem. Please see the attached 
files.

Original issue reported on code.google.com by mr.4nd32...@gmail.com on 30 Mar 2012 at 4:52

Attachments:

@GoogleCodeExporter
Copy link
Author

It throws android.view.ViewRoot$CalledFromWrongThreadException. Sorry to let 
this out.

Original comment by mr.4nd32...@gmail.com on 30 Mar 2012 at 4:54

@GoogleCodeExporter
Copy link
Author

Original comment by tinyeeliu@gmail.com on 31 Mar 2012 at 4:51

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

async can now be called after the ajax is completed.

Original comment by tinyeeliu@gmail.com on 27 Apr 2012 at 5:01

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant