Xlib: unexpected async reply (sequence 0x1cb4)! - eclipse

I am unable to run Windows tester on SLED 10 machine. When I try to run test as JUnit plugin-in-test, eclipse launches and I see Xlib: unexpected async reply (sequence 0x1cb4)! error in console and eclipse does nothing. I googled and found n number post for the issue but no proper solutions. If anyone have encountered with the problem and found solution pls feel free to reply to this post.
Note: This link clearly describes about the problem http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6386791
Here is the config of my machine
LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-ia32:core-3.0-ia32"
SUSE Linux Enterprise Desktop 10 (i586)
VERSION = 10
PATCHLEVEL = 4
SUSE Linux Enterprise Desktop 10 (i586)
VERSION = 10
PATCHLEVEL = 4
Thanks
Deepak

I am getting this problem too. What I am trying to do is make a plugin for my Qt application that will move the mouse around and test the GUI. The mouse is moved around using X11 libs. The plugin launches a separate QThread and in this thread I make calls to Qt functions to retrieve information about widgets but I do not ever set any positions or anything. Maybe even calling Qt functions from another thread can also cause the error.

Related

Netbeans won't install on Windows 10

I'm trying to install Netbeans 8.2 Java EE, but whenever I start the installer it quits after configuring it. I am trying to install it on Windows 10 64-bit.
This is not going to make sense at all, but do you happen to have the "God Mode" item on your desktop? Take it off the desktop (delete it, move it somewhere else, whatever). I have no idea why, but it worked for me: I found the solution in this bug report - https://netbeans.org/bugzilla/show_bug.cgi?id=269988
I do hope this helps you, too.
This is an Java issue, which was came up due to recent windows 10 update, that started treated differently for GodMode folder/shortcut.
This has been already fixed - https://bugs.openjdk.java.net/browse/JDK-8179014
You can verify the fix in early access build of JDK8 update 152, which is available here
We have verified the issue only with GodMode, do let us k now if there are any other scenarios that can cause such similar issues.
I'm adding this because: I had a different issue which I was unable to find addressed anywhere, this question appears near the top of a web search for "NetBeans 8.2 ee won't install on Windows 10", and someone else may have the problem I had.
My NetBeans install was almost immediately crashing with the following error:
An unexpected exception happened in thread main
Exception: javax.xml.parsers.FactoryConfigurationError: Provider for
class javax.xml.parsers.DocumentBuilderFactory cannot be created
In my Windows 10 System Properties -> Environment Variables -> System Variables, I had a previously created _JAVA_OPTIONS variable values using -Xbootclasspath/a to append some jar files to the end of the bootstrap class path. These files are used with some work I'm doing with the Oracle BI Publisher plug-in for Microsoft Word.
As soon as I renamed the _JAVA_OPTIONS variable to something else, my NetBeans installation started normally and completed with no issues.
After NetBeans installation, I reset the name of this variable back to _JAVA_OPTIONS, and discovered that the values I have for this System Variable cause NetBeans launch to crash. (Which does not completely make sense to me since I am only appending these files/classes to the class path, and not overwriting.)
Regardless, I'll have to go back to the drawing board for my work with the BI Publisher plug-in; but at least I can use NetBeans now!
Uninstall any Java installations along with NetBeans, and install Java with NetBeans (bundle) from the Oracle website.
I had the same issue, and then installed the bundle, works perfectly.

Has anyone seen this error while running TestComplete?

I have been having problems working with TestComplete. What I have are:
TestComplete Version 10.0.531.7, 64 bits
Windows 7 Enterprise, Service Pack 1
Whenever I start TestComplete, it gives me this error. Please see screenshot below:
If I choose to
Don't terminate the application AND
Don't send
TestComplete allows me to proceed but after I click on "Edit" button then "Next", it tells me that the specified data source can not be found. Please see screenshot below:
I am not really sure if those two errors are related, has anyone seen this kind of error before?
PS. I have tried reinstalling Oracle data base 11.2.0, but it does not help.
Many thanks
I found the problem:
I needed to install Oracle ODAC101040.exe
Now the problem has been solved.

Pydev 3.0 + Eclipse + Google App Engine Debugging not working

I've been having problems getting debugging working with this setup for the past year. Supposedly, this is fixed in the latest versions, but I just can't seem to get it to work.
I'm using Mac OSX 10.8.5, Eclipse Keplar, PyDev 3.0.0, and Google App Engine 1.8.8.
I set up a run configuration to point to dev_appserver.py, running my project. That works fine. My python version is 2.7.3, and everything works in normal mode. When I try to run in debug mode, however, the app runs, the output specifically states:
pydev debugger: starting
pydev debugger: google app engine integration enabled
But after 20 seconds, the python process terminates with this error message:
'Launching New_configuration' has encountered a problem.
Timed out after 20.0 seconds while waiting for python script to connect.
Accept timed out
Execution works during those 20 seconds, because I can hit URLs connected to my app and see an effect. Breakpoints do not work, though. Is there something I need to do to get python to 'connect'?
Also - I should note that switching back to using 'old_dev_appserver.py' fixes this problem - debugging works fine when I do this. But, this is not really a solution, because I need to use the latest socket additions in the newer releases.
Thanks for any advice.
temporary solution:
edit the pydev_app_engine_debug_startup.py file:
eclipse/plugins/org.python.pydev_${VERSION}/pysrc/pydev_app_engine_debug_startup.py
change the line that reads:
if ':' not in config.version_id:
to:
if ':' not in config.version_id or config.version_id.startswith('default:'):
Looks like this is fixed in 1.9.0. I also had to make sure to update PyDev to the latest (3.3.3 at the time of this writing).
One more thing to add, and this one really tripped me up (on MacOS) -
In Eclipse, under Run -> Run Configurations, set the Main Module to point to this location:
/usr/local/google_appengine/dev_appserver.py
NOT the symlink:
/usr/local/bin/dev_appserver.py
Well, finally I found the answer. It is a Google's bug.
It has been reported and acknowledged.
see Debug is not working with PyDev again 1.8.8!
Update: Until the bug is fixed I am using PyCharm. The pro version has 30 days trial and works with GAE. It works like, well, a charm. I may even consider switching to it from Elicpse/PyDev
But I am used to JetBrains tools with Android Studio recnetly, and WebStorm and Resharper in the past, so I know to find my way around their IDEs. Your milage may and will vary.
Since the question, a new GAE has been released 1.8.9
Running GAE 1.8.9 with PyDev3.3.3 on Windows8.
This timeout issue still occurred.
When I entered the temporary workaround changes to pydev_app_engine_debug_startup described in the earlier answer, then the browser could not connect to the app.
However, on backing out this change, not only did the 'Launching New_configuration' not appear, but the breakpoints worked.
More info on the Python Tool Support for the App Engine Development Server is here
https://docs.google.com/document/d/1CCSaRiIWCLgbD3OwmuKsRoHHDfBffbROWyVWWL0ZXN4/edit

win32com.dll in Eclipse incompatible with 64 bit version. RXTX?

I have a 64 Windows 7 computer, and I need to run win32com in order to create a connection between my computer and a microcontroller. However, I ran into the same problem as seen here:
Error with win32com.dll in Eclipse
My post on the thread above was deleted, so I'm asking the question here.
I tried downloading RXTX as tmwoods said, but I'm still having some issues. I think I misunderstand how to go installing RXTX.
I downloaded and placed the files tmwoods mentionned into my program file / java / lib (etc...) appropriately, but my Java program still needs to be referenced to the win32com.dll file, or else it won't compile. And that win32com.dll file is still in 32 bits, so Java still can't process it. (Another question I've been wondering: I also have a program File (x86) file in my Windows folder, and I noticed some RXTX downloads on the web offer a x86 version. Should I download that then?)
How can I get around this issue? Could someone please explain in more detail how to solve this problem? Thanks a bunch!
Samonac
In the end, I found the solution: I used jSSC instead of RXTX, and it worked fine.
Just google java-simple-serial-connector - jSSC - java serial port communication.
Hope this will come in handy if anyone in the future has the same problem I did.

Netbeans 7: JVM Creation Failed, which settting to change in netbeans.conf (windows)?

I was having an issue with JVM Creation Failed when executing Netbeans in Windows, and after looking around i found 2 parameters that can fix the issue.
But i am unsure which to use, both fix the problem...
Can anyone tell me the difference and advise which i should be changing..
-J-Xmx512m
or
-J-XX:MaxPermSize=128m
Thanks in advance.
Not exactly answer to your question, but might help too:
If you are running for example Win 7 64bit and 32bit Java JDK, try to install 64bit JDK, it helps many people.
Another one solution, is to delete created temporary folders, which contain the file splash.PNG (in NB folder in Doc and Settings folder).
And maybe this can help too, close any opened PDFs in Adobe Reader (version 9 probably). I get this error more often while running the built app from NB IDE and running some PDF triggers this problem.