After making the JMl in Applet caused this error. anyone please help.
Exception in thread "AWT-EventQueue-2" java.lang.ExceptionInInitializerError
at net.sf.cindy.impl.AbstractSession.<init>(AbstractSession.java:83)
at net.sf.cindy.impl.AbstractTimeoutSession.<init>(AbstractTimeoutSession.java:23)
at net.sf.cindy.impl.ChannelSession.<init>(ChannelSession.java:40)
at net.sf.cindy.impl.StreamChannelSession.<init>(StreamChannelSession.java:35)
at net.sf.cindy.impl.SocketSession.<init>(SocketSession.java:31)
at net.sf.jml.protocol.MsnSession.<init>(MsnSession.java:45)
at net.sf.jml.impl.BasicMessenger.login(BasicMessenger.java:152)
at net.sf.jml.impl.BasicMessenger.login(BasicMessenger.java:95)
at net.org.kazip.zMainJPanel.msnLogin(zMainJPanel.java:139)
at net.org.kazip.zMainJPanel.btLoginActionPerformed(zMainJPanel.java:747)
at net.org.kazip.zMainJPanel.access$800(zMainJPanel.java:68)
at net.org.kazip.zMainJPanel$4.actionPerformed(zMainJPanel.java:637)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission net.sf.cindy.bufferCapacity read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at java.lang.Integer.getInteger(Unknown Source)
at java.lang.Integer.getInteger(Unknown Source)
at net.sf.cindy.impl.Constants.<clinit>(Constants.java:140)
… 36 more
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Look, if you want to use the JML into an applet you have to change it to a signed applet.
First create a certificate, then you link the created jar file which contains the applet with the certificate and you are ready! ( i did all this process using Ubuntu-linux). After this, any time the applet starts the user will be granded to authorize the applet to make external connections.
I cant explain the whole procedure with any more details because it's been long since i done it but the next two links have everything you want to know.
After making the JMl in Applet caused this error. anyone please help.
Exception in thread "AWT-EventQueue-2" java.lang.ExceptionInInitializerError
at net.sf.cindy.impl.AbstractSession.<init>(AbstractSession.java:83)
at net.sf.cindy.impl.AbstractTimeoutSession.<init>(AbstractTimeoutSession.java:23)
at net.sf.cindy.impl.ChannelSession.<init>(ChannelSession.java:40)
at net.sf.cindy.impl.StreamChannelSession.<init>(StreamChannelSession.java:35)
at net.sf.cindy.impl.SocketSession.<init>(SocketSession.java:31)
at net.sf.jml.protocol.MsnSession.<init>(MsnSession.java:45)
at net.sf.jml.impl.BasicMessenger.login(BasicMessenger.java:152)
at net.sf.jml.impl.BasicMessenger.login(BasicMessenger.java:95)
at net.org.kazip.zMainJPanel.msnLogin(zMainJPanel.java:139)
at net.org.kazip.zMainJPanel.btLoginActionPerformed(zMainJPanel.java:747)
at net.org.kazip.zMainJPanel.access$800(zMainJPanel.java:68)
at net.org.kazip.zMainJPanel$4.actionPerformed(zMainJPanel.java:637)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission net.sf.cindy.bufferCapacity read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at java.lang.Integer.getInteger(Unknown Source)
at java.lang.Integer.getInteger(Unknown Source)
at net.sf.cindy.impl.Constants.<clinit>(Constants.java:140)
… 36 more
Did you make the applet signed so it can make external connections?
If an applet is not signed, it can only make connections localy for security reasons so that could be the problem.
Yes, I have to connect to external Applet should I solve this problem, please guide me .
Look, if you want to use the JML into an applet you have to change it to a signed applet.
First create a certificate, then you link the created jar file which contains the applet with the certificate and you are ready! ( i did all this process using Ubuntu-linux). After this, any time the applet starts the user will be granded to authorize the applet to make external connections.
I cant explain the whole procedure with any more details because it's been long since i done it but the next two links have everything you want to know.
Check this site to see how to create the certificate:
http://www-personal.umich.edu/~lsiden/tutorials/signed-applet/signed-applet.html
and here is how to create and sign the jar file for your applet.
http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html
Hope i helped :)