MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
dll
Post subject: Opening the reports-viewer causes Eclipse to crash  PostPosted: Jun 11, 2008 - 01:55 PM



Joined: Apr 23, 2008
Posts: 5

I'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:

Code:

[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:

Code:

!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?
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Opening the reports-viewer causes Eclipse to crash  PostPosted: Jun 11, 2008 - 04:01 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

Sounds 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 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.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
dll
Post subject:   PostPosted: Jun 12, 2008 - 02:06 PM



Joined: Apr 23, 2008
Posts: 5

After 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.
 
 View user's profile Send private message  
Reply with quote Back to top
dll
Post subject:   PostPosted: Jun 12, 2008 - 03:12 PM



Joined: Apr 23, 2008
Posts: 5

OK, I installed MyEclipse through Pulse, but the newly-installed instance doesn't seem to have the reporting tools. How do I install them?
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject:   PostPosted: Jun 12, 2008 - 04:42 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

You 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.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
dll
Post subject: Srill doesn't work  PostPosted: Jun 13, 2008 - 06:27 PM



Joined: Apr 23, 2008
Posts: 5

After 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.
 
 View user's profile Send private message  
Reply with quote Back to top
dll
Post subject: Similar problem in JBoss  PostPosted: Jul 08, 2008 - 08:41 PM



Joined: Apr 23, 2008
Posts: 5

I 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):

Code:

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)


Last edited by dll on Jul 21, 2008 - 01:11 PM; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
javapan
Post subject: RE: Similar problem in JBoss  PostPosted: Jul 20, 2008 - 12:47 AM
Registered Member
Registered Member


Joined: Jul 20, 2008
Posts: 3

I 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.Driver

Everything 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
 
 View user's profile Send private message  
Reply with quote Back to top
javapan
Post subject: RE: Similar problem in JBoss  PostPosted: Jul 20, 2008 - 12:52 AM
Registered Member
Registered Member


Joined: Jul 20, 2008
Posts: 3

Find 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?
 
 View user's profile Send private message  
Reply with quote Back to top
cannelle
Post subject:   PostPosted: Sep 17, 2008 - 04:50 PM



Joined: Jun 24, 2008
Posts: 30

It 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 ?
 
 View user's profile Send private message  
Reply with quote Back to top
peteunderwood
Post subject: I get a version mismatch on Firefox and OutofMemoryError ...  PostPosted: Jan 12, 2009 - 03:34 PM
Veteran Member
Veteran Member


Joined: Apr 25, 2005
Posts: 6

I 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
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: I get a version mismatch on Firefox and OutofMemoryError  PostPosted: Jan 12, 2009 - 06:51 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

Pete,
What is the version of JDK that you are running Tomcat with?

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits