Error with constructor

can someone please explain why i,m getting error message, i, using jcreator, heres the code
thank you very much
import java.awt.*;
import java.awt.event.*;
class BigDept extends Frame
public static void main (String args[])
     public BigDept()
     int debt=445000000;
     debt = debt/1440;
    System.out.println("A minute's worth of debt is $" + debt);
          addWindowListener(new WindowAdapter() {
               public void windowClosing(WindowEvent e) {
                    dispose();
                    System.exit(0);
          System.out.println("Starting BigDept...");
          BigDept mainFrame = new BigDept();
          mainFrame.setSize(400, 400);
          mainFrame.setTitle("BigDept");
          mainFrame.setVisible(true);
}[endcode]
//error messageC:\Documents and Settings\Administrator\Desktop\bigDept\BigDept.java:22: illegal start of expression     public BigDept()                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

Your code should look like this:
import java.awt.*;
import java.awt.event.*;
public class BigDept extends Frame {
     public BigDept()
          int debt=445000000;     debt = debt/1440;
          System.out.println("A minute's worth of debt is $" + debt);     
          System.out.println("Starting BigDept...");     
          addWindowListener(new WindowAdapter() {
                              public void windowClosing(WindowEvent e) {
                                                  System.exit(0);}});
     public static void main (String args[])
               BigDept mainFrame = new BigDept();                         
               mainFrame.setSize(400, 400);
               mainFrame.setTitle("BigDept");          
               mainFrame.setVisible(true);     
}

Similar Messages

  • Can you tell me what should I modify to fix error with constructor coding

    public class Address{
         private String street;
         private String city;
         private String state;
         private String zipcode;
         public Address(String addressStreet, String addressCity,
              String addressState, String addressZipcode){
              street = addressStreet;
              city = addressCity;
              state = addressState;
              zipcode = addressZipcode;
         } // end constructor
         public String getStreet(){ return street;}
         public String getCity(){ return city;}
         public String getState(){ return state;}
         public String getZipcode(){ return zipcode;}
         public String toString() {
         String addressObject = street+ "," + city + "," + state + "," +zipcode;
         return addressObject;
    Second class AddressBookEntry
    public class AddressBookEntry{
         private String name;
         private Address address;
         public static int entriesCount = 0;
         public AddressBookEntry(String entryName,Address addressObject){
              name = entryName;
              address = addressObject;
         public AddressBookEntry(String entryName, String entryStreet,     String entryCity,
                                       String entryState, String entryZipcode){
              name = entryName;
              address.street = entryStreet;
              address.city = entryCity;
              address.state = entryState;
              address.zipcode= entryZipcode;
              entriesCount++;
         public void setName(String entryName){name = entryName;}
         public void setStreet(String entryStreet){address.street = entryStreet;}
         public void setCity(String entryCity){     address.city = entryCity;}
         public void setState(String entryState){address.state = entryState;}
         public void setZipcode(String entryZipcode){address.zipcode = entryZipcode;}
         public String getAddress(String entryName){return address.toString();     }
         public String getName(){return name;}
         public String toString(){
              String addressString = address.getStreet() + "\n"
                        + address.getCity() + "\n"
                        + address.getState() + "\n"
                        + address.getZipcode() +"\n";
              return addressString;
         public static int getEntriesCount(){ return entriesCount;}
    Driver Class
    import javax.swing.*;
    public class AddressBookApp{
    public static void main (String args[]){
         String choice = "";
         while(!(choice.equalsIgnoreCase("x"))){
              String name = JOptionPane.showInputDialog("Enter name : ");
              String streetAddress = JOptionPane.showInputDialog("Enter street address : ");
              String city = JOptionPane.showInputDialog("Enter city : ");
              String state = JOptionPane.showInputDialog("Enter state : ");
              String zipcode = JOptionPane.showInputDialog("Enter zipcode : ");
              AddressBookEntry bookEntry = AddressBookEntry(name,street,city,
                                                      state,zipcode);
              String message = "Name : " bookEntry.getName() "\n"
                   + "Address : \n"+bookEntry.toString();+ "\n"
                   +"Press Enter to continue or 'x' to exit.";
              choice = JOptionPane.showInputDialog(message);
    System.exit(0);
    Error Message
    AddressBookEntry.java:14: street has private access in Address
              address.street = entryStreet;
    I'm getting errors like this.Can anyone tell what I should do

    Why did you stop using [code][/code] tags?
    I fixed the error by creating package.But still I get
    error.
    Error Message :
    AddressBookApp.java:13: cannot resolve symbol
    symbol : class AddressBookEntryWhen you created the package, did you distribute compiled class files into them, and then add the directory above the package directory into your classpath?
    It looks like the compiler can't find the classes you're referring to.

  • Error in Constructor

    So i mod GTA IV with c#
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.IO;
    using System.Windows.Forms;
    using System.Drawing;
    using System.Diagnostics;
    using System.Collections.Generic;
    using GTA;
    using GTA.Native;
    namespace Beggar
    public class ambBeggar : Script
    bool tb = false;
    bool bp = true;
    Ped rped;
    AnimationSet beggarsitting;
    AnimationSet beggarstanding;
    Keys begkey;
    GTA.Timer gmoney;
    public ambBeggar()
    gmoney.Interval = 120000;
    gmoney.Tick += gmoney_Tick;
    begkey = Settings.GetValueKey("Beg", "Beggar Mod", Keys.B);
    if(!File.Exists(Settings.Filename))
    Settings.SetValue("Beg", "Beggar Mod", Keys.B);
    this.Interval = 100000;
    this.Tick += new EventHandler(ambBeggar_get);
    this.ConsoleCommand += new ConsoleEventHandler(ambBeggar_ConsoleCommand);
    public void ambBeggar_get(object sender, EventArgs e)
    if(tb == true && !rped.Exists())
    rped = World.GetClosestPed(Player.Character.Position, 30);
    public void gmoney_Tick(object sender, EventArgs e)
    if (rped.Exists())
    rped.Task.GoTo(Player.Character.Position.Around(2));
    Pickup.CreateMoneyPickup(rped.Position, 1000);
    rped.NoLongerNeeded();
    public void ambBeggar_ConsoleCommand(object sender, ConsoleEventArgs e)
    if(e.Command == "t_beggar" && tb == false)
    tb = true;
    Function.Call("REQUEST_ANIMS", "amb@beg_sitting");
    //Function.Call("REQUEST_ANIMS","amb@beg_standing");
    if (Function.Call<bool>("HAVE_ANIMS_LOADED","amb@beg_standing") /*&& Function.Call<bool>("HAVE_ANIMS_LOADED","amb@beg_sitting")*/)
    msg("Press" + begkey.ToString() + "To Beg", 5000);
    beggarsitting = new AnimationSet("amb@beg_sitting");
    //beggarstanding = new AnimationSet("amb@beg_standing");
    Player.Character.Animation.Play(beggarsitting, "beggar_sit", 8, AnimationFlags.Unknown05);
    while(tb == true)
    beg_playing();
    if(Game.isKeyPressed(begkey))
    Player.Character.Task.ClearAllImmediately();
    Player.Character.Task.PlayAnimation(beggarsitting, "beggar_beg", 8);
    gmoney.Start();
    while (bp == true) Wait(0);
    Player.Character.Task.ClearAllImmediately();
    Player.Character.Task.PlayAnimation(beggarsitting, "beggar_sit", 8,AnimationFlags.Unknown05);
    if(Player.Character.isDead)
    cleanup();
    if(e.Command == "t_beggar" && tb == true)
    cleanup();
    public void msg(string sMsg, int time)
    Function.Call("PRINT_STRING_WITH_LITERAL_STRING_NOW", new Parameter[] { "STRING", sMsg, time, 1 });
    public void beg_playing()
    if (GTA.Native.Function.Call<bool>("IS_CHAR_PLAYING_ANIM", Player.Character, "amb@beg_sitting", "beggar_beg") == false)
    bp = false;
    if (GTA.Native.Function.Call<bool>("IS_CHAR_PLAYING_ANIM", Player.Character, "amb@beg_sitting", "beggar_beg") == true)
    bp = true;
    public void cleanup()
    tb = false;
    gmoney.Stop();
    Every time i run the game i get "Error in Constructor" and "Object reference not set to an instance of an object"

    please verify 
    this.Interval = 100000;
    Interval, member of the class or no ?
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • Passivation Error with 9.0.3 Release

    I am getting a passivation error with the new 9.0.3 Release Jdeveloper. I have a page-by-page iteration set up and am selecting out of a table that has 9000 rows in it. When I first query the table I do not have any problems, but when I go towards the end I start throwing passivation errors. I run the following chunk of code:
    DcAddressView dav = (DcAddressView)this.getDcAddressView1();
    dav.setWhereClause(whereClause);
    dav.setRangeSize(pageSize);
    dav.setRangeStart(startPos);
    Row[] rows = dav.getAllRowsInRange();
    where whereClause = "1 = 1 and source_ind = '9'"; pageSize = 20; startPos = 5900
    With the whereClause used there is 5948 records in the recordset. When I debug this section of code I throw an exception as I try to setRangeStart(5900) as follows:
    oracle.jbo.PCollException: JBO-28020: Passivation error on collection DcAddressView1, collection id 0, persistent id 1
         void oracle.jbo.PCollException.throwException(java.lang.Class, java.lang.String, java.lang.Object[], java.lang.Exception)
              PCollException.java:39
         boolean oracle.jbo.pcoll.PCollNode.passivateElem(oracle.jbo.pcoll.PCollPersistable, oracle.jbo.pcoll.PCollNode, oracle.jbo.pcoll.PCollection, long)
              PCollNode.java:589
         boolean oracle.jbo.pcoll.PCollNode.passivate()
              PCollNode.java:658
         boolean oracle.jbo.pcoll.PCollection.passivateLRULeafNode()
              PCollection.java:351
         void oracle.jbo.pcoll.PCollection.checkActiveLeafLimit()
              PCollection.java:404
         void oracle.jbo.pcoll.PCollection.nodeRecentlyUsed(oracle.jbo.pcoll.PCollNode)
              PCollection.java:252
         void oracle.jbo.pcoll.PCollNode.<init>(oracle.jbo.pcoll.PCollection, oracle.jbo.pcoll.PCollNode, boolean)
              PCollNode.java:74
         oracle.jbo.pcoll.PCollNode oracle.jbo.pcoll.PCollNode.checkForSplit()
              PCollNode.java:1554
         void oracle.jbo.pcoll.PCollNode.addObject(oracle.jbo.pcoll.PCollPersistable)
              PCollNode.java:1623
         void oracle.jbo.pcoll.PCollNode.addObject(oracle.jbo.pcoll.PCollPersistable)
              PCollNode.java:1611
         void oracle.jbo.pcoll.PCollection.addElement(oracle.jbo.pcoll.PCollPersistable)
              PCollection.java:753
         boolean oracle.jbo.server.QueryCollection.fetch(int)
              QueryCollection.java:1295
         java.lang.Object oracle.jbo.server.QueryCollection.get(int)
              QueryCollection.java:831
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.getRow(int)
              ViewRowSetImpl.java:2619
         int oracle.jbo.server.ViewRowSetIteratorImpl.scrollRange(int)
              ViewRowSetIteratorImpl.java:945
         int oracle.jbo.server.ViewRowSetIteratorImpl.setRangeStart(int)
              ViewRowSetIteratorImpl.java:2161
         int oracle.jbo.server.ViewRowSetImpl.setRangeStart(int)
              ViewRowSetImpl.java:1726
         int oracle.jbo.server.ViewObjectImpl.setRangeStart(int)
              ViewObjectImpl.java:4718
         org.act.dcact.PageList org.act.dcact.bc.AddressModuleImpl.getAddressList(int, int, java.lang.String)
              AddressModuleImpl.java:84
         org.apache.struts.action.ActionForward org.act.dcact.SearchAction.execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              SearchAction.java:42
         org.apache.struts.action.ActionForward org.apache.struts.action.RequestProcessor.processActionPerform(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.action.Action, org.apache.struts.action.ActionForm, org.apache.struts.action.ActionMapping)
              RequestProcessor.java:446
         void org.apache.struts.action.RequestProcessor.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              RequestProcessor.java:266
         void org.apache.struts.action.ActionServlet.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              ActionServlet.java:1292
         void org.apache.struts.action.ActionServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              ActionServlet.java:492
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              HttpServlet.java:740
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:721
         void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:306
         boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:767
         void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:259
         void com.evermind.server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:106
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:803
         void java.lang.Thread.run()
              Thread.java:484
    ## Detail 0 ##
    java.lang.ClassCastException: java.sql.Date
         boolean oracle.jbo.pcoll.OraclePersistManager.holdTableName(java.lang.String, boolean)
              OraclePersistManager.java:1096
         void oracle.jbo.pcoll.PCollManager.resolveName()
              PCollManager.java:324
         void oracle.jbo.pcoll.OraclePersistManager.createControlTable()
              OraclePersistManager.java:268
         void oracle.jbo.pcoll.OraclePersistManager.createTable()
              OraclePersistManager.java:672
         void oracle.jbo.pcoll.OraclePersistManager.insert(long, long, int, oracle.jbo.pcoll.PCollKeyInfo[], byte[])
              OraclePersistManager.java:1538
         boolean oracle.jbo.pcoll.PCollNode.passivateElem(oracle.jbo.pcoll.PCollPersistable, oracle.jbo.pcoll.PCollNode, oracle.jbo.pcoll.PCollection, long)
              PCollNode.java:543
         boolean oracle.jbo.pcoll.PCollNode.passivate()
              PCollNode.java:658
         boolean oracle.jbo.pcoll.PCollection.passivateLRULeafNode()
              PCollection.java:351
         void oracle.jbo.pcoll.PCollection.checkActiveLeafLimit()
              PCollection.java:404
         void oracle.jbo.pcoll.PCollection.nodeRecentlyUsed(oracle.jbo.pcoll.PCollNode)
         PCollection.java:252
    void oracle.jbo.pcoll.PCollNode.<init>(oracle.jbo.pcoll.PCollection, oracle.jbo.pcoll.PCollNode, boolean)
              PCollNode.java:74
         oracle.jbo.pcoll.PCollNode oracle.jbo.pcoll.PCollNode.checkForSplit()
              PCollNode.java:1554
         void oracle.jbo.pcoll.PCollNode.addObject(oracle.jbo.pcoll.PCollPersistable)
         PCollNode.java:1623
         void oracle.jbo.pcoll.PCollNode.addObject(oracle.jbo.pcoll.PCollPersistable)
              PCollNode.java:1611
         void oracle.jbo.pcoll.PCollection.addElement(oracle.jbo.pcoll.PCollPersistable)
              PCollection.java:753
         boolean oracle.jbo.server.QueryCollection.fetch(int)
              QueryCollection.java:1295
         java.lang.Object oracle.jbo.server.QueryCollection.get(int)
              QueryCollection.java:831
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.getRow(int)
              ViewRowSetImpl.java:2619
         int oracle.jbo.server.ViewRowSetIteratorImpl.scrollRange(int)
              ViewRowSetIteratorImpl.java:945
         int oracle.jbo.server.ViewRowSetIteratorImpl.setRangeStart(int)
              ViewRowSetIteratorImpl.java:2161
         int oracle.jbo.server.ViewRowSetImpl.setRangeStart(int)
              ViewRowSetImpl.java:1726
         int oracle.jbo.server.ViewObjectImpl.setRangeStart(int)
              ViewObjectImpl.java:4718
         org.act.dcact.PageList org.act.dcact.bc.AddressModuleImpl.getAddressList(int, int, java.lang.String)
              AddressModuleImpl.java:84
         org.apache.struts.action.ActionForward org.act.dcact.SearchAction.execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              SearchAction.java:42
         org.apache.struts.action.ActionForward org.apache.struts.action.RequestProcessor.processActionPerform(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.action.Action, org.apache.struts.action.ActionForm, org.apache.struts.action.ActionMapping)
              RequestProcessor.java:446
         void org.apache.struts.action.RequestProcessor.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              RequestProcessor.java:266
         void org.apache.struts.action.ActionServlet.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              ActionServlet.java:1292
         void org.apache.struts.action.ActionServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              ActionServlet.java:492
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              HttpServlet.java:740
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:721
         void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:306
         boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:767
         void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:259
         void com.evermind.server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:106
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:803
         void java.lang.Thread.run()
              Thread.java:484
    Any help would be appreciated. BTW-- I have repeatedly deleted all bc4j tables from my database.

    Eric,
    We're tracking this problem as Bug#2646690. Thanks for reporting it.
    The problem is related to a change in the JDBC driver when the oracle.jdbc.J2EE13Compliant Java system property is set to the value true. When this flag is set to true, JDBC returns a DATE column from the database as a java.sql.Date object. When the flag is not set or set to false, it returns the java.sql.Timestamp type that it has always returned before.
    The workaround until we are able to fix this on our side to work with either Timestamp or Date in our code, is to add the line:
    System.setProperty("oracle.jdbc.J2EE13Compliant","false");Into the constructor of your root application module's *Impl.java class.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Protocol violation Error with 17401 error code

    Hi,
    When we are trying to call stored procedure with below syntax we are getting "com.ibm.websphere.ce.cm.StaleConnectionException: Protocol violation" error with error code 17401 in local IRAD application and also in deployed application of WAS.
    call schemaName.truncate_table('table_name', 'DROP STORAGE')
    If I comment this procedure call in the Java code and execute, then next SQL staments following this call will be executed successfully. Below are some of the trails that I have already done and getting same error
    1. Dowloaded latest ojdbc.jar as per Oracle Database 10g 10.2.0.4.0 version
    2. Kept the minimum number of connections value as ZERO in WAS admin.
    Let me know if you know any solution for this
    Thanks
    Basavaraj

    Hi,
    It takes around 10 seconds from the time I started this batch job
    Below is the code, in the below code getStatement() method gets the SQLStatement object with below procedure call
    call odsacct.truncate_table(?, 'DROP STORAGE')
    SQLStatement sqlStmt = getStatement(CONFIG_FILE, DAOConstants.TRUNCATE_DATA_DEST);
              CallableStatement callableStmt = null;
              try {
                   callableStmt = conn.prepareCall(sqlStmt.getSql());
                   // set the in param
                   callableStmt.setString(1, insertTable);
                   callableStmt.executeUpdate();
              catch(SQLException e) {
                   System.out.println("Error Code .. Basava..."+e.getErrorCode());
                   e.printStackTrace();
                   throw new Exception("Error Deleting Data in the Destination Table: ", e);
              finally {
                   close(null, null, callableStmt);
    Below is the exception stack trace
    [4/20/11 15:11:35:991 EDT] 00000026 SystemOut O [Executing Job : AcctSearchLoaderWeeklyJob
    [4/20/11 15:11:37:116 EDT] 00000026 SystemOut O ******ADNAServiceProperties loaded successfully******
    [4/20/11 15:11:37:116 EDT] 00000026 SystemOut O [Account Search Data one time full data load started...
    [4/20/11 15:11:37:460 EDT] 00000026 SystemOut O [Wed Apr 20 15:11:37 EDT 2011] : Current Active Table: ODSACCT.ACCT_SEARCH_A
    [4/20/11 15:11:38:725 EDT] 00000026 SystemOut O [Wed Apr 20 15:11:38 EDT 2011] : Number of Records in ODSACCT.ACCT_SEARCH_A table is 537352
    [4/20/11 15:11:38:725 EDT] 00000026 SystemOut O [Wed Apr 20 15:11:38 EDT 2011] : Active Table Record Count is ... 537352
    [4/20/11 15:11:38:725 EDT] 00000026 SystemOut O [Wed Apr 20 15:11:38 EDT 2011] : Truncate data from... ODSACCT.ACCT_SEARCH_B
    [4/20/11 15:11:39:741 EDT] 00000026 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl initialize FFDC0009I: FFDC opened incident stream file C:\aDNA-Workspaces\Profiles\NonValhalla_Apps\logs\ffdc\server1_5d445d44_11.04.20_15.11.39_0.txt
    [4/20/11 15:11:39:772 EDT] 00000026 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file C:\aDNA-Workspaces\Profiles\NonValhalla_Apps\logs\ffdc\server1_5d445d44_11.04.20_15.11.39_0.txt
    [4/20/11 15:11:39:788 EDT] 00000026 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl open FFDC0009I: FFDC opened incident stream file C:\aDNA-Workspaces\Profiles\NonValhalla_Apps\logs\ffdc\server1_5d445d44_11.04.20_15.11.39_1.txt
    [4/20/11 15:11:39:819 EDT] 00000026 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file C:\aDNA-Workspaces\Profiles\NonValhalla_Apps\logs\ffdc\server1_5d445d44_11.04.20_15.11.39_1.txt
    [4/20/11 15:11:39:819 EDT] 00000026 ConnectionEve A J2CA0056I: The Connection Manager received a fatal connection error from the Resource Adapter for resource jdbc/adna_prod_ds. The exception which was received is com.ibm.websphere.ce.cm.StaleConnectionException: Protocol violation:java.sql.SQLException: Protocol violation
    [4/20/11 15:11:39:819 EDT] 00000026 SystemOut O Error Code .. Basava...17401
    [4/20/11 15:11:39:835 EDT] 00000026 SystemOut O [Wed Apr 20 15:11:39 EDT 2011] : Exception Occured while loading ACCT_SEARCH_B : party id is null
    [4/20/11 15:11:39:835 EDT] 00000026 SystemOut O [Account Search Data full data load failed.
    [4/20/11 15:11:39:819 EDT] 00000026 SystemErr R com.ibm.websphere.ce.cm.StaleConnectionException: Protocol violation
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapExceptionHelper(GenericDataStoreHelper.java:523)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapException(GenericDataStoreHelper.java:578)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.ws.rsadapter.jdbc.WSJdbcUtil.mapException(WSJdbcUtil.java:903)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.executeUpdate(WSJdbcPreparedStatement.java:626)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.starwood.adna.dao.AccountSearchLoaderDAO.truncateInsertTable(AccountSearchLoaderDAO.java:601)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.starwood.adna.dao.AccountSearchLoaderDAO.loadAccountSearchTable(AccountSearchLoaderDAO.java:92)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.starwood.adna.service.control.ADNAJobSchedulerAction.executeFullLoad(ADNAJobSchedulerAction.java:417)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.starwood.adna.service.control.ADNAJobSchedulerAction.executeFullLoadJob(ADNAJobSchedulerAction.java:348)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at java.lang.reflect.Method.invoke(Method.java:615)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1439)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:112)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
    [4/20/11 15:11:39:835 EDT] 00000026 SystemErr R      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
    [4/20/11 15:11:40:569 EDT] 00000026 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl open FFDC0009I: FFDC opened incident stream file C:\aDNA-Workspaces\Profiles\NonValhalla_Apps\logs\ffdc\server1_5d445d44_11.04.20_15.11.40_0.txt
    [4/20/11 15:11:40:585 EDT] 00000026 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file C:\aDNA-Workspaces\Profiles\NonValhalla_Apps\logs\ffdc\server1_5d445d44_11.04.20_15.11.40_0.txt
    [4/20/11 15:11:40:600 EDT] 00000026 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl open FFDC0009I: FFDC opened incident stream file C:\aDNA-Workspaces\Profiles\NonValhalla_Apps\logs\ffdc\server1_5d445d44_11.04.20_15.11.40_1.txt
    [4/20/11 15:11:40:600 EDT] 00000026 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file C:\aDNA-Workspaces\Profiles\NonValhalla_Apps\logs\ffdc\server1_5d445d44_11.04.20_15.11.40_1.txt
    [4/20/11 15:11:40:632 EDT] 00000026 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl open FFDC0009I: FFDC opened incident stream file C:\aDNA-Workspaces\Profiles\NonValhalla_Apps\logs\ffdc\server1_5d445d44_11.04.20_15.11.40_2.txt
    [4/20/11 15:11:40:647 EDT] 00000026 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file C:\aDNA-Workspaces\Profiles\NonValhalla_Apps\logs\ffdc\server1_5d445d44_11.04.20_15.11.40_2.txt
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R java.lang.Exception: Error Deleting Data in the Destination Table:
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.starwood.adna.dao.AccountSearchLoaderDAO.truncateInsertTable(AccountSearchLoaderDAO.java:606)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.starwood.adna.dao.AccountSearchLoaderDAO.loadAccountSearchTable(AccountSearchLoaderDAO.java:92)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.starwood.adna.service.control.ADNAJobSchedulerAction.executeFullLoad(ADNAJobSchedulerAction.java:417)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.starwood.adna.service.control.ADNAJobSchedulerAction.executeFullLoadJob(ADNAJobSchedulerAction.java:348)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at java.lang.reflect.Method.invoke(Method.java:615)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1439)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:112)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R Caused by: com.ibm.websphere.ce.cm.StaleConnectionException: Protocol violation
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
         at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapExceptionHelper(GenericDataStoreHelper.java:523)
         at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapException(GenericDataStoreHelper.java:578)
         at com.ibm.ws.rsadapter.jdbc.WSJdbcUtil.mapException(WSJdbcUtil.java:903)
         at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.executeUpdate(WSJdbcPreparedStatement.java:626)
         at com.starwood.adna.dao.AccountSearchLoaderDAO.truncateInsertTable(AccountSearchLoaderDAO.java:601)
         at com.starwood.adna.dao.AccountSearchLoaderDAO.loadAccountSearchTable(AccountSearchLoaderDAO.java:92)
         at com.starwood.adna.service.control.ADNAJobSchedulerAction.executeFullLoad(ADNAJobSchedulerAction.java:417)
         at com.starwood.adna.service.control.ADNAJobSchedulerAction.executeFullLoadJob(ADNAJobSchedulerAction.java:348)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:615)
         at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
         at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1439)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:112)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
         at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
    ---- Begin backtrace for Nested Throwables
    java.sql.SQLException: Protocol violation
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
         at oracle.jdbc.driver.DatabaseError.check_error(DatabaseError.java:885)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:640)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:180)
         at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:783)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1028)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2888)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:2960)
         at oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallableStatement.java:4124)
         at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.pmiExecuteUpdate(WSJdbcPreparedStatement.java:948)
         at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.executeUpdate(WSJdbcPreparedStatement.java:615)
         at com.starwood.adna.dao.AccountSearchLoaderDAO.truncateInsertTable(AccountSearchLoaderDAO.java:601)
         at com.starwood.adna.dao.AccountSearchLoaderDAO.loadAccountSearchTable(AccountSearchLoaderDAO.java:92)
         at com.starwood.adna.service.control.ADNAJobSchedulerAction.executeFullLoad(ADNAJobSchedulerAction.java:417)
         at com.starwood.adna.service.control.ADNAJobSchedulerAction.executeFullLoadJob(ADNAJobSchedulerAction.java:348)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:615)
         at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
         at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:501)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1439)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:112)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
         at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapExceptionHelper(GenericDataStoreHelper.java:523)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.websphere.rsadapter.GenericDataStoreHelper.mapException(GenericDataStoreHelper.java:578)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.ws.rsadapter.jdbc.WSJdbcUtil.mapException(WSJdbcUtil.java:903)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.executeUpdate(WSJdbcPreparedStatement.java:626)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      at com.starwood.adna.dao.AccountSearchLoaderDAO.truncateInsertTable(AccountSearchLoaderDAO.java:601)
    [4/20/11 15:11:40:538 EDT] 00000026 SystemErr R      ... 33 more
    Thanks
    Basavaraj G.M

  • Error with - addStylesToDocument(doc); please help

    Hello, this is my unfinished code for a simple program I am writing. Basically I have a menu and buttons, and am looking to add a JTextPane. I think I have all the code there, except when compiling I am having an error with line addStylesToDocument(doc); if I comment this out then nothing happens but the program runs as normal (before I added the JTextPane code) the error I am getting is "non-static method addStylesToDocument(javax.swing.text.StyledDocument) cannot be referenced from a static context" this makes a little sence to me but not enough to be able to correct it as I am pretty much a beginner...
    If anyone has any suggestions to fix this I would appreciate your input.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import javax.swing.event.*;
    import javax.swing.*;
    import javax.swing.text.*;
    public class ShoppingCart extends JPanel
                            implements ActionListener {
        protected JButton bapple, borange, bbanana, bstrawberry, blemon, bgrape, b7, b8, b9, b10;
        public JMenuBar createMenuBar() {
         JMenuBar menuBar;
         JMenu menu, submenu;
         JMenuItem menuItem;
         JRadioButtonMenuItem rbMenuItem;
         JCheckBoxMenuItem cbMenuItem;
    menuBar = new JMenuBar();
    menuBar.setBackground(Color.white);
          menu = new JMenu("A Menu");
          menu.setBackground(Color.white);
            menu.setMnemonic(KeyEvent.VK_A);
            menu.getAccessibleContext().setAccessibleDescription(
                    "The only menu in this program that has menu items");
            menuBar.add(menu);
          //a group of JMenuItems
          menuItem = new JMenuItem("A text-only menu item",
                                     KeyEvent.VK_T);
            //menuItem.setMnemonic(KeyEvent.VK_T); //used constructor instead
             menuItem.setBackground(Color.white);
             menuItem.setAccelerator(KeyStroke.getKeyStroke(
                KeyEvent.VK_1, ActionEvent.ALT_MASK));
           menuItem.getAccessibleContext().setAccessibleDescription(
           "This doesn't really do anything");
            menu.add(menuItem);
            ImageIcon icon = createImageIcon("/orange.gif");
            menuItem = new JMenuItem ("Both text and icon", icon);
            menuItem.setMnemonic(KeyEvent.VK_B);
            menuItem.setBackground(Color.white);
          menu.add(menuItem);
          menuItem = new JMenuItem(icon);
          menuItem.setMnemonic(KeyEvent.VK_D);
          menuItem.setBackground(Color.white);
          menu.add(menuItem);
          //a group of radio button menu items
          menu.addSeparator();
          ButtonGroup group = new ButtonGroup();
          rbMenuItem = new JRadioButtonMenuItem("A radio button menu item");
          rbMenuItem.setSelected(true);
          rbMenuItem.setMnemonic(KeyEvent.VK_R);
          rbMenuItem.setBackground(Color.white);
          group.add(rbMenuItem);
          menu.add(rbMenuItem);
          //a group if check box menu items
          menu.addSeparator();
          cbMenuItem = new JCheckBoxMenuItem("A check box menu item");
          cbMenuItem.setMnemonic(KeyEvent.VK_C);
          cbMenuItem.setBackground(Color.white);
          menu.add(cbMenuItem);
          cbMenuItem = new JCheckBoxMenuItem("Another one");
          cbMenuItem.setMnemonic(KeyEvent.VK_H);
          cbMenuItem.setBackground(Color.white);
          menu.add(cbMenuItem);
          //a submenu
          menu.addSeparator();
          submenu = new JMenu("A submenu");
          submenu.setBackground(Color.white);
          submenu.setMnemonic(KeyEvent.VK_S);
          menuItem = new JMenuItem("An  item in the submenu");
          menuItem.setAccelerator(KeyStroke.getKeyStroke(
          KeyEvent.VK_2, ActionEvent.ALT_MASK));
          menuItem.setBackground(Color.white);
          submenu.add(menuItem);
          menuItem = new JMenuItem("Another item");
          menuItem.setBackground(Color.white);
          submenu.add(menuItem);
          menu.add(submenu);
          //Build second menu in the menu bar
          menu = new JMenu("Another Menu");
          menu.setBackground(Color.white);
          menu.setMnemonic(KeyEvent.VK_N);
          menu.getAccessibleContext().setAccessibleDescription(
          "This menu does nothing");
          menuBar.add(menu); 
    return menuBar;
        public ShoppingCart() {
            ImageIcon appleButtonIcon = createImageIcon("/apple.gif");
            ImageIcon orangeButtonIcon = createImageIcon("/orange.gif");
            ImageIcon bananaButtonIcon = createImageIcon("/banana.gif");
            ImageIcon strawberryButtonIcon = createImageIcon("/strawberry.gif");
            ImageIcon lemonButtonIcon = createImageIcon("/lemon.gif");
            ImageIcon grapeButtonIcon = createImageIcon("/grape.gif");
            bapple = new JButton(null,  appleButtonIcon);
            bapple.setVerticalTextPosition(AbstractButton.CENTER);
            bapple.setBackground(Color.white);
            bapple.setHorizontalTextPosition(AbstractButton.LEADING);
            bapple.setMnemonic(KeyEvent.VK_D);
            bapple.setActionCommand("apple");
            borange = new JButton(null, orangeButtonIcon);
            borange.setVerticalTextPosition(AbstractButton.BOTTOM);
            borange.setBackground(Color.white);
            borange.setHorizontalTextPosition(AbstractButton.CENTER);
            borange.setMnemonic(KeyEvent.VK_M);
            borange.setActionCommand("orange");
            bbanana = new JButton(null, bananaButtonIcon);
            bbanana.setBackground(Color.white);
            bbanana.setMnemonic(KeyEvent.VK_E);
            bbanana.setActionCommand("banana");
            bstrawberry = new JButton(null,  strawberryButtonIcon);
            bstrawberry.setVerticalTextPosition(AbstractButton.CENTER);
            bstrawberry.setBackground(Color.white);
            bstrawberry.setHorizontalTextPosition(AbstractButton.LEADING); //aka LEFT, for left-to-right locales
            bstrawberry.setActionCommand("strawberry");
            blemon = new JButton(null,  lemonButtonIcon);
            blemon.setBackground(Color.white);
            blemon.setVerticalTextPosition(AbstractButton.CENTER);
            blemon.setHorizontalTextPosition(AbstractButton.LEADING); //aka LEFT, for left-to-right locales
            blemon.setActionCommand("lemon");
            bgrape = new JButton(null,  grapeButtonIcon);
            bgrape.setBackground(Color.white);
            bgrape.setVerticalTextPosition(AbstractButton.CENTER);
            bgrape.setHorizontalTextPosition(AbstractButton.LEADING); //aka LEFT, for left-to-right locales
            bgrape.setActionCommand("grape");
            /*b7 = new JButton(null,  leftButtonIcon);
            b7.setVerticalTextPosition(AbstractButton.CENTER);
            b7.setHorizontalTextPosition(AbstractButton.LEADING); //aka LEFT, for left-to-right locales
            b8 = new JButton(null,  leftButtonIcon);
            b8.setVerticalTextPosition(AbstractButton.CENTER);
            b8.setHorizontalTextPosition(AbstractButton.LEADING); //aka LEFT, for left-to-right locales
            b9 = new JButton(null,  leftButtonIcon);
            b9.setVerticalTextPosition(AbstractButton.CENTER);
            b9.setHorizontalTextPosition(AbstractButton.LEADING); //aka LEFT, for left-to-right locales
            b10 = new JButton(null,  leftButtonIcon);
            b10.setVerticalTextPosition(AbstractButton.CENTER);
            b10.setHorizontalTextPosition(AbstractButton.LEADING); //aka LEFT, for left-to-right locales
            //Listen for actions on buttons
            bapple.addActionListener(this);
            borange.addActionListener(this);
            bbanana.addActionListener(this);
            bstrawberry.addActionListener(this);
            blemon.addActionListener(this);
            bgrape.addActionListener(this);
            bapple.setToolTipText("Apple.");
            borange.setToolTipText("Orange.");
            bbanana.setToolTipText("Banana.");
            bstrawberry.setToolTipText("Strawberry.");
            blemon.setToolTipText("Lemon.");
            bgrape.setToolTipText("Grape.");
           /* b7.setToolTipText("7");
            b8.setToolTipText("8");
            b9.setToolTipText("9");
            b10.setToolTipText("10");
            //Add Components to this container, using the default FlowLayout.
            add(bapple);
            add(borange);
            add(bbanana);
            add(bstrawberry);
            add(blemon);
            add(bgrape);
           /* add(b7);
            add(b8);
            add(b9);
            add(b10);*/
        public void actionPerformed(ActionEvent e) {
            if ("apple".equals(e.getActionCommand())) {
           String  input1 =  JOptionPane.showInputDialog( "How many apples would you like to purchase?" );
            int  number1 = Integer.parseInt( input1 );
             if ("orange".equals(e.getActionCommand())) {
           String  input2 =  JOptionPane.showInputDialog( "How many oranges would you like to purchase?" );
           int  number2 = Integer.parseInt( input2 );
               if ("banana".equals(e.getActionCommand())) {
           String  input3 =  JOptionPane.showInputDialog( "How many bananas would you like to purchase?" );
           int  number3 = Integer.parseInt( input3 );
             if ("strawberry".equals(e.getActionCommand())) {
           String  input4 =  JOptionPane.showInputDialog( "Enter weight of strawberries : " );
           int  number4 = Integer.parseInt( input4 );
             if ("lemon".equals(e.getActionCommand())) {
           String  input5 =  JOptionPane.showInputDialog( "How many lemons would you like to purchase?" );
           int  number5 = Integer.parseInt( input5 );
             if ("grape".equals(e.getActionCommand())) {
           String  input6 =  JOptionPane.showInputDialog( "Enter weight of grapes : " );
           int  number6 = Integer.parseInt( input6 );
        /** Returns an ImageIcon, or null if the path was invalid. */
        protected static ImageIcon createImageIcon(String path) {
            java.net.URL imgURL = ShoppingCart.class.getResource(path);
            if (imgURL != null) {
                return new ImageIcon(imgURL);
            } else {
                System.err.println("Couldn't find file: " + path);
                return null;
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
        private static void createAndShowGUI() {
    //Create and set up the window.
            JFrame frame = new JFrame("Shopping Cart");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            ShoppingCart newContentPane = new ShoppingCart();
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.setContentPane(newContentPane);
            newContentPane.setBackground(Color.white);
           frame.setJMenuBar(newContentPane.createMenuBar());
            //Display the window.
            frame.pack();
            frame.setVisible(true);
            String[] initString =
            { /* ...  fill array with initial text  ... */ };
            String[] initStyles =
            { /* ...  fill array with names of styles  ... */ };
            JTextPane textPane = new JTextPane();
            StyledDocument doc = textPane.getStyledDocument();
            addStylesToDocument(doc);
            //Load the text pane with styled text.
            try {
            for (int i=0; i < initString.length; i++) {
            doc.insertString(doc.getLength(), initString,
    doc.getStyle(initStyles[i]));
    } catch (BadLocationException ble) {
    System.err.println("Couldn't insert initial text into text pane.");
    }protected void addStylesToDocument (StyledDocument doc) {
    Style def=new StyleContext ().getStyle (StyleContext.DEFAULT_STYLE);
    Style heading = doc.addStyle ("bold", null);
    StyleConstants.setFontFamily (heading, "SansSerif");
    StyleConstants.setBold (heading, true);
    StyleConstants.setFontSize (heading,30);
    // * The next 3 don't work if that line is commented out
    StyleConstants.setAlignment (heading, StyleConstants.ALIGN_CENTER);
    StyleConstants.setSpaceAbove (heading, 10);
    StyleConstants.setSpaceBelow (heading, 10);
    public static void main() {
    //Schedule a job for the event-dispatching thread:
    //creating and showing this application's GUI.
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();

    CPie wrote:
    o..k.
    I see that you have run out of helpfulness for this session, What the ....? I just told you to add your jtextfield to a jpanel or some other visible component to be seen.
    it is getting late here I will take my business elsewhere tomorrow rather than waiting up for a response which shows you realllly need to find something better to do! And thanks for the help earlier. That was actually useful whereas this wasn't, I'm sure you knew that already,You know that we are all volunteers here. Any time spent here helping you is time away from our friends and families. A little more appreciation is definitely in order or go somewhere else and pay for your help.

  • Problems with constructors

    Hi guys im having problems with constructors. I get the following error:
    package\Cat5500IfXDescr.java:60: cannot resolve symbol
    symbol : constructor IfXDescrScanner(java.net.Inet,java.lang.String,java.lang.String,differentPackage.SNMPCommandObserver)
    location: class package.IfXDescrScanner
    super( InetAddress.getByName( device.getIpAddress()),
    I have a class SNMPCommand
    I have a class IfDescrScanner which extends SNMPCommand
    I have a class Cat5500IfXDescr which extends IfDescrScanner
    Here are the respective constructors:
         public SNMPCommand( InetAddress agentAddress, String readCommunityString,
                                  String writeCommunityString, SNMPCommandObserver observer ){
              peer = new SnmpPeer( agentAddress );
              peer.getParameters().setReadCommunity( readCommunityString );
              peer.getParameters().setWriteCommunity( writeCommunityString );
              this.observer = observer;
         public SNMPCommand( InetAddress agentAddress, SNMPCommandObserver observer ){
              peer = new SnmpPeer( agentAddress );
              this.observer = observer;
         public IfXDescrScanner(Device device, SNMPCommandObserver observer )
         throws UnknownHostException{
              super(      InetAddress.getByName( device.getIpAddress()),
                        device.getReadCommunityString(),
                        device.getWriteCommunityString(),
                        observer );
        public Cat5500IfXDescr( Device device, SNMPCommandObserver observer )
         throws UnknownHostException{
              super(      InetAddress.getByName( device.getIpAddress()),
                        device.getReadCommunityString(),
                        device.getWriteCommunityString(),
                        observer );
         }You'll notice SNMPCommand has 2 constructors. i get no error when i call super to the SNMPCommand constructor from IfXDescrScanner however when i call it from Cat5500IfXDescr i get the error. Is what i am doing illegal. Anyone any ideas on how i solve this. Thanks
    Joe.

    From what I see in a single look, you are passing an object of java.net.Inet to the constructor and the constructor takes InetAddress object as parameter.
    Just check it.
    Hi guys im having problems with constructors. I get
    the following error:
    package\Cat5500IfXDescr.java:60: cannot resolve
    symbol
    symbol : constructor
    IfXDescrScanner(java.net.Inet,java.lang.String,java.la
    ng.String,differentPackage.SNMPCommandObserver)
    location: class package.IfXDescrScanner
    super( InetAddress.getByName(
    device.getIpAddress()),
    I have a class SNMPCommand
    I have a class IfDescrScanner which extends
    SNMPCommand
    I have a class Cat5500IfXDescr which extends
    IfDescrScanner
    Here are the respective constructors:
         public SNMPCommand( InetAddress agentAddress,
    String readCommunityString,
    String writeCommunityString,
    tring, SNMPCommandObserver observer ){
              peer = new SnmpPeer( agentAddress );
    peer.getParameters().setReadCommunity(
    y( readCommunityString );
    peer.getParameters().setWriteCommunity(
    y( writeCommunityString );
              this.observer = observer;
    public SNMPCommand( InetAddress agentAddress,
    , SNMPCommandObserver observer ){
              peer = new SnmpPeer( agentAddress );
              this.observer = observer;
         public IfXDescrScanner(Device device,
    SNMPCommandObserver observer )
         throws UnknownHostException{
    super(      InetAddress.getByName(
    e( device.getIpAddress()),
                        device.getReadCommunityString(),
                        device.getWriteCommunityString(),
                        observer );
        public Cat5500IfXDescr( Device device,
    SNMPCommandObserver observer )
         throws UnknownHostException{
    super(      InetAddress.getByName(
    e( device.getIpAddress()),
                        device.getReadCommunityString(),
                        device.getWriteCommunityString(),
                        observer );
         }You'll notice SNMPCommand has 2 constructors. i get
    no error when i call super to the SNMPCommand
    constructor from IfXDescrScanner however when i call
    it from Cat5500IfXDescr i get the error. Is what i am
    doing illegal. Anyone any ideas on how i solve this.
    Thanks
    Joe.

  • RE: [Adobe Reader] when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? i

    HelloThank's for your helpsI hope this document is helpfulBest Regards,
    Date: Sun, 22 Jun 2014 17:10:17 -0700
    From: [email protected]
    To: [email protected]
    Subject:  when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th
        when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help m
        created by Anoop9178 in Adobe Reader - View the full discussion
    Hi,
    Would it be possible for you to share the document?
    Regards,
    Anoop
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6485431#6485431
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
         To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Reader by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

    thank's for reply and your help
    i did the step's that you told me but  i still have the same problem
                                     i have the latest v.11.0.7
    i
    i disable the protected mode

  • Odd Error with decode function in Order By Clause

    I am trying to compile a procedure and can't get around an error with a dynamic order by that doesn't make much sense to me. I can repoduce the error with a plain select statment in sql plus so I can rule out a declaration error. Here is an example with 2 numeric columns and a date column.
    select task_id, display_date, remark_id from task_list
    where task_id > 1000
    order by decode('Task_ID', 'Task_ID',Task_ID, 'Display_Date', Display_Date, 'Remark_ID',Remark_ID)
    returns the error:
    select task_id, display_date, remark_id from task_list
    ERROR at line 1:
    ORA-00932: inconsistent datatypes: expected NUMBER got DATE
    I'm not sure why this error is occuring, because it doesn't even hit the Display_Date field in the Decode statment. If I take the Display_date out of the statement, it runs properly. If I change Display_Date to To_Char(Display_Date) it also runs fine, but the sorting is incorrect. Also I'm running 9.2, and do not want to use dynamic sql to build my query. Any Ideas out there as to the cause of this error?

    I did find a workaround to this issue by breaking the decode statment into three separate statement, but I still think that the way it is written above should work, and may be a bug, or an error that I don't understand fully.
    The Order by was rewritten like this:
    order by decode(pSort, 'Task_ID',Task_ID), decode(pSort, 'Display_Date', Display_Date),
    decode(pSort, 'Remark_ID',Remark_ID);
    Thanks

  • XML Publisher Error with reports published in XML publisher

    Hi All,
    I am geting the following error with a report published using XML Publisher
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    The system cannot locate the resource specified. Error processing resource 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.d...
    How can i Rectify this?

    Hi Ark,
    In order to generate a report using xml publisher. we need the following.
    1. XML Data
    2. Template file (RTF/PDF/..)
    XML data will not be created by the template file.
    We will be required to create XML data. One of the easiest way to create xml output is using the RDF. We can change the rdf output type in the concurrent program to XML.
    Once the xml and the template is available, "XML Report Publisher" will be able to generate the output in the required format.
    Thanks,
    K.Nataraja Suthan,

  • Graphic problems/errors with Mainstage 3 and MBP (15'' 2011)

    Hi,
    I bought Mainstage 3 for my MBP (15'' 2011).
    When i click con "perform" i get graphic errors.
    I have the same issue with the old Mainstage version since Mountain Lion.
    Also a fresh installation didn't help.
    I think i'm not the only one with this issue!
    I don't know how to report a bug?
    Perhaps someone can help me.
    (and  I'm probably not the only one (see feedback in Apple Store) If you also have this problem, please add a comment with your configuration (Hardware, Software))
    /forgotten ebi
    So, here an example how it looks like when i click on "perform":

    Same configuration,same problem. BUT I found a workaround.
    Mainstage has this error with the AMD video card and/or a second monitor connected.
    With a little app (http://gfx.io)  it's possible to really force the MBPro to use the Intel Graphics card.
    This will work only with the internal screen, not with a second screen connected.
    And sometimes you need to restart, to really make the Intel video card free.
    This works fine...In the meantime of a fix.

  • Error with an infoset in BI

    HI BI gurus,
    we have a problem with an infoset.
    We create an infoset in RSA1 linked to a cube and a DSO.
    We activate it in english without problems and I can create a query with no errors (with a english logon).
    If I try to create a query in italian language the query designer show mw this error: " unexpected error - RCF_SYSTEM_FAILURE. You must restart the query designer."
    Do you have any idea how to fix and solve this problem? We try to activete the infoset in Italian but the error remains.
    Thanks for any help.
    SB

    Hi,
    is italien installed as a language in your system?
    Siggi

  • I am trying to download my photos from my iphone to my mac-iphoto. It keeps trying but about halfway through it says there is an error with a photo therefore it wont download any of my pictures or videos.  It wont tell me which picture is the issue.

    I took a lot of pictures and video on my recent trip to Ireland.  Now I am trying to download the photos and videos from my iphone to my mac - iphoto.  I have tried 3 times and each time (at a different point) I get a message telling me that there was an error with one of my photos and it wont load the pictures.  Help!!

    Try using Image Capture to download to a folder on the Desktop.  If there's a damaged file on the iPhone that's preventing the download you can isolate it with Image Capture and then delete it from the iPhone.

  • Plug-in errors and dependency errors with a CAF app in DS in NW CE 7.1

    I am learining to build CAF apps in Developer Studio in NW CE 7.1.  Here are my steps and the errors I am getting:
    Open Developer Studio
    Switch to the CA perspective
    File->New->Project
    Choose Development Component under Development Infrastructure
    Press Next
    Choose Composite Application under sap.com
    Choose MyComponents[demo.sap.com] under 'Local Development'
    Vendor: demo.sap.com
    Name: carpool
    Caption: Car Pool
    Language: American English
    Domain: SAP-xApps
    Support Component: CAF-APP (typed in, not chosen)
    Press Finish
    The following error appears:
    Status ERROR
    Plugin : com.sap.ide.metamodel.core.services.eclipse
    code=0
    Internal error
       Plugin name: Metamodel Core
       Internal error  : com.sap.ide.metamodel.core.services.eclipse
       Class      : com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker
       Method     : computeIdeJarProperties
       Message    : C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
       Exception  : java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
    java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:203)
    at java.util.jar.JarFile.<init>(JarFile.java:132)
    at java.util.jar.JarFile.<init>(JarFile.java:70)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.computeIdeJarProperties(ArchiveVersionChecker.java:296)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.doFullCheck(ArchiveVersionChecker.java:214)
    at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.checkProject(ArchiveVersionChecker.java:125)
    at com.sap.ide.mmservices.core.eclipse.generation.GenerationServiceEclipse.checkArchiveVersions(GenerationServiceEclipse.java:110)
    at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.checkArchiveVersions(GenerationBuilder.java:335)
    at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.build(GenerationBuilder.java:85)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:302)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:334)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    I do not think I missed anything installing NW CE 7.1, but this error makes me think that some plug-in was erroneously left out of the install. 
    Incidentally, I can continue onward and build an app (this is obviously a tutorial), but when I try to deploy I get the following error:
    The deployment of the archive failed with an exception!
    ([ERROR CODE DPL.DCAPI.1027]) DependenciesResolvingException.
    Reason:[ERROR CODE DPL.DC.3033] An unresolved dependencies error
    occurred while sorting the deployment batch items regarding the
    dependencies.;nested exception is:
    com.sap.engine.services.dc.cm.deploy.sdu_deps_resolver.UnresolvedDepen
    denciesException:[ERROR CODE DPL.DC.3437]Unresolved dependencies
    found for the following deployment items:
    1. Component: name:'carpool~ear',vendor:'my.company',location:
    'localDevelopment',version:'20080501110329',software type: 'J2EE',
    dependencies:'[name:'cafruntimeear',vendor:'sap.com',name:
    'cafcoreear',vendor:'sap.com']
    Unresolved dependency:
    name:'cafruntimeear',vendor:'sap.com'          (not found in the admitted
    batch items and the repository)
    Unresolved dependency:
    name:'cafcoreear',vendor:'sap.com'          (not found in the admitted
    batch items and the repository)
    Please check the error log for further informations.
    Again, this looks like I am missing some components.
    Any assistance is greatly appreciated.
    TB

    Further developments:  As you may note from the error message, DS is looking for com.sap.ide.metamodel.core.services.eclipse in both the C: and the E: drive at the same time.  In fact, this file exists in the E: drive subdirectory listed, so I obviously have an error with two drive designations being concatenated.  Does anyone know how I can change the lookup directory for this dependency (or any dependency)? 
    Thanks,
    TB

  • PeopleSoft XML Publisher report error with java.io.FileNotFoundException

    Hi,
    I have created two reports using XML Publisher in Peoplesoft Financials. The two reports are not related and they were submitted for processing separately. The first report completes without any issues. The second report results in error with the following message:
    09.11.17 ..(CIS_POTRPT.XML_FILE.Step03) (PeopleCode)
    [012309_091118154][oracle.apps.xdo.template.FOProcessor][EXCEPTION] IOException is occurred in FOProcessor.setData(String) with 'files/cis_potrpt.xml'.
    [012309_091118500][oracle.apps.xdo.template.FOProcessor][EXCEPTION] java.io.FileNotFoundException: files/cis_potrpt.xml (A file or directory in the path name does not exist.)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java(Compiled Code))
         at java.io.FileInputStream.<init>(FileInputStream.java:89)
         at oracle.apps.xdo.template.FOProcessor.getInputStream(FOProcessor.java:1316)
         at oracle.apps.xdo.template.FOProcessor.getXMLInput(FOProcessor.java:1100)
         at oracle.apps.xdo.template.FOProcessor.setData(FOProcessor.java:372)
         at com.peoplesoft.pt.xmlpublisher.PTFOProcessor.generateOutput(PTFOProcessor.java:53)
    2009-01-23-09.11.18.000418 AePcdExecutePeopleCode [174] Exception logged: RC=100.
    Error generating report output: (235,2309) PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:ProcessReport PCPC:51552 Statement:1153
    Called from:CIS_POTRPT.XML_FILE.GBL.default.1900-01-01.Step03.OnExecute Statement:8
    2009-01-23-09.11.18.000617 DoStepActions [1797] Exception logged: RC=100.
    Process 598607 ABENDED at Step CIS_POTRPT.XML_FILE.Step03 (PeopleCode) -- RC = 24 (108,524)
    In the process monitor detail > view log/trace page, the xml file is accessible so the file was generated to a valid directory.
    The weird thing is I was able to run this report without any issues few weeks ago although another user also ran into same error. The PeopleCode step that has been identified is essentially same in the two reports. I checked the app server and the directory does exist as well as the xml files for the two reports. The problem does not occur in test environment, just in production. Any help would be appreciated.

    We encounter the same problem. Did you get the answer for this issue? Thanks in advance.

Maybe you are looking for