java.lang.IllegalAccessError [message #794228] |
Wed, 08 February 2012 22:24  |
Eclipse User |
|
|
|
Hi all!
I just signed up with a puzzling problem. I know this problem is not new, there are lots of other post concerning this error. I'm afraid non of them quite fit my problem.
I'm tasked to setup an online tool. I have not developed this tool. I'm on ubuntu 10.04. The tool itself was developed in fedora and the person who develop never encountered this problem. The tool has a html/php webfront for user input. Two small java servers need to be started up for the tool to run. The first server is called the configProvider server and his task is to forward all the configuration details. This works as far as I can tell fine, no problem there.
The second servers task (phyloServer) is to receive the user input and calculating the results which are displayed in the applet. Its doing most of what it is supposed to do. For that its using a java library called jebl which is freely available at sourceforge.
Just google it because this forum wont let me post an URL.
When the user specifies its input he can choose to do an optional bootstrapping analyses. That's when things go wrong. In that case the phyloServer is supposed to start up a program called clustal2w.
Again just google it.
An exception is thrown and clustalw2 is never started up. In that case the bootstrapping analysis runs forever and never finishes. I posted the exception below
Exception in thread "Thread-1" java.lang.IllegalAccessError: tried to access class jebl.evolution.trees.GreedyRootedConsensusTreeBuilder from class nz.auckland.university.bioinformatics.dnas.phylo.TreeBuilder
at nz.auckland.university.bioinformatics.dnas.phylo.TreeBuilder.buildConsensusTree(TreeBuilder.java:227)
at nz.auckland.university.bioinformatics.dnas.phylo.TreeBuilder.buildBootstrappedTree(TreeBuilder.java:128)
at nz.auckland.university.bioinformatics.dnas.phylo.bootstrapanalysis.BootstrapAnalysis.run(BootstrapAnalysis.java:56)
at nz.auckland.university.bioinformatics.dnas.phylo.bootstrapanalysis.BootstrapAnalysisWorker.run(BootstrapAnalysisWorker.java:22)
at java.lang.Thread.run(Thread.java:662)
Neverthless I belief that the code is correct, because when I compile and startup the phyloserver from within an eclipse project the bootstrapping works perfectly. The same sourcecode exported into an executable jar file and it does not work anymore. Looking the error up in the net gives a few hints whats going on. I tried around changing the java versions of the jre (in eclipse and my system) and recompiling the jebl library within eclipse. No change.
Can anyone think of what eclipse is doing different which could be an indication whats going wrong?
Every answer is much appreciated.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04673 seconds