Identifire expected error  and    ) expected error

I am extreamly new to java and have what most people(but me) would consider a rather simple assignment.
I have attempted to write a simple mortgage calculator with a GUI. When I attempted to compile I got the following errors
java:99 <identifire>expected
public void buttonMouseClicked(java.awt.event.mouseEvent)
java:128 ')' expected
My code is below
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
public class ScurryMortcalc1 extends JPanel
     private JButton button1;
     private JTextField textField1;
     private JTextField textField2;
     private JLabel component4;
     private JLabel component5;
     private JTextField textField3;
     private JLabel lable3;
     private JTextField textField4;
     private JLabel lable4;
     public ScurryMortcalc1()
          //construct components
          button1 = new JButton ("Calculate Payment");
          textField1 = new JTextField (5);
          textField2 = new JTextField (5);
          component4 = new JLabel ("Principal");
          component5 = new JLabel ("Interest Rate");
          textField3 = new JTextField (5);
          lable3 = new JLabel ("Term in Yrs");
          textField4 = new JTextField (5);
          lable4 = new JLabel ("Monthly Payment"); // should not be able to input text into this field
          //adjust size and set layout
          setSize (new Dimension (496, 182)); //<--- changed
          setLayout (null);
          //add components
          add (button1);
          add (textField1);
          add (textField2);
          add (component4);
          add (component5);
          add (textField3);
          add (lable3);
          add (textField4);
          add (lable4);
          //set component bounds (This will put everything exactly where you want it)
          button1.setBounds (34, 5, 100, 20);
          textField1.setBounds (35, 39, 102, 25);
          textField2.setBounds (36, 75, 100, 25);
          component4.setBounds (171, 39, 100, 25);
          component5.setBounds (170, 75, 100, 25);
          textField3.setBounds (37, 110, 100, 25);
          lable3.setBounds (171, 110, 100, 25);
          textField4.setBounds (37, 140, 100, 25);
          lable4.setBounds (169, 140, 100, 25);
     //<--- create a method that will activate the components
     public void initComponents() {
        //<---change text/mouse listener to action listener
        //<--- TextListener is not supported in JTextField (see my examples)
        //<--- MouseListener is cumbersome
        //<--- you can also use other listeners supported in Swing (see Java Tutorials)
          textField1.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
         button1.addActionListener(new ActionListener() {
                 public void actionPerformed(ActionEvent e) {
         textField2.addActionListener(new ActionListener() {
                 public void actionPerformed(ActionEvent e) {
         textField3.addActionListener(new ActionListener() {
                 public void actionPerformed(ActionEvent e) {
    public static void main (String[] args)
         //<---do this sequence
         ScurryMortcalc1 panel = new ScurryMortcalc1();
         panel.initComponents();
          JFrame frame = new JFrame ("JPanel Preview");
          frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
          frame.getContentPane().add (new ScurryMortcalc1());
          frame.setSize(600,400);  //<--- added
          frame.setVisible (true);
public void button1MouseClicked(java.awt.event.mouseEvent )
          String Principal_str = textField1.getText();
               double Principal = double.ValueOf(Principle_str).doubleCalue();
              String interestRate_str = textField2.getText();
              double interestRate = (double.valueOf(interestRate_str).doubleValue()) / 100+1;
              string Term_in_yrs_str = textField3.getText();
              double Term_in_yrs_str = double valueOf(Term_in_yrs_str).doubleValue();
              double Calc = (double) Math.pow(interestRate, Term_in_yrs);
              java.text.DecimalFormat dfm = new java.text.DecimalFormat("#,###.00"); // formats numbers to two places after the decimal
              double Monthy_Payment = (Principal * Calc * interestRate - 1)) / (12 * Calc -1));
              String Monthy_Payment_str = dfm.format((Monthy_Payment)));
                  textField4.setText(Monthly_Payment_str);
          try {
               initComponents();
          catch (Exception e) { //<---add bracket
               e.printStackTrace();
}

A bunch of syntax errors: double is not the same as Double. string is not the same as String. You have too many )'s. mouseEvent is not the same as MouseEvent. And you need to use a variable name in the button1MouseClicked method declaration - for example public void button1MouseClicked(java.awt.event.mouseEvent event)

Similar Messages

  • Bi Dashboards issue works properly some times and after not display pointers data and give un expected error and throw login window

    HI,
    I have toff situation where  we deployed bi dashboards in our site and it works some time and some times not,
    and some times it keep loading and throw a login window.
    works when
    we restart performance point service  and if not work
    we re create secure store service and generated new key and create new pps service application
    before that we stopped secure store and pps service  using c.a in application server
    we are using ssas for datasource to connect  from dashboard designer
    we have seperate server for ssas dbs
    seperate application server running: pps service and secure store service
    two web front ends:  one of running secure store
    1 Domain controller + central admin service running
    some times after 4 -5 hours bi dashboards works , we dashboards not display data and throw un expected errors,
    also when we try to connect using a dashboard designer from a seperate client machine in same domain ,we have same issue , we unable to connect to ssas datasource server, and if connect some times unable to deploy dashboards.
    we tried every thin icreased server time out values  in ssas server
    :\Program Files\Microsoft SQL Server\MSAS10_50.MSSQLSERVER\OLAP\Config\msmdsrv.ini. in this location
    and in 
    c:\program files\common files\microsoft shared\web server extensions\14\webclients\ppsmonitoringServer\client.config
    maxStringContentLength="2147483647"
    maxNameTableCharCount="2147483647"
    maxBytesPerRead="2147483647"
    maxArrayLength="2147483647"
    maxDepth="2147483647" />
    even we have same issue
    is some thing happening when dashboards working some time and  after some time not 
    is a secure store crashing or its still request pending in IIS and not authenticating to data soruce why 
    below are the logs
    Here are the results of the log analysis :
    server wfe1 
    09/01/2014 14:43:44.66 w3wp.exe (0x2128) 0x158C PerformancePoint Service PerformancePoint Services 39 Critical A PerformancePoint service application call was aborted by the caller.  This may indicate the HttpRuntime executionTimeout for the Web Application
    is configured to a value smaller than the DataSourceQueryTimeout for the PerformancePoint Service Application. 8bc44f14-acef-49bf-b1c1-2755ea7e6e24
    09/01/2014 14:43:44.66 w3wp.exe (0x2128) 0x158C PerformancePoint Service PerformancePoint Services ef8z Critical ‏‏حدث
    استثناء
    أثناء عرض
    عنصر ويب.
    قد تساعد
    معلومات التشخيص
    التالية في
    تحديد سبب
    هذه المشكلة:  Microsoft.PerformancePoint.Scorecards.BpmException: ‏‏لقد
    انتهت
    مهلة الطلب
    أو تم
    إجهاضها. تم
    تسجيل تفاصيل
    إضافية من
    أجل المسؤول.  ‏‏رمز
    خطأ "خدمات PerformancePoint"
    هو 20700. 8bc44f14-acef-49bf-b1c1-2755ea7e6e24
    09/01/2014 14:43:44.66 w3wp.exe (0x2128) 0x158C SharePoint Foundation Runtime ba3q Medium Redirect to error.aspx?ErrorText=Request%20timed%20out%2E failed. Exception: System.Web.HttpException: The remote host closed the connection. The error code is 0x800704CD.    
    at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect)     at System.Web.Hosting.IIS7WorkerRequest.ExplicitFlush()     at System.Web.HttpResponse.Flush(Boolean finalFlush)    
    at System.Web.HttpResponse.End()     at Microsoft.SharePoint.Utilities.SPUtility.Redirect(String url, SPRedirectFlags flags, HttpContext context, String queryString) 8bc44f14-acef-49bf-b1c1-2755ea7e6e24
    09/01/2014 14:47:32.69 w3wp.exe (0x2128) 0x2154 Web Content Management Publishing Cache 7363 Critical Object Cache: The super reader account utilized by the cache does not have sufficient permissions to SharePoint databases. To configure the account use
    the following command 'stsadm -o setproperty -propertyname portalsuperreaderaccount -propertyvalue account -url webappurl'. It should be configured to be an account that has Read access to the SharePoint databases.  Additional Data:  Current default
    super reader account: NT AUTHORITY\LOCAL SERVICE 78c107cd-0d4b-46f5-8e1a-0d9b4ebc7b29
    09/01/2014 15:07:40.74 w3wp.exe (0x2128) 0x209C PerformancePoint Service PerformancePoint Services 20 Critical The user "i:Anonymous" attempted to access an item in the following location:
    http://www.xxx.xxx.sa/ar-sa/Notary/Rspointer/Lists/PerformancePoint Content/28_.000  Verify that the location exists and that the user has the "Read Items" permission. 
    Exception details: Microsoft.PerformancePoint.Scorecards.BpmException: ‏‏لقد
    انتهت
    مهلة الطلب
    أو تم
    إجهاضها. تم
    تسجيل تفاصيل
    إضافية من
    أجل المسؤول.     at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location, SPListItem item)    
    at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location)     at Microsoft.PerformancePoint.Scorecards.Store.SPDataStore.SPItemGet(RepositoryLocation location, String
    spObjectTypeId) abf0263d-7333-4e4f-9cd4-a3a4dcb700c0
    09/01/2014 15:13:25.92 w3wp.exe (0x2128) 0x18DC PerformancePoint Service PerformancePoint Services 20 Critical The user "i:Anonymous" attempted to access an item in the following location:
    http://www.xxx.xxx.sa/ar-sa/Notary/Rspointer/Lists/PerformancePoint Content/218_.000  Verify that the location exists and that the user has the "Read Items" permission. 
    Exception details: Microsoft.PerformancePoint.Scorecards.BpmException: ‏‏لقد
    انتهت
    مهلة الطلب
    أو تم
    إجهاضها. تم
    تسجيل تفاصيل
    إضافية من
    أجل المسؤول.     at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location, SPListItem item)    
    at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location)     at Microsoft.PerformancePoint.Scorecards.Store.SPDataStore.SPItemGet(RepositoryLocation location, String
    spObjectTypeId) b35bf864-54f4-43fa-88a8-44cdf938bfa2
    09/01/2014 15:11:10.87 w3wp.exe (0x2128) 0x1F88 PerformancePoint Service PerformancePoint Services 20 Critical The user "i:Anonymous" attempted to access an item in the following location:
    http://www.xxx.xxx.sa/ar-sa/Courts/Bic/Lists/PerformancePoint Content/4_.000  Verify that the location exists and that the user has the "Read Items" permission. 
    Exception details: Microsoft.PerformancePoint.Scorecards.BpmException: ‏‏لقد
    انتهت
    مهلة الطلب
    أو تم
    إجهاضها. تم
    تسجيل تفاصيل
    إضافية من
    أجل المسؤول.     at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location, SPListItem item)    
    at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location)     at Microsoft.PerformancePoint.Scorecards.Store.SPDataStore.SPItemGet(RepositoryLocation location, String
    spObjectTypeId) 7cea0eb6-214f-4d7b-a6e7-97a0fe11c956
    09/01/2014 15:11:40.87 w3wp.exe (0x2128) 0x2150 PerformancePoint Service PerformancePoint Services 20 Critical The user "i:Anonymous" attempted to access an item in the following location:
    http://www.xxx.xxx.sa/ar-sa/Notary/Rspointer/Lists/PerformancePoint Content/162_.000  Verify that the location exists and that the user has the "Read Items" permission. 
    Exception details: Microsoft.PerformancePoint.Scorecards.BpmException: ‏‏لقد
    انتهت
    مهلة الطلب
    أو تم
    إجهاضها. تم
    تسجيل تفاصيل
    إضافية من
    أجل المسؤول.     at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location, SPListItem item)    
    at Microsoft.PerformancePoint.Scorecards.Store.Dao.SPListItemDao.Get(ISPFcoCache cache, Guid webSiteID, RepositoryLocation location)     at Microsoft.PerformancePoint.Scorecards.Store.SPDataStore.SPItemGet(RepositoryLocation location, String
    spObjectTypeId) 4154222b-6ff0-4b64-81b8-d08501a19278
    server wfe 2
    09/01/2014 14:50:59.05 w3wp.exe (0x1294) 0x1D88 Web Content Management Publishing Cache 7363 Critical Object Cache: The super reader account utilized by the cache does not have sufficient permissions to SharePoint databases. To configure the account use
    the following command 'stsadm -o setproperty -propertyname portalsuperreaderaccount -propertyvalue account -url webappurl'. It should be configured to be an account that has Read access to the SharePoint databases.  Additional Data:  Current default
    super reader account: NT AUTHORITY\LOCAL SERVICE 382f711d-cdad-4c5d-be88-2e7d6f36dde2
    09/01/2014 14:50:59.05 w3wp.exe (0x1294) 0x1D88 Web Content Management Publishing Cache 7363 Critical Object Cache: The super reader account utilized by the cache does not have sufficient permissions to SharePoint databases. To configure the account use
    the following command 'stsadm -o setproperty -propertyname portalsuperreaderaccount -propertyvalue account -url webappurl'. It should be configured to be an account that has Read access to the SharePoint databases.  Additional Data:  Current default
    super reader account: NT AUTHORITY\LOCAL SERVICE 382f711d-cdad-4c5d-be88-2e7d6f36dde2
    09/01/2014 14:50:59.05 w3wp.exe (0x1294) 0x1D88 Web Content Management Publishing Cache 7363 Critical Object Cache: The super reader account utilized by the cache does not have sufficient permissions to SharePoint databases. To configure the account use
    the following command 'stsadm -o setproperty -propertyname portalsuperreaderaccount -propertyvalue account -url webappurl'. It should be configured to be an account that has Read access to the SharePoint databases.  Additional Data:  Current default
    super reader account: NT AUTHORITY\LOCAL SERVICE 382f711d-cdad-4c5d-be88-2e7d6f36dde2
    09/01/2014 14:50:59.05 w3wp.exe (0x1294) 0x1D88 Web Content Management Publishing Cache 7363 Critical Object Cache: The super reader account utilized by the cache does not have sufficient permissions to SharePoint databases. To configure the account use
    the following command 'stsadm -o setproperty -propertyname portalsuperreaderaccount -propertyvalue account -url webappurl'. It should be configured to be an account that has Read access to the SharePoint databases.  Additional Data:  Current default
    super reader account: NT AUTHORITY\LOCAL SERVICE 382f711d-cdad-4c5d-be88-2e7d6f36dde2
    In the Roiscan logs we get an error in regards to the English Language pack:
    Review Items
    ============
    Error:                       Product {90140000-1015-0409-1000-0000000FF1CE} - Microsoft SharePoint Foundation 2010 1033 Lang Pack:  has unexpected
    file state(s).
    adil

    chinnijagadeesh,
    You suck!
    Signed: The rest of the universe.
    ... and quit crossposting FFS... it really is quite annoying!

  • Error "AND, OR or end of condition expected" in sap script IF statement

    Hi all,
    /:   IF  &WA_BSEG_IN-BUKRS& EQ '1000' OR &WA_BSEG_IN-BUKRS& EQ'2000'
    =    OR &WA_BSEG_IN-BUKRS& EQ '4000' OR  &WA_BSEG_IN-BUKRS& EQ '5000'
    /:   CASE  &WA_BSEG_IN-BLART&
    /:   WHEN 'DZ'
    /:   IF  &SAVE_EVENT& EQ u2018ZPR01u2019 OR &SAVE_EVENT& EQ u2018ZPR06u2019
    D1   <C4>Cheque Number/Bank Reference,,Payment Method,,Amount,,Cur,,</>
    /:   ENDIF
    /:   WHEN OTHERS
    D1   <C4>Payment Method,,Cheque Number/Bank Reference,,Amount,,Cur,,</>
    /:   ENDCASE
    /:   ENDIF
    I am getting below error in the the if statement (5th line) in sap script.
    Error is "AND, OR or end of condition expected".
    What is error in the 5th line?
    Thanks in advance

    Hi,
    In sap script, always give conditon in a sinlge line. Dont break the condition into many lines.
    /: IF &WA_BSEG_IN-BUKRS& EQ '1000' OR &WA_BSEG_IN-BUKRS& EQ'2000' OR &WA_BSEG_IN-BUKRS& EQ '4000'
    Thanks.

  • I am trying to update to iTunes 10.5 and am getting a Apple Software update error. "There is a problem with this Windows Installer Package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. ??

    I am trying to update to iTunes 10.5 and am getting a Apple Software update error. "There is a problem with this Windows Installer Package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. ?? I can't uninstall the Apple Software Update from my Control Panel. It states "Fatal error during installation" Please HELP!!!

    I am experiencing the exact same issue during the installtion process for iTunes 10.5.
    I uninstalled all Apple components but when I attempted to uninstall the Apple Software Update I received the same message: "Fatal error during installtion." I was able to repair the Apple Software Update but still could not install iTunes 10.5 afterwards.
    I have tried everything that I could find on these discussions pages as well as other suggestions on third party sites. I continue to receive the error message: "There is a problem with this Windows Installer Package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.
    I was able to uninstall and reinstall QuickTime 7.7.1. During the reinstalltion process I received the same message (There is a problem with this Windows Installer Package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.) But after clicking "OK" the installtion process was succesful. PLEASE HELP!

  • Drag and drop to target simple errors, expecting identifier?

    im creating a drag and drop. moving a guitarest name to a target e.g draging a movieclip called slash to a dynamic text box called box_slash this is my code and i get 2 stupid errors but have been up all night and cant figure it out!
    flash cs5 actionscript 3, is this code for actionscript3 i found the base for it here: http://edutechwiki.unige.ch/en/Flash_drag_and_drop_tutorial any help would be incredible as it for an assignment and im new to flash
    var hits = 0;
    // Register mouse event functions
    slash.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
    slash.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
    clapton.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
    clapton.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
    hendrix.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
    hendix.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
    // Define a mouse down handler (user is dragging)
    function mouseDownHandler(evt:MouseEvent):void {
              var object = evt.target;
              // we should limit dragging to the area inside the canvas
              object.startDrag();
    function mouseUpHandler(evt:MouseEvent):void {
              var obj = evt.target;
              // obj.dropTarget will give us the reference to the shape of
              // the object over which we dropped the circle.
              var target = obj.dropTarget;
              // If the target object exists the we ask the test_match function
              // to compare moved obj and target where it was dropped.
              if (target != null)
                        test_match(target, obj);
              obj.stopDrag();
    function test_match(target,obj) {
              // test if either one of the four pairs match
              if ( (target == box_slash && obj == slash) ||
                 (target == box_clapton && obj == clapton) ||
                   (target == box_hendrix && obj == hendrix) || )
                        // we got a hit
                        hits = hits+1;
                        textField.text = "Correct! :)";
                        // make the object transparent
                        obj.alpha = 0.5;
                        // kill its event listeners - object can't be moved anymore
                        obj.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
                        obj.removeEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);
                        // Test if we are done
                        if (hits == 3)
                                  textField.text = "Well Done";
              else
                        textField.text = "wrong! :(";
    the errors are: i have highlighted the lines
    Scene 1, Layer 'Actions', Frame 1, Line 39
    1084: Syntax error: expecting rightparen before leftbrace.
    Scene 1, Layer 'Actions', Frame 1, Line 38
    1084: Syntax error: expecting identifier before rightparen.

    Thankyou very much that does get rid of that error now i get
    Scene 1, Layer 'Actions', Frame 1, Line 42
    1120: Access of undefined property textField.
    Scene 1, Layer 'Actions', Frame 1, Line 51
    1120: Access of undefined property textField.
    Scene 1, Layer 'Actions', Frame 1, Line 56
    1120: Access of undefined property textField.
    now im sure this is simple but im as im sure you have figured out im a complete noob to flash
    textField.text = "Correct! :)";
      textField.text = "Well Done";
    textField.text = "wrong! :(";
    is this something to do with an instance name?

  • Ora-00932 "expected number got -"... error comes and goes

    We have several procedures in a package which get called by an asp.net application. The procedures return a sys_refcursor as an out param, by going OPEN param FOR big complicated query. There are about seven procedures which encapsulate different queries. Sometimes, this package seems to just get into a bad mood.
    The symptom is, every time the application calls one of the procedures, it gets back the error "ORA-00932: inconsistent datatypes: expected NUMBER got -", with the line number being the beginning of the "OPEN param FOR" statement. But then, if I open SQL Developer and fiddle around with the package, the error goes away... like, sometimes if I manually invoke one of the procedures in script form from the SQL Developer window, it returns successfully there, and then for the rest of the day the application works fine. Then on some other day the app starts getting the error again. Recompiling the package also sometimes changes the state between erroring and working.
    I don't see how the error message can be a real error if these changing circumstances allow the procedure to work sometimes but not other times with the same data. I also don't understand what "got -" is supposed to mean. I'm scared about what will happen if we ship something behaving this way. Any clues out there as to what is going on?

    I have identified a possible workaround. There's an inner subquery that goes something like this:
    SELECT fields FROM ( subquery_a UNION ALL subquery_b ) LEFT OUTER JOIN table_c ON (condition)
    This in turn gets outer-joined to another subquery. Anyway, when I rewrite this subquery so there's no inside UNION ALL, the error goes away.
    At least in a simplified case.
    [edit] It looks like I have to avoid outer Union Alls as well.
    [edit] And CONNECT_BY_ROOT.
    [edit] And if I don't join one less-essential table. These three conditions actually each lead to three separate errors, any one of which will stop ODP.Net in its tracks though the query runs fine in sql plus or sqldeveloper. Using CONNECT_BY_ROOT causes the "expected NUMBER got -" error (even though the field I'm using it on is varchar2), the UNION ALL causes the internal error, and the harmful join causes a "end-of-file on communication channel". I can cause each of these independently of the other two, and I need three separate workarounds to get my product running!
    I am starting to conclude that ODP.Net, which I was ordered to use because it's so much better than the Microsoft driver, is a sack o sewage.
    Message was edited by:
    pointy
    Message was edited by:
    pointy

  • [svn:bz-trunk] 14330: BLZ-476 : Getting different error message in server' s servlet log and console log when class is not of expected type.

    Revision: 14330
    Revision: 14330
    Author:   [email protected]
    Date:     2010-02-22 10:03:03 -0800 (Mon, 22 Feb 2010)
    Log Message:
    BLZ-476 : Getting different error message in server's servlet log and console log when class is not of expected type.
    QA: no
    Doc: no
    checkin test : pass
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-476
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/MessageBrokerServlet.java

    Hi, wbracken ,
    As known, there are 2 different questions I raised.
    Regarding the reply for the second one (Nothing to do with Chinese), I noticed there are several similar issues found in this forum, and it seems no response could solve my that problem. The related methods and classes were also well check, as well as the parameters put.
    Any way, your reponse was appreciated.
    Thank you for the help.

  • [svn:bz-trunk] 14341: BLZ-476 : Getting different error message in server' s servlet log and console log when class is not of expected type.

    Revision: 14341
    Revision: 14341
    Author:   [email protected]
    Date:     2010-02-22 13:19:46 -0800 (Mon, 22 Feb 2010)
    Log Message:
    BLZ-476 : Getting different error message in server's servlet log and console log when class is not of expected type.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-476
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/MessageBrokerServlet.java
        blazeds/trunk/modules/core/src/flex/messaging/util/ClassUtil.java

    Hi, wbracken ,
    As known, there are 2 different questions I raised.
    Regarding the reply for the second one (Nothing to do with Chinese), I noticed there are several similar issues found in this forum, and it seems no response could solve my that problem. The related methods and classes were also well check, as well as the parameters put.
    Any way, your reponse was appreciated.
    Thank you for the help.

  • Hi, im getting an error message, "expected identifier"  and another one, "expected expression" when i try a c   program in xcode

    hi, im getting an error message, "expected identifier"  and another one, "expected expression" when i try a c   program in xcode

    You have errors in your C code. If you want anyone to be able to help you, you need to post the code. You also should tell us the version of Xcode you're using and the type of Xcode project you created for the C program.

  • Error on pages: "_spBodyOnLoadFunctionNames' is undefined" and "Message: Object expected"

    We are seeing the following error on our SharePoint 2010 site:
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3;
    MS-RTC LM 8; .NET4.0E; MS-RTC EA 2)
    Timestamp: Tue, 5 Jun 2012 16:05:37 UTC
    Message: '_spBodyOnLoadFunctionNames' is undefined
    Line: 130
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: '_spBodyOnLoadFunctionNames' is undefined
    Line: 157
    Char: 1752
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: 'ContextInfo' is undefined
    Line: 547
    Char: 7
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 602
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: 'ContextInfo' is undefined
    Line: 627
    Char: 7
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 682
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: 'ContextInfo' is undefined
    Line: 735
    Char: 7
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 788
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: 'ContextInfo' is undefined
    Line: 801
    Char: 7
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 854
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: 'ContextInfo' is undefined
    Line: 867
    Char: 7
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 920
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: '_spBodyOnLoadFunctionNames' is undefined
    Line: 964
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: 'WPSC' is undefined
    Line: 1105
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 1118
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 1119
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 1120
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 1121
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 1122
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 1123
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 1124
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 1125
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 1126
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 1127
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 1128
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 1129
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 1130
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 1131
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 1132
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 1133
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 1134
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 1135
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 1136
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 1146
    Char: 119
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: 'SetupFixedWidthWebParts' is undefined
    Line: 1152
    Char: 112
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: '_spBodyOnLoadFunctionNames' is undefined
    Line: 1073
    Char: 76
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 157
    Char: 77
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 682
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Message: Object expected
    Line: 682
    Char: 1
    Code: 0
    URI: http://prodshare/Pages/default.aspx
    Sites are not loading images from the \14\TEMPLATE\IMAGES (we get the red x) and site controls are not working.
    We have two web front ends that are load balanced with the alternate access mapping setup for the prodshare url. 
    Opening prodshare from the applications server (also a wfe) does not produce all of the errors but some items are still missing.
    We’ve rerun the products configuration wizard on the wfes, performed issresets, and rebooted both servers. 
    I’ve also tried running the install software as a repair with no change.
    I'm not sure what to attempt next and would appreciate any suggestions.
    Greg Glidden

    The load balancer is setup using the F5 Sharepoint 2010 template. All traffic is directed to one server or the other.  The AAM has the nlb url as the default for the port
    80 web app.
    We have two other SP2010 environments (development and QA) setup that work appropriately.  To the best of my knowledge we've got them all setup the same on the network. 
    When we access the site using both the wfe server addresses (http://spweb1 or http://spweb2 instead of the nlb 
    http://prodshare), we get the same errors so we ruled out the nlb as the issue.   When accessing the site using the app server address
    (http://spapp1) all images and controls work correctly.  It appears to be something wrong in the setup on the web front end servers.   But running the SharePoint 2010 Products
    Configuration Wizard did not fix the issue.
    Greg Glidden

  • Trying to upgrade an itunes download and getting error message "windows installer did not finish as expected.  contact person or vendor"

    trying to upgrade my ITunes for my Iphone and cannot access content.   During upgrade getting message "windows installer did not finish as expected..contact vendor"

    Perhaps let's first try updating your Apple Software Update.
    Launch Apple Software Update ("Start > All Programs > Apple Software Update"). Does it launch and offer you a newer version of Apple Software Update? If so, choose to install just that update to Apple Software Update. (Deselect any other software offered at the same time.)
    If the ASU update goes through okay, try another iTunes install. Does it go through without the errors this time?

  • Can't find: '{' expected and Syntax error

    I did a hover caption tutorial at ultrashock.com. Scripts
    work for others. When I try to publish, I get this output:
    **Error** /dailyBackup/html/caption/Library.as: Line 1: '{'
    expected
    class
    Library
{
           
    static function delegate(object:Object,
    methodName:String):Function
           
    var method =
    object[methodName];
           
    delete
    methodName;
           
    var parameters = arguments.slice(2);
    **Error** /dailyBackup/html/caption/Caption.as: Line 1:
    Syntax error.
    import Library;
import Tween;
import
    easing.*;
import DropShadowFilter;
    I copied all the imported AS files from the Macromedia
    directories and put them in the same folder with Caption.as and
    Library.as and hotspot.fla.

    Depending if you are writing a "class" or just wanting to
    insert common code will determine if you need the .as files at
    runtime or not.
    For example, when writing a class, you have to write it in an
    external .as file and you only need the .as file during authoring
    and publishing. Once the file has been published you do not need
    the .as file any more. Classes are always referenced with the
    "import" keyword.
    If want to include common code in your Flash file that is NOT
    a class, then you would use the "include" keyword. When you
    "include" a .as file you will have to also keep it with the
    published SWF file. So you would need it during authoring and at
    runtime.
    Tim

  • String Literal and Expected error

    I've been looking at this code for who knows how long and i can't figure out why I'm getting these errors in the following code. If someone can take a look and help me out i would be VERY grateful! I'm relatively new to java..only started a week or so because of something I have to do for school
                                       SimpleChaining.Match mat = (SimpleChaining.Match)ms.get(n);
                                       scoreStmt = con.prepareStatement (
                                       "INSERT INTO T_Match(fromA, fromB, toA, toB, score, T_Protein_ID, T_Protein_T_Protein_ID) VALUES
                                       mat.getFromA() + ", " + mat.getFormB()
                                       + ", " + mat.getToA() + ", " + mat.getToB()
                                       + ", " + mat.getScore() + ", " + protein_id1 + ", " + protein_id2 + ")");
                                       scoreStmt.executeUpdate();
                                  }here is the error:
    SmithWaterman.java:392: unclosed string literal
    "INSERT INTO T_Match(fro
    mA, fromB, toA, toB, score, T_Protein_ID, T_Protein_T_Protein_ID) VALUES
    ^
    SmithWaterman.java:395: ')' expected
    + ", " + mat.getScore()
    + ", " + protein_id1 + ", " + protein_id2 + ")");

    Hi,
    The XQuery command and the XQuery expression looked fine to me. I noticed that you are using 10.2.0.1. I'd install latest patch release is 10.2.0.3 and try again.
    Regards,
    Geoff

  • Another account user is using my apple id as their rescue email. Apple know this but expect me to contact him directly rather that let lim know his error. Seem strange and a recipe for conflict. What do you think?

    Another apple account user has put my apple id as their rescue email. Apple know this but expect me to contact him directly rather that let lim know his error. Seem strange and a recipe for conflict. What do you think?

    Primary and alternate email addresses need to be verified but a rescue email address doesn't, it can be added to an account and used without being verified (you will get a verify button when adding/changing it, but the system doesn't force it to be verified). I would hope that the person using the email address as their rescue email address will notice that they aren't getting reset emails and that after contacting Support to get their security questions / password reset he/she will check what they've set it to and change it. The OP won't be able to log into the other account as he/she won't know its primary or alternate ids.

  • .class and ) expected error messages

    I know this is possibly the most pathetic question to be asked and im going to look like a dumbass but can anyone explain to me why i keep getting error messages while trying to use this method.
    endGame(fuelSold[], fuelQuant[]);
    private static int endGame(int fuelSold[], int fuelQuant[])
               int[] total = new int[4];
               int totalTotal;
               total[0] = fuelSold[0] * fuelPrice[0];
               total[1] = fuelSold[1] * fuelPrice[1];
               total[2] = fuelSold[2] * fuelPrice[2];
               total[3] = fuelSold[3] * fuelPrice[3];
               totalTotal = (total[0] + total[1] + total[2] + total [3]);
               System.out.println("This system is out of stock we have sold: ");
              System.out.println(fuelSold[0] + " litres of 4 Star Petrol totalling: " + total[0] + " pounds");
              System.out.println(fuelSold[1] + " litres of SuperGrade Petrol totalling: " + total[1] + " pounds");
              System.out.println(fuelSold[2] + " litres of Diesel totalling: " + total[2] + " pounds");
              System.out.println(fuelSold[3] + " litres of SuperGrade Diesel totalling: " + total[3] + " pounds");
              return totalTotal;
         }

    If you know for a fact that position 0 of the arrays will hold data about 4 Star Petrol, and that position 1 will hold data about SuperGrade Petrol, etc., then instead of having two arrays, you should have a class that encapsulates this data.

Maybe you are looking for

  • Recovery Disk Assistant created USB not a valid start-up disk

    Booting from Recovery Disk Assistant created USB drive gives me a slashed circle with an eternally spinning grey wheel. Googling forums for the meaning of that symbol (and the fact that the machine never boots) leads me to believe that my recovery US

  • A Little question about Pixel Aspect Ratio

    This doubt has been bugging me since I started edit HD formats.It's about pixel aspect ratio. Let's supose I have received some material in HD format,for instance.But I will deliver this material in another format, DV NTSC,for instance. The Pixel asp

  • Shipment cost :Cond. type FS00 - condition record exists (removed manualy)

    hey all , my requirement is to charge for every container (packing material) in the shipment . i coped condition FS00 (container) and called it Z100 . the condition is defined with following parameters : cond.class : B - prices calc.type : S -number

  • I lost my music app on my iphone, how do i get it back

    i lost my music app on my iphone, how do i get it back

  • Coding help reqd

    Hi friends, In MIGO, and Qty field ERFMG...i want to put a coding check that it should display a message as "Quantity should be minimum of 10% less and maximum of 20% high only",whenever the user tries to change the value of the field(existing value