Question: Problem starting and running Gmaj (MAF file viewer and manipulator)
0
gravatar for Thomas Bradley
3.5 years ago by
UEA,Norwich,UK
Thomas Bradley90 wrote:

I am trying to run Gmaj.

The usage guide is as follows:

[path1]java -jar [path2]gmaj.jar

My input command is as follows (I am in the same directory as the gmaj.jar file):

java -jar gmaj.jar

The output is as follows:

Exception in thread "main" java.lang.ClassCastException: java.lang.StringBuffer cannot be cast to java.lang.String    
    at edu.psu.bx.gmaj.MajGui.setDefaults(MajGui.java:272)
    at edu.psu.bx.gmaj.Maj.<init>(Maj.java:53)
    at edu.psu.bx.gmaj.MajMain.main(MajMain.java:86)

The software is written in Java, and depends upon the Java Runtime Environment. As I have very little familiarity with Java, I am not sure about the next step forward. Any help would be appreciated

NB: To learn more about Gmaj and the information it takes as input, see:

Blanchette, M., et al. (2004). "Aligning multiple genomic sequences with the threaded blockset aligner." Genome Research 14(4): 708-715.

ucsc jre gmaj java maf • 1.2k views
ADD COMMENTlink modified 11 months ago by RamRS23k • written 3.5 years ago by Thomas Bradley90

it looks like a programming error. You should ask the authors of the paper.

ADD REPLYlink written 3.5 years ago by Pierre Lindenbaum122k

I have exactly the same problem:

Exception in thread "main" java.lang.ClassCastException: java.lang.StringBuffer cannot be cast to java.lang.String
    at edu.psu.bx.gmaj.MajGui.setDefaults(MajGui.java:272)
    at edu.psu.bx.gmaj.Maj.<init>(Maj.java:53)
    at edu.psu.bx.gmaj.MajMain.main(MajMain.java:86)
ADD REPLYlink written 2.1 years ago by cristian230
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1453 users visited in the last hour