[Biojava-dev] Error during initializing DNATools through an Applet
Shuvankar Mukherjee
shuvankr at hotmail.com
Tue Nov 25 01:36:46 EST 2003
Hello,
While trying out an applet version of "Biojava's in Anger", FeatureTree example. Following error is coming up in AppletViewer,
java.lang.ExceptionInInitializerError: java.security.AccessControlException:
access denied (java.util.PropertyPermission jaxp.debug read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
at java.security.AccessController.checkPermission(AccessController.java:399)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1278)
at java.lang.System.getProperty(System.java:560)
at javax.xml.parsers.SAXParserFactory.<clinit>(SAXParserFactory.java:271)
at org.biojava.bio.symbol.AlphabetManager.loadAlphabets(AlphabetManager.java:915)
at org.biojava.bio.symbol.AlphabetManager.<clinit>(AlphabetManager.java:894)
at org.biojava.bio.seq.DNATools.<clinit>(DNATools.java:54)
rethrown as org.biojava.bio.BioError: Unable to initialize DNATools
at org.biojava.bio.seq.DNATools.<clinit>(DNATools.java:85)
at org.biojava.bio.seq.io.SeqIOTools.getDNAParser(SeqIOTools.java:907)
at org.biojava.bio.seq.io.SeqIOTools.readGenbank(SeqIOTools.java:115)
at org.biojava.bio.seq.io.SeqIOTools.fileToSeq(SeqIOTools.java:1025)
at org.biojava.bio.seq.io.SeqIOTools.fileToBiojava(SeqIOTools.java:820)
at org.biojava.bio.seq.io.SeqIOTools.fileToBiojava(SeqIOTools.java:787)
at GenomeApplet.init(GenomeApplet.java:34)
at sun.applet.AppletPanel.run(AppletPanel.java:344)
at java.lang.Thread.run(Thread.java:484)
Could you advise, I had already changed the java.policy file to grant the permission. but the error remains.
Thanking you,
Shuvankar Mukherjee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://portal.open-bio.org/pipermail/biojava-dev/attachments/20031125/2fea39bc/attachment-0001.htm
More information about the biojava-dev
mailing list