"Student.java": Error #: 200 : ')' expected at line 7, column 24

Hi all, i am getting an error message 200 while trying to compile the program below. Please can someone help me to point out my mistake please?
public class Student extends Thread {
private int id;           // student id; can take the values 1 or 2
private Unit unit;           // the Unit they are studying
// code for two-argument constructor
public Student(int id 1, int id 2){
    int id 1=student 1;
    int id 2=student 2;
public void run() {
    for (int session = 1; session < 4; session++) {
      unit.revise(id,session);
      System.out.println("Student " + id + " has TV break number " + session);
      try {
        Thread.sleep(5);
        }catch (InterruptedException e) {}
  public static void main(String[] args) {
    Unit courseUnit = new Unit();
    // code to create and start two threads (the students)
    Student1=new Student;
    Student2=new Student;

Thanks for your help. I have to confess that i thought that programming in java language was easy, now i know better. I am still getting the error messages. I have included the Unit code and Student code. I hope i will succeed in overcoming this first major battle.
public class Unit {
  public void revise(int id, int session) {
    System.out.println("Student " + id + " starts revision session " + session);
    try{
      Thread.sleep(5*id);
      }catch(InterruptedException e){}
    System.out.println("Student " + id + " stops revision session " + session);
  private int id;           // student id; can take the values 1 or 2
private Unit unit;           // the Unit they are studying
// code for two-argument constructor
    Student id1=student1;
    Student id2=student2;
public void run() {
    for (int session = 1; session < 4; session++) {
      unit.revise(id,session);
      System.out.println("Student " + id + " has TV break number " + session);
      try {
        Thread.sleep(5);
        }catch (InterruptedException e) {}
  public static void main(String[] args) {
    Unit courseUnit = new Unit();
    // code to create and start two threads (the students)
    Student student1 = new Student();
    Student student2 = new Student();
The error messages are:
"Student.java": Error #: 300 : variable student1 not found in class Student at line 7, column 17
"Student.java": Error #: 300 : variable student2 not found in class Student at line 8, column 17
Thanks for your help as i look forward to picking up from your(and others) candid advise

Similar Messages

  • Jbuilder8 Error 200: '.' expected at line 2, column 8

    Hi, my class looks like this:
    import mypackage.*;
    import myclass;
    class Test
    The error points to the line ' import myclass; ', myclass.java is under my working directory directly, the class is working in previous version of jbuilder.
    I have no idea why it does not work in jbuilder 8. Any help is appreciated. Thanks.

    import myclass;Package-less imports are now explicitly banned in 1.4 and later.
    It's amazing how much of a howl there has been about this in the JBuilder newsgroups. Even explaining that this has always been unsupported, and quoting the language in the JLS, doesn't seem to help.
    Bottom line: USE PACKAGES. ALWAYS. If not, at least don't do explicit imports of package-less classes - it's forbidden, and the compiler now checks.

  • JDBC receiver error:ORA-06550: line 1, column 7: PL/SQL

    Hi,
    I am geting this error in JDBC Receiver adapter. when  i call the stored procedure.
    Last week it works fine.But i today i faced this error.
    Error Unable to execute statement for table or stored procedure. 'spec_utilities.SP_DELETE(Structure 'unassign') due to java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00201: identifier 'SPEC_UTILITIES.SP_DELETE' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored 
    Error JDBC message processing failed; reason Error processing request in sax parser: Error when executing statement for table/stored proc. 'spec_utilities.SP_DELETE(structure 'unassign'): java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00201: identifier 'SPEC_UTILITIES.SP_DELETE' must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored 
    Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'spec_utilities.SP_DELETE (structure 'unassign'): java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00201: identifier 'SPEC_UTILITIES.SP_DELETE'must be declared ORA-06550: line 1, column 7: PL/SQL: Statement ignored 
    My stored procedure structure is:
    <unassign>
    <SP_DELETE action="EXECUTE">
      <table>spec_utilities.SP_DELETE</table>
      <PAE isInput="true" type="VARCHAR">447848</pAEIC>
      <SKEY isInput="true" type="NUMERIC">4548545</pSKEY>
      <USER isOutput="true" type="VARCHAR" />
      <UNIT  isOutput="true" type="VARCHAR" />
      <EMAIL isOutput="true" type="VARCHAR" />
      </SP_DELETE>
      </unassign>
    Can you suggest me where is this error.
    Thank you
    Sateesh

    Hi,
       if it was executing fine earlier then check the below
    1. user permissions level at the database..whether it has access to the required SP or not..
    2. Check if there was any change in the SP..which has not been communicated...
    HTH
    Rajesh

  • Error message in configurin​g profession​nal email account (Invalid\e​scape: line 1 column 271 (char 271).)

    Hi,
    I have an issue I am not able to solve.
    When configuring a pro email in the advanced menu, I have the below error message :
    Invalid\escape: line 1 column 271 (char 271).
    I have checked the email information (server adress, password and so on), everything is fine...
    Cannot find the meaning of the message error.
    Thanks a lot for your help.
    Regards

    Hi..
    For Work Account ::
    User ID : Email Adress ( [email protected])
    Activation Password : Provided from the IT Admin
    Server Adress : provided by It Admin ( S3459908)
    For Microsoft Exchange ActiveSync
    Description :  Your Desired Name (eg.  Your Company name)
    Domain : Your Organizatin Domain name
    Username: Credentials of your Account
    Email Address: Your Email Address
    Password: Password for the Email
    Server Adress: Provided by the IT Admin
    Port: Provided by the IT admin
    Use SSL : ON/OFF as per your IT Admin..
    Please feedback me in this regard...
    Thanks.. 
    Please update the result after applied..
    Thanks

  • Error Error oracle.iam.platform.context.ContextManager BEA-000000 IAM-0030007 org.xml.sax.SAXParseException: Line 1, Column 1 : XML-20108: (Fatal Error) Start of root element expected. error in oim logs

    Hi ,
    I am getting the below error at times in oim logs not able to find the reason please help.
    <Error> <oracle.iam.platform.context.ContextManager> <BEA-000000> <IAM-0030007
    org.xml.sax.SAXParseException: <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
        at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
        at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
        at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:414)
        at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:355)
        at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
    <XELLERATE.DATABASE> <BEA-000000> <Class/Method: tcDataBaseClient/bindToInstance encounter some problems: java.lang.ClassNotFoundException: weblogic/jndi/WLInitialContextFactory
    oracle.iam.platform.utils.ServiceInitializationException: java.lang.ClassNotFoundException: weblogic/jndi/WLInitialContextFactory
        at oracle.iam.platform.Platform.getService(Platform.java:265)
        at oracle.iam.platform.OIMInternalClient.getService(OIMInternalClient.java:188)
        at com.thortech.xl.dataaccess.tcDataBaseClient.bindToInstance(tcDataBaseClient.java:151)
        at com.thortech.xl.client.dataobj.tcDataBaseClient.recoverConnection(tcDataBaseClient.java:401)
        at com.thortech.xl.client.dataobj.tcDataBaseClient.getInterface(tcDataBaseClient.java:385)
        at com.thortech.xl.dataaccess.tcDataBaseClient.close(tcDataBaseClient.java:349)
        at com.thortech.xl.server.tcDataBaseClient.close(tcDataBaseClient.java:62)
        at com.thortech.xl.server.tcDataBaseClient.finalize(tcDataBaseClient.java:43
    Caused By: java.lang.ClassNotFoundException: weblogic/jndi/WLInitialContextFactory
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:247)
        at com.sun.naming.internal.VersionHelper12.loadClass(Ve
    <Class/Method: tcDataBaseClient/getInterface encounter some problems: RuntimeException encountered. Reconnecting!
    java.lang.NullPointerException
        at oracle.iam.platform.context.ContextManager.getCounter(ContextManager.java:697)
        at oracle.iam.platform.context.ContextManager.incrementCounter(ContextManager.java:684)
    <Error> <XELLERATE.DATABASE> <BEA-000000> <Class/Method: tcDataBaseClient/close encounter some problems: Bean has been deleted.
    javax.ejb.NoSuchEJBException: Bean has been deleted.
    Thanks,
    Sahana

    hi Antara
    about "... Though I have imported the following JDK parsers in the code , the Oracle's SAX parser is taking other inside the application server ..."
    If you have used the SAXParserFactory.newSAXParser() method to get a parser, the documentation for this method says "Creates a new instance of a SAXParser using the currently configured factory parameters.".
    So you might get a different parser in a different environment.
    regards
    Jan Vervecken

  • Microsoft JScript Runtime Error, Line: 0, Error: Object Expected?

    Hi,
    I just got a new computer and I have Java 2 Runtime Environment SE v 1.4.2. I keep having problems with it. It says, "Microsoft JScript Runtime Error, Line:0, Error: Object Expected. I have no idea what to do or what is actually causing this. It shows up randomly when I have been using "Dell Jukebox by musicmatch" or even when I'm surfing. Can someone please help me fix the problem?
    "Jay"

    Hi,
    I just got a new computer and I have Java 2 Runtime
    Environment SE v 1.4.2. I keep having problems with
    it. It says, "Microsoft JScript Runtime Error, Line:0,
    Error: Object Expected. I have no idea what to do or
    what is actually causing this. This is not a java err. It is a scripting error.
    It shows up randomly
    when I have been using "Dell Jukebox by musicmatch" or
    even when I'm surfing. Can someone please help me fix
    the problem?
    "Jay" Someone can certainly help you - contact the website's webmaster & send them the err. They wrote it; they have to fix it.

  • TempInit, Line 2, Column 14     1086: Syntax error: expecting semicolon before minus.

    Hey! First time posting here, I am a student taking classes on flash. I use Flash CC and obviously AS3. I've got a project I am working on, and have encountered a very frustrating problem. I have emailed my teacher but I thought I would ask around the web as well.
    I get a compiler error saying:
    tempInit, Line 2, Column 14
    1086: Syntax error: expecting semicolon before minus.
    I have tried commenting out the entire script, and I still get the same error. The weird thing is there is nothing on line 2, column 14. Line two simply reads:
    stop();
    I've also considered that I had some symbols named after keywords or with illegal characters that could somehow be causing this issue. It turns out I did, so I changed all suspected items to more appropriate names. Yet even after I did this, the error persists. I cannot find any other explanation as to why this error occurs at this point, hence why I am turning to the internet.
    A notable factor here is that I have imported items from illustrator cs5, some of which had illustrator symbols included. These were the culprits with the first issue of illegal and keyword names; examples: "Mountain1-2" and "New Symbol"
    Many thanks,
    Lee
    I'll paste my code here:
    import flash.events.MouseEvent;
    stop();
    var Htraesea_mc:Htraesea = new Htraesea();
    /*Aisa*/
    var TheEverlands_btn:TheEverlands = new TheEverlands();
    var everlandsdesc_mc:everlandsdesc = new everlandsdesc();
    var TheClaruslands_btn:TheClaruslands = new TheClaruslands();
    var claurslandsdesc_mc:claurslandsdesc = new claurslandsdesc();
    var TheDwarvallisLands_btn:TheDwarvallisLands = new TheDwarvallisLands();
    var dwarvallisdesc_mc:dwarvallisdesc = new dwarvallisdesc();
    var TheGreyLands_btn:TheGreyLands = new TheGreyLands();
    var greylandsdesc_mc:greylandsdesc = new greylandsdesc();
    var TheLandsofGineder_btn:TheLandsofGineder = new TheLandsofGineder();
    var TheLandsofHumara_btn:TheLandsofHumara = new TheLandsofHumara();
    var humaradesc_mc:humaradesc = new humaradesc();
    var TheLandsofJurgious_btn:TheLandsofJurgious = new TheLandsofJurgious();
    var TheLandsofMiddterrus_btn:TheLandsofMiddterrus = new TheLandsofMiddterrus();
    var TheLandsofOtrannas_btn:TheLandsofOtrannas = new TheLandsofOtrannas();
    var TheLandsofWeshan_btn:TheLandsofWeshan = new TheLandsofWeshan();
    var TheLowerAltiorlands_btn:TheLowerAltiorlands = new TheLowerAltiorlands();
    var TheMiddaltiorlands_btn:TheMiddaltiorlands = new TheMiddaltiorlands();
    var TheStarkLands_btn:TheStarkLands = new TheStarkLands();
    var starklandsdesc_mc:starklandsdesc = new starklandsdesc();
    var TheUnderlands_btn:TheUnderlands = new TheUnderlands();
    var TheUpperAltiorlands_btn:TheUpperAltiorlands = new TheUpperAltiorlands();
    var TheViridilands_btn:TheViridilands = new TheViridilands();
    var TheWestlands_btn:TheWestlands = new TheWestlands();
    var westlandsdesc_mc:westlandsdesc = new westlandsdesc();
    var TheBroadlands_btn:TheBroadlands = new TheBroadlands();
    /*Acierma*/
    var TheBleaklands_btn:TheBleaklands = new TheBleaklands();
    var bleaklandsdesc_mc:bleaklandsdesc = new bleaklandsdesc();
    var TheConvullands_btn:TheConvullands = new TheConvullands();
    var TheInfractlands_btn:TheInfractlands = new TheInfractlands();
    var infractdesc_mc:infractdesc = new infractdesc();
    var TheLandsofFragmenus_btn:TheLandsofFragmenus = new TheLandsofFragmenus();
    var fragmenusdesc_mc:fragmenusdesc = new fragmenusdesc();
    var TheLandsofJunosto_btn:TheLandsofJunosto = new TheLandsofJunosto();
    var junostodesc_mc:junostodesc = new junostodesc();
    var TheLandsofMusttrupis_btn:TheLandsofMusttrupis = new TheLandsofMusttrupis();
    var TheLandsofRelinas_btn:TheLandsofRelinas = new TheLandsofRelinas();
    var TheLandsofSundara_btn:TheLandsofSundara = new TheLandsofSundara();
    var sundaradesc_mc:sundaradesc = new sundaradesc();
    var TheLaniatosLands_btn:TheLaniatosLands = new TheLaniatosLands();
    var TheRiftLands_btn:TheRiftLands = new TheRiftLands();
    var riftlandsdesc_mc:riftlandsdesc = new riftlandsdesc();
    var TheSardustLands_btn:TheSardustLands = new TheSardustLands();
    var TheSypelands_btn:TheSypelands = new TheSypelands();
    var sypelandsdesc_mc:sypelandsdesc = new sypelandsdesc();
    var TheTruntusLands_btn:TheTruntusLands = new TheTruntusLands();
    var TheUmorousLands_btn:TheUmorousLands = new TheUmorousLands();
    var TheVulnerosLands_btn:TheVulnerosLands = new TheVulnerosLands();
    /*Oceania*/
    var Unusra_btn:Unusra = new Unusra();
    var unusradesc_mc:unusradesc = new unusradesc();
    var Risura_btn:Risura = new Risura();
    var Jusurua_btn:Jusurua = new Jusurua();
    var Desura_btn:Desura = new Desura();
    var FrostPeakIsland_btn:FrostPeakIsland = new FrostPeakIsland();
    var frostpeakislanddesc_mc:frostpeakislanddesc = new frostpeakislanddesc();
    var Cornuia_btn:Cornuia = new Cornuia();
    var cornuiadesc_mc:cornuiadesc = new cornuiadesc();
    var Caligan_btn:Caligan = new Caligan();
    var Acitra_btn:Acitra = new Acitra();
    var acitradesc_mc:acitradesc = new acitradesc();
    Htraesea_mc.x = 0;
    Htraesea_mc.y = 0;
    /*Aisa*/
    TheEverlands_btn.x = 1088.60;
    TheEverlands_btn.y = 405.80;
    TheClaruslands_btn.x = 926.40;
    TheClaruslands_btn.y = 395.75;
    TheDwarvallisLands_btn.x = 593.05;
    TheDwarvallisLands_btn.y = 468.00;
    TheGreyLands_btn.x = 895.15;
    TheGreyLands_btn.y = 448.95;
    TheLandsofGineder_btn.x = 593.05;
    TheLandsofGineder_btn.y = 369.7;
    TheLandsofHumara_btn.x = 808.25;
    TheLandsofHumara_btn.y = 570.70;
    TheLandsofJurgious_btn.x = 542.30;
    TheLandsofJurgious_btn.y = 577.25;
    TheLandsofMiddterrus_btn.x = 686.95;
    TheLandsofMiddterrus_btn.y = 367.20;
    TheLandsofOtrannas_btn.x = 829.30;
    TheLandsofOtrannas_btn.y = 330.05;
    TheLandsofWeshan_btn.x = 739.75;
    TheLandsofWeshan_btn.y = 264.15;
    TheLowerAltiorlands_btn.x = 839.05;
    TheLowerAltiorlands_btn.y = 251.95;
    TheMiddaltiorlands_btn.x = 815.65;
    TheMiddaltiorlands_btn.y = 114.65;
    TheStarkLands_btn.x = 1055.25;
    TheStarkLands_btn.y = 501.05;
    TheUnderlands_btn.x = 593.05;
    TheUnderlands_btn.y = 699.80;
    TheUpperAltiorlands_btn.x = 950.10;
    TheUpperAltiorlands_btn.y = 114.65;
    TheViridilands_btn.x = 855.55;
    TheViridilands_btn.y = 652.30;
    TheWestlands_btn.x = 665.65;
    TheWestlands_btn.y = 227.35;
    TheBroadlands_btn.x = 795.3;
    TheBroadlands_btn.y = 414.5;
    /*Acierma*/
    TheBleaklands_btn.x = 297.95;
    TheBleaklands_btn.y = 429.45;
    TheConvullands_btn.x = 307.65;
    TheConvullands_btn.y = 209.6;
    TheInfractlands_btn.x = 178.4;
    TheInfractlands_btn.y = 218.05;
    TheLandsofFragmenus_btn. x = 162.40;
    TheLandsofFragmenus_btn.y = 376.45;
    TheLandsofJunosto_btn. x = 232.4;
    TheLandsofJunosto_btn.y = 762.20;
    TheLandsofMusttrupis_btn. x = 138.05;
    TheLandsofMusttrupis_btn.y = 524.45;
    TheLandsofRelinas_btn. x = 134.4;
    TheLandsofRelinas_btn.y = 472.45;
    TheLandsofSundara_btn.x = 178.4;
    TheLandsofSundara_btn.y = 588.50;
    TheLaniatosLands_btn.x = 284.15;
    TheLaniatosLands_btn.y = 316.80;
    TheRiftLands_btn.x = 272.1;
    TheRiftLands_btn.y = 536.15;
    TheSardustLands_btn.x=168.05;
    TheSardustLands_btn.y = 670.50;
    TheSypelands_btn.x = 261.4;
    TheSypelands_btn.y = 387.25;
    TheTruntusLands_btn.x = 380.1;
    TheTruntusLands_btn.y = 578.50;
    TheUmorousLands_btn.x = 316.45;
    TheUmorousLands_btn.y = 650.15;
    TheVulnerosLands_btn.x = 140.05;
    TheVulnerosLands_btn.y = 298.05;
    /*Oceania*/
    Acitra_btn.x = 422.60;
    Acitra_btn.y = 1.10;
    Caligan_btn.x = 18.15;
    Caligan_btn.y = 829.80;
    Cornuia_btn.x = 450.45;
    Cornuia_btn.y =832.20;
    FrostPeakIsland_btn.x = 898.45;
    FrostPeakIsland_btn.y = 79.50;
    Desura_btn.x = 959.35;
    Desura_btn.y = 835.55;
    Jusurua_btn.x = 966.60;
    Jusurua_btn.y = 822.15;
    Risura_btn.x = 1041.85;
    Risura_btn.y = 843.05;
    Unusra_btn.x = 715.95;
    Unusra_btn.y = 794.95;
    mainscroll_btn.x = 572.10;
    mainscroll_btn.y = 1012.25;
    addChild(Htraesea_mc);
    /*Aisa*/
    addChild(TheLandsofJurgious_btn);
    addChild(TheUnderlands_btn);
    addChild(TheLandsofMiddterrus_btn);
    addChild(TheDwarvallisLands_btn);
    addChild(TheLandsofGineder_btn);
    addChild(TheLandsofHumara_btn);
    addChild(TheViridilands_btn);
    addChild(TheBroadlands_btn);
    addChild(TheGreyLands_btn);
    addChild(TheClaruslands_btn);
    addChild(TheWestlands_btn);
    addChild(TheLandsofOtrannas_btn);
    addChild(TheStarkLands_btn);
    addChild(TheEverlands_btn);
    addChild(TheMiddaltiorlands_btn);
    addChild(TheUpperAltiorlands_btn);
    addChild(TheLowerAltiorlands_btn);
    addChild(TheLandsofWeshan_btn);
    /*Acierma*/
    addChild(TheInfractlands_btn);
    addChild(TheVulnerosLands_btn);
    addChild(TheLandsofFragmenus_btn);
    addChild(TheLandsofRelinas_btn);
    addChild(TheLandsofMusttrupis_btn);
    addChild(TheConvullands_btn);
    addChild(TheLaniatosLands_btn);
    addChild(TheSypelands_btn);
    addChild(TheBleaklands_btn);
    addChild(TheRiftLands_btn);
    addChild(TheLandsofSundara_btn);
    addChild(TheTruntusLands_btn);
    addChild(TheUmorousLands_btn);
    addChild(TheSardustLands_btn);
    addChild(TheLandsofJunosto_btn);
    /*Oceania*/
    addChild(Acitra_btn);
    addChild(Caligan_btn);
    addChild(Cornuia_btn);
    addChild(FrostPeakIsland_btn);
    addChild(Desura_btn);
    addChild(Jusurua_btn);
    addChild(Risura_btn);
    addChild(Unusra_btn);
    TheEverlands_btn.addEventListener(MouseEvent.CLICK,goeverlands);
    function goeverlands(evt:MouseEvent):void {
              everlandsdesc_mc.x = 309.9;
              everlandsdesc_mc.y = 554.95;
              addChild(everlandsdesc_mc);
    everlandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme);
    function closeme(evt:MouseEvent):void {
              removeChild(everlandsdesc_mc);
    TheBleaklands_btn.addEventListener(MouseEvent.CLICK,gobleaklands);
    function gobleaklands(evt:MouseEvent):void {
              bleaklandsdesc_mc.x = 309.9;
              bleaklandsdesc_mc.y = 554.95;
              addChild(bleaklandsdesc_mc);
    bleaklandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme1);
    function closeme1(evt:MouseEvent):void {
              removeChild(bleaklandsdesc_mc);
    Acitra_btn.addEventListener(MouseEvent.CLICK,goacitra);
    function goacitra(evt:MouseEvent):void {
              acitradesc_mc.x = 309.9;
              acitradesc_mc.y = 554.95;
              addChild(acitradesc_mc);
    acitradesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme2);
    function closeme2(evt:MouseEvent):void {
              removeChild(acitradesc_mc);
    TheClaruslands_btn.addEventListener(MouseEvent.CLICK, goclaruslands);
    function goclaruslands(evt:MouseEvent):void {
              claurslandsdesc_mc.x = 309.9;
              claurslandsdesc_mc.y = 554.95;
              addChild(claurslandsdesc_mc);
    claurslandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme3);
    function closeme3(evt:MouseEvent):void {
              removeChild(claurslandsdesc_mc);
    Cornuia_btn.addEventListener(MouseEvent.CLICK,gocornuia);
    function gocornuia(evt:MouseEvent):void {
              cornuiadesc_mc.x = 309.9;
              cornuiadesc_mc.y = 554.95;
              addChild(cornuiadesc_mc);
    cornuiadesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme4);
    function closeme4(evt:MouseEvent):void {
              removeChild(cornuiadesc_mc);
    TheDwarvallisLands_btn.addEventListener(MouseEvent.CLICK,godwarvallis);
    function godwarvallis(evt:MouseEvent):void {
              dwarvallisdesc_mc.x = 309.9;
              dwarvallisdesc_mc.y = 554.95;
              addChild(dwarvallisdesc_mc);
    dwarvallisdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme5);
    function closeme5(evt:MouseEvent):void {
              removeChild(dwarvallisdesc_mc);
    TheLandsofFragmenus_btn.addEventListener(MouseEvent.CLICK,gofragmenus);
    function gofragmenus(evt:MouseEvent):void {
              fragmenusdesc_mc.x = 309.9;
              fragmenusdesc_mc.y = 554.95;
              addChild(fragmenusdesc_mc);
    fragmenusdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme6);
    function closeme6(evt:MouseEvent):void {
              removeChild(fragmenusdesc_mc);
    FrostPeakIsland_btn.addEventListener(MouseEvent.CLICK, gofrostpeakisland);
    function gofrostpeakisland(evt:MouseEvent):void {
              frostpeakislanddesc_mc.x = 309.9;
              frostpeakislanddesc_mc.y = 554.95;
              addChild(frostpeakislanddesc_mc);
    frostpeakislanddesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme7);
    function closeme7(evt:MouseEvent):void {
              removeChild(frostpeakislanddesc_mc);
    TheLandsofHumara_btn.addEventListener(MouseEvent.CLICK,gohumara);
    function gohumara(evt:MouseEvent):void {
              humaradesc_mc.x = 309.9;
              humaradesc_mc.y = 554.95;
              addChild(humaradesc_mc);
    humaradesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme8);
    function closeme8(evt:MouseEvent):void {
              removeChild(humaradesc_mc);
    TheInfractlands_btn.addEventListener(MouseEvent.CLICK,goinfract);
    function goinfract(evt:MouseEvent):void {
              infractdesc_mc.x = 309.9;
              infractdesc_mc.y = 554.95;
              addChild(infractdesc_mc);
    infractdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme9);
    function closeme9(evt:MouseEvent):void {
              removeChild(infractdesc_mc);
    TheLandsofJunosto_btn.addEventListener(MouseEvent.CLICK,gojunosto);
    function gojunosto(evt:MouseEvent):void {
              junostodesc_mc.x = 309.9;
              junostodesc_mc.y = 554.95;
              addChild(junostodesc_mc);
    junostodesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme10);
    function closeme10(evt:MouseEvent):void {
              removeChild(junostodesc_mc);
    TheRiftLands_btn.addEventListener(MouseEvent.CLICK, goriftlands);
    function goriftlands(evt:MouseEvent):void {
              riftlandsdesc_mc.x = 309.9;
              riftlandsdesc_mc.y = 554.95;
              addChild(riftlandsdesc_mc);
    riftlandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme11);
    function closeme11(evt:MouseEvent):void {
              removeChild(riftlandsdesc_mc);
    TheStarkLands_btn.addEventListener(MouseEvent.CLICK,gostarklands);
    function gostarklands(evt:MouseEvent):void {
              starklandsdesc_mc.x = 309.9;
              starklandsdesc_mc.y = 554.95;
              addChild(starklandsdesc_mc);
    starklandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme12);
    function closeme12(evt:MouseEvent):void {
              removeChild(starklandsdesc_mc);
    TheLandsofSundara_btn.addEventListener(MouseEvent.CLICK,gosundara);
    function gosundara(evt:MouseEvent):void {
              sundaradesc_mc.x = 309.9;
              sundaradesc_mc.y = 554.95;
              addChild(sundaradesc_mc);
    sundaradesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme13);
    function closeme13(evt:MouseEvent):void {
              removeChild(sundaradesc_mc);
    TheSypelands_btn.addEventListener(MouseEvent.CLICK,gosypelands);
    function gosypelands(evt:MouseEvent):void {
              sypelandsdesc_mc.x = 309.9;
              sypelandsdesc_mc.y = 554.95;
              addChild(sypelandsdesc_mc);
    sypelandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme14);
    function closeme14(evt:MouseEvent):void {
              removeChild(sypelandsdesc_mc);
    Unusra_btn.addEventListener(MouseEvent.CLICK, gounusra);
    function gounusra(evt:MouseEvent):void {
              unusradesc_mc.x = 309.9;
              unusradesc_mc.y = 554.95;
              addChild(unusradesc_mc);
    unusradesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme15);
    function closeme15(evt:MouseEvent):void {
              removeChild(unusradesc_mc);
    TheWestlands_btn.addEventListener(MouseEvent.CLICK, gowestlands);
    function gowestlands(evt:MouseEvent):void {
              westlandsdesc_mc.x = 309.9;
              westlandsdesc_mc.y = 554.95;
              addChild(westlandsdesc_mc);
    westlandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme16);
    function closeme16(evt:MouseEvent):void {
              removeChild(westlandsdesc_mc);
    TheGreyLands_btn.addEventListener(MouseEvent.CLICK, gogreylands);
    function gogreylands(evt:MouseEvent):void {
              greylandsdesc_mc.x = 309.9;
              greylandsdesc_mc.y = 554.95;
              addChild(greylandsdesc_mc);
    greylandsdesc_mc.close_btn.addEventListener(MouseEvent.CLICK, closeme17);
    function closeme17(evt:MouseEvent):void {
              removeChild(greylandsdesc_mc);

    it appears i may have a corrupt image as a symbol in my library. I will have to replace each one manually one by one to see if this is indeed the problem. I am prepearing to leave out of town for the weekend, but I will update this as soon as a figure it out.
    Thanks again

  • '(' expected on line 7 error ?

    Hi All,
    I've written some code to print out three columns of numbers - when I run javac to compile I'm receiving a '(' expected on line 7 error. It looks to me like my beginning and ending parentheses on that line are correct. Any suggestions?
    Thanks!!
    import java.awt.*;
    import java.applet.*;
    public class SquareCube extends Applet
         public static void main printNumbers(int number, int ypos,
    Graphics g)
              g.drawString("" + number, ypos, 10);
              g.drawString("" + number*number, ypos, 30);
              g.drawString("" + number*number*number, ypos, 50);
         public void paint(Graphics g)
              g.drawString("number", 10, 10);
              g.drawString("square", 10, 30);
              g.drawString("cube", 10, 50);
              printNumbers(0, 20, g);
              printNumbers(1, 35, g);
              printNumbers(2, 50, g);
              printNumbers(3, 65, g);
              printNumbers(4, 80, g);
              printNumbers(5, 95, g);
              printNumbers(6, 110,g);
              printNumbers(7, 125,g);
              printNumbers(8, 140,g);
              printNumbers(9, 155,g);
              printNumbers(10,170,g);

    Here is the solution that I used after fiddleing around with yours. I started with an empty class, but that didn't work. Then I started again with an applet class (very basic template, but still an applet - it seems if you want an applet to show up, you have to use this template instead of an empty class). If you do this, you DON"T NEED A main at all. You shouldn't have to use a main with an Applet (by definition they use init() instead)
    Anyway, here is what I did. Didn't change much, but there is the public void init() method now.
    import java.awt.*;
    public class Cube extends java.applet.Applet
       public void paint(Graphics g)
        g.drawString("number", 10, 10);
        g.drawString("square", 10, 30);
        g.drawString("cube", 10, 50);
        printNumbers(0, 20, g);
        printNumbers(1, 35, g);
        printNumbers(2, 50, g);
        printNumbers(3, 65, g);
        printNumbers(4, 80, g);
        printNumbers(5, 95, g);
        printNumbers(6, 110,g);
        printNumbers(7, 125,g);
        printNumbers(8, 140,g);
        printNumbers(9, 155,g);
        printNumbers(10,170,g);
        public void printNumbers(int number, int ypos, Graphics g)
        g.drawString("" + number, ypos, 10);
        g.drawString("" + number*number, ypos, 30);
        g.drawString("" + number*number*number, ypos, 50);
       // public void init(){paint();
        /** Initialization method that will be called after the applet is loaded
         *  into the browser.
        public void init () {
    }

  • Help with error message: Expected end of line but got identifier

    The following is a calculated applescript step in a Filemaker script. It tells iCal to go to the date of an iCal event that the script has previously created from Filemaker. The code below keeps generating an error message: "Expected end of line but got identifier." Note: "ACTIVITY::Date" below is Filemaker's way of indicating the file name (ACTIVITY) and the field in question (date). Help appreciated.
    "tell application \" iCal\" ¶
    activate ¶
    switch view to month view ¶
    set theDate to date \"" & ACTIVITY::Date & "\" ¶
    view calendar at theDate ¶
    end tell"

    It's not clear exactly what you're aiming for here, so it's not easy to tell you how to fix it.
    At first glance I'd say you're missing a quote symbol or two, but even then it doesn't make a lot of sense without more context - for example, 'ACTIVITY::Date' isn't valid as an AppleScript variable name (you can't have a : in a variable name), and your code isn't within a Filemaker block, so it doesn't appear to relate to Filemaker, either.
    In either case the only thing that looks remotely valid to me would be:
    set theDate to date "\"" & ACTIVITY::date & "\""
    but without knowing the context of ACTIVITY::Date it's impossible to tell if this is valid, or how it differs from:
    set theDate to date ACTIVITY::Date
    (i.e., why the quotes are needed at all)

  • (error code = 200; message="Java error"; exception = [java.lang.Exception])

    Hi, I have several times tried to install ABAP Trial, but failed.
    So I need your help.
    As soon as I set up XP, I download and install the newest Java, then started installation of ABAP Trial.
    But at the end I just get an error message as belows.
    I hope you will guide me correct direction.
    Thanks for reading & Have a good day!
    (Jul 11, 2008 7:38:06 AM), Install, com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles, err, An error occurred and product installation failed.  Look at the log file C:\SAP\NSP\log.txt for details.
    (Jul 11, 2008 7:38:06 AM), Install, com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles, err, ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
    STACK_TRACE: 15
    ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.execute(StepWrapperInstallFiles.java:254)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllSteps(StepWrapperInstallFiles.java:224)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllInstallationSteps(StepWrapperInstallFiles.java:177)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.install(StepWrapperInstallFiles.java:268)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
         at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    (Jul 11, 2008 7:43:08 AM), Install, com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct, err, An error occurred and product uninstallation failed.  Look at the log file C:\SAP\NSP\log.txt for details.
    (Jul 11, 2008 7:43:08 AM), Install, com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles, err, ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
    STACK_TRACE: 15
    ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.execute(StepWrapperInstallFiles.java:254)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllSteps(StepWrapperInstallFiles.java:224)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllUninstallationSteps(StepWrapperInstallFiles.java:192)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.uninstall(StepWrapperInstallFiles.java:313)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.uninstallProductAction(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.processActionsFailed(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
         at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    Hi YUN SEOK,
    I got the same error than you when I tried to install SAP NetWeaver ABAP Trial Version. 
    Could you help me in giving exactly the link you wrote.
    https://www.sdn.sap.com/irj
    Where is located exactly the answer ?
    I looked at this link but I did not find the answer.
    So could you give me exactly the location in this link ?
    Thanks in advance.
    STD,

  • ProductException: (error code = 200; message="Java error"; exception = [jav

    hello
    Take me if you have the power to fa is that I have a good time trying to install the demo of sap, but I fail to do so últimamemente follows all the steps but in the end I get the following error java:
    productException: (error code = 200; message="Java error"; exception = java.lang.Exception)
    at com.sap.installshield.sdcstepswrapper.StepWrapperI nstallFiles.execute(StepWrapperInstallFiles.java:2 54)
    at com.sap.installshield.sdcstepswrapper.StepWrapperI nstallFiles.executeAllSteps(StepWrapperInstallFile s.java:224)
    at com.sap.installshield.sdcstepswrapper.StepWrapperI nstallFiles.executeAllInstallationSteps(StepWrappe rInstallFiles.java:177)
    at java.lang.Thread.run(Unknown Source)
    may be that the Java Virtual Machine? what virtual machine
    it is recomd
    i don´t know how to correct them
    thank you very much
    bye

    Hello,
    This looks like a known issue error code: 200
    check this document:
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/6055f523-df6e-2910-f0bf-acccbb0a7d37
    Also, please make sure the service SAPNSP_00 @ OS level is running. If not, start the service manually and proceed with the installation.
    Hope it helps,
    Regards,
    Satish.
    Edited by: Satish Arram on Oct 10, 2008 6:30 PM

  • A Runtime Error Has Occured Do you wish to Debug? Line 90 Error: Object Expected

    A Runtime Error Has Occured Do you wish to Debug? Line 90
    Error: Object Expected
    This error is recieved when trying to open "The Fan" video
    news Page from Comcast, This error appears and when you select yes
    or no, the page comes up to install Adobe Flash Player, however
    even after installing it, the error still appears when attempting
    again, even after restart, this does not occur on Firefox, only
    IE

    Also I am on Windows Vista

  • Java error [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStringBundle.GetStringFromName]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: XStringBundle :: getString :: line 17" data: no]

    I am getting this Java error every time I open FireFox when it's not in safe mode.

    Go under tools scroll down click on "options" click manage add-ons, near the top in that list will be Browser Defender toolbar, click on it then click "disable" and near the top will be a button to click to reboot--click that one.. Done.

  • Error: missing ] after element list Source File: javascript:%20[object%20XULElement] Line: 1, Column: 9 Source Code: [object XULElement]

    Can you help me out in letting me know what this means and how I can fix this? I found it in my tools menu under error console. It was listed as a warning, but then there was a option to highlight and evaluate the original warning message that was listed as
    Warning: Expected color but found 'null'. Error in parsing value for 'background-color'. Declaration dropped.
    Source File: http://www.msn.com/
    When I cut and pasted message in the code evaluate box and pressed enter the warring message became an error then stated:
    Error: missing ; before statement
    Source File: javascript:%20Warning:%20Expected%20color%20but%20found%20'null'.%20%20Error%20in%20parsing%20value%20for%20'background-color'.%20%20Declaration%20dropped.%20Source%20File:%20http://www.msn.com/%20Line:%200
    Line: 1, Column: 10
    Source Code:
    Warning: Expected color but found 'null'. Error in parsing value for 'background-color'. Declaration dropped. Source File: http://www.msn.com/ Line: 0
    I am writing to ask for guidance on what to do and how to fix this.
    I current have Firefox as my default browser. I have IE 9 and Windows 7 home ed on my HP lap top that has AOL preloaded into it as the mail provider. I am a beginner user and when I got the computer my cousin set up Mozilla and Firefox as a search browser and I like it.
    I also have norton security

    I think, the problem is with the order (in configuration file) of path to search headers:
         /opt/oracle/product/10g/10.2.0/precomp/admin/pcscfg.cfg
              sys_include=(/usr/include,/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include)
              include
              include=(/usr/include)
              include=(/opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include)
    In the filesys:
         ./usr/include/sys:
         -r--r--r-- 1 bin bin 17786 Aug 13 2007 types.h
         ./opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/4.2.0/include/sys:
         -rw-r--r-- 1 root system 18288 Mar 22 2008 types.h
         mode_t came from:
         #include <sys/types.h>
    sys/types.h:
         * POSIX Extensions
         typedef unsigned int uint_t;
         typedef unsigned long ulong_t;
         * POSIX and XOPEN Declarations
         #if defined(_LP64) || defined(_I32LPx)
         typedef uint_t mode_t; /* file attribute type */
         #else
         typedef ulong_t mode_t; /* (historical version) */
         #endif

  • Org.xml.sax.SAXParseException: Line 1, Column 1 : XML-0108: (Fatal Error)

    Hi ,
    I am using SAX parser in a java code , which compiles and parses an xml correctly in the local JVM.
    But the same code in OC4J(10g) - version 9.0.4.2 throws the following exception when traced the error stack.
    08/04/04 17:48:40 Loading file workingday.xml from directory ========================== :::java.io.BufferedInputStream@bd4e3c
    08/04/04 17:48:40 Read the xml into instream => STEP II
    08/04/04 17:48:40 Read the xml into instream => STEP II
    08/04/04 17:48:40 adding to the bankholiday list
    org.xml.sax.SAXParseException: <Line 1, Column 1>: XML-0108: (Fatal Error) Start of root element expected.
    08/04/04 17:48:40 at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:226)
    08/04/04 17:48:40 at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:162)
    08/04/04 17:48:40 at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:305)
    08/04/04 17:48:40 at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:267)
    08/04/04 17:48:40 at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
    08/04/04 17:48:40 at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:286)
    08/04/04 17:48:40 at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:224)
    Though I have imported the following JDK parsers in the code , the Oracle's SAX parser is taking other inside the application server and throwing the above error for an xml , which is absolutely alright.
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.SAXParserFactory;
    Please let me know why this happens? Is it a known bug in the OC4J 9.0.4.2?
    Thanks and Regards
    Antara

    hi Antara
    about "... Though I have imported the following JDK parsers in the code , the Oracle's SAX parser is taking other inside the application server ..."
    If you have used the SAXParserFactory.newSAXParser() method to get a parser, the documentation for this method says "Creates a new instance of a SAXParser using the currently configured factory parameters.".
    So you might get a different parser in a different environment.
    regards
    Jan Vervecken

Maybe you are looking for

  • Problem with bapi_po_create1 missing payment terms

    Hi All, I am using LSMW and BAPI method to create PO. I am using BAPI_PO_CREATE1 and providing the payment terms in my load file. The PO is created succesfully but the PO doesnt have the payment terms. I have the update value X. Is there anyway to fi

  • Display SSAS Pivot Table by user permissions

    Is it possible to display different data from SSAS cube in excel pivot for each user (like having the username in custom data- no kerberoes)? How? Thanks I meant without having sharepoint/performancepoint Namnami

  • Generate thread dump without sending ctrl-break on Win32

    I have a server application running as a service on Win2k (we use Service+ to do this). The output of the console is piped to a text file which we can monitor. But, I can't figure out how to generate a thread dump while running in this configuration.

  • Corrupt files in After Effects CS3

    Hi, I have a mystery. Seems like every time I create a file at 1280 x 720 using square pixel. That file will become corrupt. It would be fine one day and corrupt a week later. Corrupt meaning that it would list files missing that are there and the pr

  • Can i send in my ipod and just get them to replace the case?

    I recently dropped my ipod and there is a HUGE crack in it now. i was just wondering if it was possible to send it in to apple and get them to change the case?