I have the same problem but the error message is displayed in the browser address bar (ulr-encoded) and a blog-error page is shown (because I use slug-permalinks): http://www.bethhamidrash.org/wp-admin/%3Cdiv%20id=%5C'error%5C'%3E%09%09%09%3Cp%20class=%5C'wpdberror%5C'%3E%3Cstrong%3EWordPress%20database%20error:%3C/strong%3E%20%5BYou%20have%20an%20error%20in%20your%20SQL%20syntax;%20check%20the%20manual%20that%20corresponds%20to%20your%20MySQL%20server%20version%20for%20the%20right%20syntax%20to%20use%20near%20%5C')%20ORDER%20BY%20post_id,%20meta_key%5C'%20at%20line%201%5D%3Cbr%20/%3E%09%09%09%3Ccode%3ESELECT%20post_id,%20meta_key,%20meta_value%20FROM%20wp_postmeta%20WHERE%20post_id%20IN()%20ORDER%20BY%20post_id,%20meta_key%3C/code%3E%3C/p%3E%09%09%09%3C/div%3Ehttp://www.bethhamidrash.org/wp-admin/post.php
But after decifering, it turns out to be the same error as coxgrl1980 is talking about (post 1).
I use WP201 and found this issue only to occur after I have first made a post and hit 'Save' so it has Post Status: Draft or Private. It doen't matter if the post is empty or holds special characters or images; re-opening it and hitting either 'Save' or 'Post' will result in the error... Changes are processed though.
When the post is finally published, the error will not occur again unless the post is set back to draft or private.
This occurs on a clean WP201 install with NO extra plugins installed and all standard ones are turned off. Only the database is imported from a backup. That backup has a lot of tables from previously installed and deleted plugins (but never javawp)...
When I use a clean database and start from scratch, the error has NOT occured while doing the same tests.
Looks like the problem lies within the database doesn't it?