Messaging Exception

1 view
Skip to first unread message

Waleed Badri

unread,
Aug 22, 2010, 6:12:35 AM8/22/10
to Open Wonderland Forum
Dear all,

I try to develop a new feature in the stickynote module like send the
stickynote by mail .. and the module is BUILD SUCCESSFUL ... but i got
the following exception on the log viewer

Exception thrown in Cell.setStatus javax/mail/MessagingException
java.lang.NoClassDefFoundError: javax/mail/MessagingException
at
org.jdesktop.wonderland.modules.rockwellcollins.stickynote.client.StickynoteContextMenuFactory.<init>(StickynoteContextMenuFactory.java:
52)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.jdesktop.wonderland.common.utils.ScannedClassLoader
$1.loadNext(ScannedClassLoader.java:159)
at org.jdesktop.wonderland.common.utils.ScannedClassLoader
$1.hasNext(ScannedClassLoader.java:135)
at org.jdesktop.wonderland.common.utils.ScannedClassLoader
$2.hasNext(ScannedClassLoader.java:204)
at org.jdesktop.wonderland.client.contextmenu.ContextMenuManager
$1.primaryServer(ContextMenuManager.java:72)
at
org.jdesktop.wonderland.client.login.LoginManager.addPrimaryServerListener(LoginManager.java:
181)
at
org.jdesktop.wonderland.client.contextmenu.ContextMenuManager.<init>(ContextMenuManager.java:
60)
at org.jdesktop.wonderland.client.contextmenu.ContextMenuManager
$ContextMenuManagerHolder.<clinit>(ContextMenuManager.java:91)
at
org.jdesktop.wonderland.client.contextmenu.ContextMenuManager.getContextMenuManager(ContextMenuManager.java:
100)
at
org.jdesktop.wonderland.modules.appbase.client.cell.App2DCell.setStatus(App2DCell.java:
285)
at
org.jdesktop.wonderland.modules.rockwellcollins.stickynote.client.cell.StickyNoteCell.setStatus(StickyNoteCell.java:
91)
at
org.jdesktop.wonderland.client.cell.CellCacheBasicImpl.setCellStatus(CellCacheBasicImpl.java:
351)
at org.jdesktop.wonderland.client.cell.CellCacheBasicImpl.access
$000(CellCacheBasicImpl.java:54)
at org.jdesktop.wonderland.client.cell.CellCacheBasicImpl
$CellStatusChanger.run(CellCacheBasicImpl.java:510)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown
Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException:
javax.mail.MessagingException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 26 more


thanks ,

waleed

Jonathan Kaplan

unread,
Aug 25, 2010, 12:59:09 AM8/25/10
to openwon...@googlegroups.com
It looks like you are importing a bad file (javax.mail.MessagingException). I'm not sure why it compiles, but that class is not available to the Wonderland client. If you intended to use it, you will need to include the appropriate library. If not, just remove the include.
Reply all
Reply to author
Forward
0 new messages