- This topic has 11 replies, 5 voices, and was last updated 15 years, 10 months ago by Loyal Water.
-
AuthorPosts
-
David Lee LambertMemberI’m running MyEclipse 6.0 on Ubuntu (MyEclipse installed under Feisty or Gutsy, recently upgraded to Hardy). The last couple of times I’ve tried to open the internal reports viewer, it has crashed Eclipse. When I ran eclipse from a terminal, I got the following text output at the time of the crash:
[WARN] JavaUtils - Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled. Locking assertion failure. Backtrace: #0 /usr/lib/libxcb-xlib.so.0 [0xb75c0767] #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb75c08b1] #2 /usr/lib/libX11.so.6(_XReply+0xfd) [0xb78851bd] #3 /opt/jdk1.5.0_09/jre/lib/i386/xawt/libmawt.so [0xa48abc7e] #4 /opt/jdk1.5.0_09/jre/lib/i386/xawt/libmawt.so [0xa4895c87] #5 /opt/jdk1.5.0_09/jre/lib/i386/xawt/libmawt.so [0xa4895e03] #6 /opt/jdk1.5.0_09/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x26) [0xa4896046] #7 [0xb1b36c2a] #8 [0xb1b30b3b] #9 [0xb1b30b3b] #10 [0xb1b2e217] #11 /opt/jdk1.5.0_09/bin/../jre/lib/i386/client/libjvm.so [0xb6cb875c] #12 /opt/jdk1.5.0_09/bin/../jre/lib/i386/client/libjvm.so [0xb6dc8fd8] #13 /opt/jdk1.5.0_09/bin/../jre/lib/i386/client/libjvm.so [0xb6cb858f] #14 /opt/jdk1.5.0_09/bin/../jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x32d) [0xb6d15d4d] #15 /opt/jdk1.5.0_09/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb6ad12cd] #16 [0xb1b364db] #17 [0xb1b30a64] #18 [0xb1b2e217] #19 /opt/jdk1.5.0_09/bin/../jre/lib/i386/client/libjvm.so [0xb6cb875c] Locking assertion failure. Backtrace: #0 /usr/lib/libxcb-xlib.so.0 [0xb75c0767] #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb75c081e] #2 /usr/lib/libX11.so.6 [0xb7884518] #3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0xb787b0a6] #4 /opt/jdk1.5.0_09/jre/lib/i386/xawt/libmawt.so [0xa4894fc9] #5 /opt/jdk1.5.0_09/jre/lib/i386/xawt/libmawt.so [0xa4895213] #6 /opt/jdk1.5.0_09/jre/lib/i386/xawt/libmawt.so [0xa4895eb1] #7 /opt/jdk1.5.0_09/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x26) [0xa4896046] #8 [0xb1b36c2a] #9 [0xb1b30b3b] #10 [0xb1b30b3b] #11 [0xb1b2e217] #12 /opt/jdk1.5.0_09/bin/../jre/lib/i386/client/libjvm.so [0xb6cb875c] #13 /opt/jdk1.5.0_09/bin/../jre/lib/i386/client/libjvm.so [0xb6dc8fd8] #14 /opt/jdk1.5.0_09/bin/../jre/lib/i386/client/libjvm.so [0xb6cb858f] #15 /opt/jdk1.5.0_09/bin/../jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x32d) [0xb6d15d4d] #16 /opt/jdk1.5.0_09/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb6ad12cd] #17 [0xb1b364db] #18 [0xb1b30a64] #19 [0xb1b2e217] /opt/eclipse-3.3/eclipse: symbol lookup error: /opt/jdk1.5.0_09/jre/plugin/i386/ns7/libjavaplugin_oji.so: undefined symbol: PR_NewMonitor
Here’s the last bit from .metadata/.log in my workspace:
!ENTRY org.eclipse.ui.workbench 4 2 2008-06-11 08:45:51.734 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". !STACK 0 java.lang.NullPointerException at org.eclipse.core.internal.net.ProxyData.setHost(ProxyData.java:56) at com.genuitect.eclipse.compatibility.preferences.PreferencesMigration.updateProxy(PreferencesMigration.java:157) at com.genuitect.eclipse.compatibility.preferences.PreferencesMigration.earlyStartup(PreferencesMigration.java:49) at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87) at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !ENTRY org.eclipse.ui 4 4 2008-06-11 08:45:51.737 !MESSAGE Unhandled Exception !ENTRY com.genuitec.myeclipse.compatibility 4 0 2008-06-11 08:45:51.737 !MESSAGE Unable to execute early startup code for an extension !STACK 0 java.lang.NullPointerException at org.eclipse.core.internal.net.ProxyData.setHost(ProxyData.java:56) at com.genuitect.eclipse.compatibility.preferences.PreferencesMigration.updateProxy(PreferencesMigration.java:157) at com.genuitect.eclipse.compatibility.preferences.PreferencesMigration.earlyStartup(PreferencesMigration.java:49) at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:87) at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !ENTRY org.eclipse.jst.jsp.core 4 4 2008-06-11 08:46:24.389 !MESSAGE A workspace crash was detected. The previous session did not exit normally. Not using saved taglib indexes
Any ideas on how to get the report-viewer to work again?
Loyal WaterMemberSounds like something has gone bad while updating. I would suggest you switch to a new workspace (File > Switch Workspace > Temp) and test the report view again.
Incase switching to a new workspace doesn’t fix the issue, I would like you to go to http://www.poweredbypulse.com and grab the pulse launcher. Add the MyEclipse profile to it and then try orking with the report viewer again.
Let me know if the problem persists.
David Lee LambertMemberAfter switching to a new workspace, at first the reports-viewer ran without crashing, but didn’t display any data either. Inside the report was a floating HTML element that looked like a window, title: “Exception”, icon: a red X, message “Version Mismatch / Show Exception Stack Trace”, clicking on that shows “Stack Trace:” with just blank space after it.
Then I realized that I hadn’t configured the MyEclipse data-source for running the report, so I did that. Now opening the report-viewer causes that MyEclipse workspace to crash, and I don’t see any new messages in the log after the crash.
I’m currently running the Pulse installer; I’ll try that.
David Lee LambertMemberOK, I installed MyEclipse through Pulse, but the newly-installed instance doesn’t seem to have the reporting tools. How do I install them?
Loyal WaterMemberYou can re-enable it by going to Preferences > General > Capabilities, and turning the Classic Update menu back on.
Then you end up with two “Software Updates” menus under the Help menu, but the first one is the original one, and you can add reports from there by going to Find and Install and following the wizard.
David Lee LambertMemberAfter installing MyEclipse Reports in the Pulse-installed instance of Eclipse, the report viewer runs without crashing Eclipse, but displays the “Version Mismatch” error with a blank stack-trace.
David Lee LambertMemberI started a new workspace with my existing MyEclipse copy from a different user account. The report viewer works when I use it as that user. (I can also use the Eclipse RCP BIRT designer on Windows to edit and run reports.)
However, when I deploy a new MyEclipse Reports project to a JBoss instance on my workstation, an attempt to view the report shows the “Version mismatch” message with no stack trace, and the following message gets printed to the console (EDIT: probably by Firefox):
Locking assertion failure. Backtrace: #0 /usr/lib/libxcb-xlib.so.0 [0xb22a0767] #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb22a08b1] #2 /usr/lib/libX11.so.6(_XReply+0xfd) [0x6ec4e1bd] #3 /opt/jdk1.5.0_09/jre/lib/i386/xawt/libmawt.so [0x6ed4cc7e] #4 /opt/jdk1.5.0_09/jre/lib/i386/xawt/libmawt.so [0x6ed36c87] #5 /opt/jdk1.5.0_09/jre/lib/i386/xawt/libmawt.so [0x6ed36e03] #6 /opt/jdk1.5.0_09/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x26) [0x6ed37046] #7 [0xb2337d6d] #8 [0xb232fb3b] #9 [0xb232fb3b] #10 [0xb232d217] #11 /opt/jdk1.5.0_09/jre/lib/i386/client/libjvm.so [0xb77f775c] #12 /opt/jdk1.5.0_09/jre/lib/i386/client/libjvm.so [0xb7907fd8] #13 /opt/jdk1.5.0_09/jre/lib/i386/client/libjvm.so [0xb77f758f] #14 /opt/jdk1.5.0_09/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x32d) [0xb7854d4d] #15 /opt/jdk1.5.0_09/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb75c72cd] #16 [0xb23372dd] #17 [0xb232fa64] #18 [0xb232d217] #19 /opt/jdk1.5.0_09/jre/lib/i386/client/libjvm.so [0xb77f775c]
(and that message appears twice)
John PanMemberI am having very similar issue with MyEclipse Web Report project. Here is what I am using:
JDK1.5.0_15
Tomcat 5.5
When creating Report Web Project, I specified J2EE1.4 (compatible with Servlet2.4, JSP2.0, the same as Tomcat5.5 support)
I am using MySQL Server 5.0 with mysql-connector-java-3.1.11-bin driver org.gjt.mm.mysql.DriverEverything seems to work fine. I can preview report in IDE. However, once deployed to tomcat, I got the Version Mismatch error message when trying to view reports.
Please help. Thanks
John PanMemberFind out the reason….
After switching to IE7 to view the report. It works successfully.
When I try to open the same URL in Firefox 3.0. It gives me the Version Mismatch error.Is the report page Browser dependent?
cannelleMemberIt seems to me that I have the same issue.
It’s working on the internal web browser of MyEclipse but not on Firefox. Is there any reason for that ?
peteunderwoodMemberI get a version mismatch on Firefox and OutofMemoryError …… On internet explorer. This is very frustrating.
I am deploying on Tomcat 6.0.
Any thoughts?
-Pete
Loyal WaterMemberPete,
What is the version of JDK that you are running Tomcat with? -
AuthorPosts