jide and jdk1.6.0_11

This is the forum for JIDE Common Layer which is open sourced at https://github.com/jidesoft/jide-oss. Please note, JIDE technical support doesn't monitor this forum as often as other forums. Please consider subscribe for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Moderator: JIDE Support

Forum rules
Community driven forum for open source JIDE Common Layer. JIDE technical support doesn't monitor this forum as often as other forums. If you only use JIDE Common Layer, please consider subscribing for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

jide and jdk1.6.0_11

Postby knatesan » Fri Jul 10, 2009 12:45 pm

I am using the WebIntelligence Java Report Panel 11,5,8,826 which uses this component. When I have jdk1.5.0_13. The applet gets loaded correctly but when I have jdk 1.6.0_11 is used in the browser then the applet throws the following error. Any idea what could be the problem?
Is there a updated jar needed somewhere?

Exception in thread "com.businessobjects.wp.tc.thread.RefreshRunner@b9242e" java.lang.NoClassDefFoundError: com/jidesoft/dialog/PageListener
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getDeclaredMethod(Unknown Source)
at java.awt.Component.isCoalesceEventsOverriden(Unknown Source)
at java.awt.Component.isCoalesceEventsOverriden(Unknown Source)
at java.awt.Component.access$300(Unknown Source)
at java.awt.Component$3.run(Unknown Source)
at java.awt.Component$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Component.checkCoalescing(Unknown Source)
at java.awt.Component.<init>(Unknown Source)
at java.awt.Container.<init>(Unknown Source)
at javax.swing.JComponent.<init>(Unknown Source)
at javax.swing.JPanel.<init>(Unknown Source)
at javax.swing.JPanel.<init>(Unknown Source)
at javax.swing.JPanel.<init>(Unknown Source)
at com.jidesoft.dialog.AbstractPage.<init>(Unknown Source)
at com.jidesoft.dialog.BannerPanel.<init>(Unknown Source)
at com.businessobjects.wp.tc.prompt.PromptDialog.createBannerPanel(PromptDialog.java:93)
knatesan
 
Posts: 4
Joined: Fri Jul 10, 2009 12:18 pm

Re: jide and jdk1.6.0_11

Postby JIDE Support » Fri Jul 10, 2009 1:16 pm

The only reason for NoClassDefFoundError is the runtime class path is messed up. Is there any cache for the jars in your system that still has the old jars? Maybe it happens that the jars are not there for jdk6. Try to clean the cache if you can and try again.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

Re: jide and jdk1.6.0_11

Postby knatesan » Fri Jul 10, 2009 1:30 pm

This is happening when in IE7.0 you run the WebIntelligence Java Report Panel 11,5,8,826.
The following is the Java Console out put. If the JIDE jar is missing in jdk6. Do I need to intsall it separately?
I did not do it when jre 1.5.0_13 was used. This applet worked fine with kre1.5.0_13.

Java Plug-in 1.6.0_11
Using JRE version 1.6.0_11 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\t15cif4

----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

Init> WebIntelligence Java Report Panel 11,5,8,826
Start> WebIntelligence Java Report Panel 11,5,8,826
Running> WebIntelligence Java Report Panel 11,5,8,826
Exception in thread "com.businessobjects.wp.tc.thread.RefreshRunner@b9242e" java.lang.NoClassDefFoundError: com/jidesoft/dialog/PageListener
knatesan
 
Posts: 4
Joined: Fri Jul 10, 2009 12:18 pm

Re: jide and jdk1.6.0_11

Postby JIDE Support » Fri Jul 10, 2009 2:06 pm

I really suspect it is a cache thing. In Java control panel, there is a button to clear the cached jars.

Thanks.
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

Re: jide and jdk1.6.0_11

Postby knatesan » Mon Jul 13, 2009 7:27 am

Closed all the browsers.
I did the cache clean.
Started the new browser.
Made sure the JRE 1.6.0_11 is selected. The JSR 1.5.0_13 was also there ( I have tried with this selected and deselected and JRE 1.5.0_13 uninstalled)
The behavior is exactly the same.

I am attaching the
selected JRE, loaded files in Java Cache from Java Control Panel as JPEG file
The Java Console output the Error text.

I strongly believe there is a difference in loading the jar files in the applet with JRE 1.6.0_11.
The interesting part is if I deselect JRE 1.6.0_11 and select 1.5.0_13 everything is fine!!
If you let me know what the porblem could be I would appreciate it.
Thanks
Attachments
Java Cache.JPG
Java Cache.JPG (43.63 KiB) Viewed 38288 times
Java Console Error.txt
(3.68 KiB) Downloaded 1315 times
JRE Selection.JPG
JRE Selection.JPG (27.75 KiB) Viewed 38288 times
knatesan
 
Posts: 4
Joined: Fri Jul 10, 2009 12:18 pm

Re: jide and jdk1.6.0_11

Postby deklotz » Mon Jul 13, 2009 7:40 am

I haven't read through all of your posts, but as a matter of course when faced with a problem as you describe, I start ruling out everything that I can. I suggest temporarily upgrading your java 6 to the very latest version to see if the problem changes. If the problem stays the same then you can at least tentatively rule out a JVM issue.
deklotz
 
Posts: 167
Joined: Mon Nov 21, 2005 2:58 pm
Location: Bedford, MA

Re: jide and jdk1.6.0_11

Postby knatesan » Mon Jul 13, 2009 8:04 am

I suspected that as well and tested with JRE 1.7.0. I had the same error message.
knatesan
 
Posts: 4
Joined: Fri Jul 10, 2009 12:18 pm

Re: jide and jdk1.6.0_11

Postby JavaExcel » Fri Jan 08, 2010 2:50 pm

I downloaded a jar file containing com.jidesoft.dialog.PageListener.class from findjar.com

using an archiver like ZIP I removed all classes except PageListener.class from the jar file.

I put the jar file in program files/jre/lib/ext and it fixed the problem with "Prompts" dialog in the applet in JRE 1.6 -- no more classNotFound error.


Interestingly, the "Prompts" dialog does not have this error on JRE 1.5, even with the fact that thincadencz.jar does not contain PageListener.class

Possibly PageListener.class is not used but is refered by some other classes in the applet. And JRE 1.6 is trying to load the classes even if the are not used, but mentioned in "import" section
JavaExcel
 
Posts: 2
Joined: Fri Jan 08, 2010 2:12 pm

Re: jide and jdk1.6.0_11

Postby JIDE Support » Fri Jan 08, 2010 3:09 pm

Could you get the jide common jar from https://jide-oss.dev.java.net instead of from other sites?

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am

Re: jide and jdk1.6.0_11

Postby JavaExcel » Tue Jan 19, 2010 10:11 pm

>>Could you get the jide common jar from https://jide-oss.dev.java.net instead of from other sites?

At that moment I did not know I could download the JAR from jidesoft

but in any case it's (1) really not a solution which can be rolled out company-wide.

The conclusion is that WEBI is not compatible with JRE 1.6(*) and only works with 1.5.

* possibly future updates to JRE 1.6 will be compatible with WEBI again.

(1)--http://www.jidesoft.com/forum/viewtopic.php?f=18&t=7883&p=44211#p43985
Last edited by JavaExcel on Tue Jan 19, 2010 11:28 pm, edited 1 time in total.
JavaExcel
 
Posts: 2
Joined: Fri Jan 08, 2010 2:12 pm

Re: jide and jdk1.6.0_11

Postby JIDE Support » Tue Jan 19, 2010 10:34 pm

Sorry, I really can't understand your post.
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 37219
Joined: Sun Sep 14, 2003 10:49 am


Return to JIDE Common Layer Open Source Project Discussion (Community Driven)

Who is online

Users browsing this forum: Google [Bot] and 5 guests