Bugs item #3610171, was opened at 2013-04-06 06:45 Message generated for change (Comment added) made by edso You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=679906&aid=3610171&group_id=118054
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General / Other Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: michael michaud (michaudm) Assigned to: Nobody/Anonymous (nobody) Summary: NoClassDefFoundError Initial Comment: I get this NoClassDefFoundError after I've opened a new project done a few clicks (probably in the layerNamePanel) This is related to the clipboard management, and this is not the first time I get this kind of error, but don't know yet how to reproduce it. ---------------------------------------------------------------------- >Comment By: ede (edso) Date: 2013-04-07 11:23 Message: > What do you mean ? Which apple stubs ? lib\OrangeExtensions-1.2.jar are not distributed but used during development only >the jar file is the one I generate after each compilation cycle so I have no more the exact jar used. My current jar contains the class incriminated in the stacktrace. Do you still want me to upload my current jar somewhere ? nope just the which actually throws the error. better even the whole OJ structure just to be safe. what i don't understand is why you do not use the snapshots. they are the intended builds to test. also, why exactly do you generate a jar that you run with the batch fileas opposed to starting OJ simply directly out of your ide? ..ede ---------------------------------------------------------------------- Comment By: michael michaud (michaudm) Date: 2013-04-07 11:15 Message: What do you mean ? Which apple stubs ? the jar file is the one I generate after each compilation cycle so I have no more the exact jar used. My current jar contains the class incriminated in the stacktrace. Do you still want me to upload my current jar somewhere ? ---------------------------------------------------------------------- Comment By: ede (edso) Date: 2013-04-07 10:25 Message: this build seems hackish. it still contains the apple stubs. how did you throw it together? easiest explanation would be. maybe it really isn't there (the class). so can you please attach the lib\openjump-1.6.0alpha.jar for me to check? ..ede ---------------------------------------------------------------------- Comment By: michael michaud (michaudm) Date: 2013-04-07 05:10 Message: StackTrace is attached. CollectionOfLayerablesTransferable has some static attributes initialized calling methods. I think this is related to that. The problem you mention is generally throwing ClassNotFoundException, which is a different problem (even if this error also appears in the stacktrace). At least this is what I understood from the article. ---------------------------------------------------------------------- Comment By: ede (edso) Date: 2013-04-07 05:00 Message: please post the complete error stack or steps to reproduce. generally this error only occurs when trying to instantiate classes from strings or such during runtime. all other classes are checked for availability during compilation/build process. ..ede ---------------------------------------------------------------------- Comment By: michael michaud (michaudm) Date: 2013-04-07 04:00 Message: Root cause of the problem is still not clear, but here is a good article about NoClassDefFoundError http://javarevisited.blogspot.fr/2011/06/noclassdeffounderror-exception-in.html Seems like - A problem hapened in the static blocks of jump.workbench.ui.plugin.clipboard.CollectionOfLayerablesTransferable - Or maybe a kind of race condition hapened between initialization of CollectionOfLayerablesTransferable and PasteLayersPlugIn UI initialization (the errors comes from the "AWT-EventQueue-0" thread ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=679906&aid=3610171&group_id=118054 ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel