Why is it not running

According to my knowledge i did everything right,yet it is not running.import javax.swing.JOptionPane;
import java.io.*;
public class file1 {
static int[][] number=new int[1000][1000];
static int row,column;
    public static void main(String[] args) {
   readFile();
   /*for(int i=0;i<row;i++)
        for(int j=0;j<column;j++)
             System.out.println(number[i][j]);
     String result="";
     for(int i=0;i<row;i++)
          result+="Row "+(i+1)+" Minimum value: "+findMinimum(i)+"\n";
     JOptionPane.showMessageDialog(null, result);
     JOptionPane.showMessageDialog(null, "Even numbers in array are: "+displayEven());
     JOptionPane.showMessageDialog(null, "Sum of all number is: "+getSum());
     //prints the box with dialogue minimum vale, even numbers in array
     //and sum of all number is: 
for(int i=0;i<row;i++)
     sortRow(i);
JOptionPane.showMessageDialog(null, "After sorting each row:\n"+Print());
    // prints the box with dialogue after sorting each row
private static void readFile(){
     String ver,hor,temp;
     String[] copy= new String[1000];
     int i=0,j,len=1,beg=0,end=0;
     try{
     FileReader fr = new FileReader("test.txt");
     BufferedReader br = new BufferedReader(fr);
     if(copy[0]==null) System.out.println();
          while((copy[i++] = br.readLine()) != null);
               fr.close();          
               i--;     
     }catch(IOException e){}
     if(copy[0]==null) System.out.println();
          while(copy[0].charAt(end)!=',');
               end++;
          ver=copy[0].substring(beg,end);
          row=Integer.parseInt(ver);
          beg=end;
          while(end<copy[0].length())
               end++;
          hor=copy[0].substring(beg+1,end);
          column=Integer.parseInt(hor);
          i=0; j=0;     
          while(i<row){
               end=0;beg=0;j=0;
               while(end<copy[i+1].length())
                    try{
                              while(copy[i+1].charAt(end)!=','  &&  end<copy[i+1].length())
                                   end++;
                              }catch(StringIndexOutOfBoundsException e){}
                         temp=copy[i+1].substring(beg,end);
                         number[i][j]=Integer.parseInt(temp);
                         System.out.println(number[i][j]);
                         beg=++end;
                         j++;
                    //JOptionPane.showMessageDialog(null,"The sum is"+integers,"Samir",JOptionPane.WARNING_MESSAGE);     
               i++;
private static int findMinimum(int row)
int min=0,max=0;
for(int i=0;i<column;i++)
if(number[row][i]>max)
max=number[row][i];
min=max;
for(int i=0;i<column;i++)
if(number[row][i]<min)
min=number[row][i];
return min;
private static String displayEven()
String result="";
for(int i=0;i<row;i++)
for(int j=0;j<column;j++)
if(number[i][j]%2==0)
result+=number[i][j]+" ";
return result;
private static int getSum()
int result=0;
for(int i=0;i<row;i++)
for(int j=0;j<column;j++)
result+=number[i][j];
return result;
private static void sortRow(int inrow)
int tempo;
for(int j=0;j<column;j++)
for(int i=1;i<column;i++)
if(number[inrow][i]<number[inrow][i-1])
tempo=number[inrow][i];
number[inrow][i]=number[inrow][i-1];
number[inrow][i-1]=tempo;
private static String Print()
String result="";
for(int i=0;i<row;i++){
for(int j=0;j<column;j++)
result+=number[i][j]+" ";
     result+="\n";
return result;

i did not go thro the full code.. but line 56 is the while condition.
if(copy[0]==null) System.out.println();
while(copy[0].charAt(end)!=',');
               end++;you are doing a sys out if copy[0] is null.. but the while condition says copy[0].xxx()! if copy[0] (whatever it may be) is null, you will get a new line printed and after that it will thro NPE.. may be there is an else clause?? just wondering what could be the reason behind such a code flow.. if (null) sys out; null.doStuff(); what else do you expect to happen if the IF condition succeeds?

Similar Messages

  • Apple code, why it is not running?

    Hi,
    I am new to java, and I have to do the following homework. I did a program, but it could not run. Could anyone help me to correct the code. The code of this program at the bottom of this message. Thank you very much.
    Problem:
    Create a class called �Apple�.
    Add the following attributes to Apple:
    the date it was picked [days] (e.g., Day 3)
    Assume:
    age = today � datePicked
    freshness = exp (-age)
    Write a method �getFreshness(int today)�, which returns the freshness of an apple on the specified day.
    Write another class, e.g. AppleAnalyser, which:
    generate several apples with different ages.
    reports on their freshness using the getFreshness method
    assumes that it is Day 30 today.
    Code of program:
    public class Apple {
    public int datePicked; //attribute
    public Apple () {//Constructor
         int datePicked = 3;
    public void freshness () {//behaviour
    int today = 30 ;
    int age = today - datePicked;
    float freshness = (float) Math.exp(-age);
    //System.out.println("Today" + today);
    //System.out.println( "Age" + age);
    //System.out.println ("Freshness" + freshness);
    public class AppleAnalyser {
    public static void main(String [] args) {
    String Apple [] = {"A0","A1","A2","A3","A4","A5","A6","A7","A8","A9"};
    Int datePicked [] = {1,3,5,9,10,15,18,24,28,29};
    for (i = 0; i<10; i++);
         int Apple .datePicked [i];
    float Apple[i].freshness ();
    float newfreshness = Apple[i].freshness;
    System.out.println("the freshness of the apple is " + newfreshness);

    Hi,
    You are not reading your own directions.
    1. You need to create a getFreshness method which accepts an integer. You don't have that in your code.
    2. You should always write java classes with private variables. Only change them in extreme conditions of which should never arise while you are in school.
    3. Your AppleAnalyser is really screwed up. You will need to either create a constructor that lets you create an Apple with a datePicked parameter or at least create a method to set the datePicked later.
    The code below seems to work good. Please try and understand what it does and why it does what it does instead of just using it.
    *  Apple.java
    public class Apple
      private int datePicked;
      // Default constructor
      public Apple()
        this( 1 );
      // Constructor to specify date picked.
      public Apple( int datePicked )
        this.datePicked = datePicked;
      // datePicked accessors
      public void setDatePicked( int newDatePicked )
        this.datePicked = newDatePicked;
      public int getDatePicked()
        return( datePicked );
      // Freshness method.
      public float getFreshness( int today )
        return( (float)Math.exp( datePicked - today ) );
    *  AppleAnalyser.java
    public class AppleAnalyser
      public static void main(String [] args)
        int[] pickDate = { 1, 3, 5, 9, 10, 15, 18, 24, 28, 29 };
        for( int j = 0; j < 10; j++ )
          Apple a = new Apple( pickDate[j] );
          System.out.println( "Apple: pick date = " + a.getDatePicked() +
                              " has freshness value = " + a.getFreshness( 30 ) );
    }Regards,
    Manfred.

  • Why i can not run my sqlplus?

    when i input "sqlplus" at my oracle-installed path,it do not run:
    [oracle@hw_linux OraHome1]$ cd bin
    [oracle@hw_linux bin]$ ./sqlplus
    Message file sp1<lang>.msb not found
    Error 6 initializing SQL*Plus
    [oracle@hw_linux bin]$

    Alison :
    Thank you very much.Can you tell me how to set up the Net8
    configuration file? (I am a jackaroo.) I'm not sure if there are any utilities to do this on Linux, but
    you can read about doing this manually in the Net8
    documentation. The general format for adding a new entry is:
    net_service_name=
    (DESCRIPTION=
    (ADDRESS=(protocol_address_information))
    (CONNECT_DATA=
    (SERVICE_NAME=service_name)))
    Try reading:
    http://download-
    west.oracle.com/otndoc/oracle9i/901_doc/network.901/a90154/connec
    t.htm#430735
    http://download-
    west.oracle.com/otndoc/oracle9i/901_doc/network.901/a90155/tnsnam
    es.htm#490778
    You're a Jackaroo? As in working on a farm in Australia? Or does
    that mean something I don't understand? I'm in Australia too!
    Alison
    iSQL*Plus Team

  • Why i can not run forms in form builder?

    when i want to test my forms, the system just tells me that my HTTP listener does not run port at 8888. how can i fix that problem?

    hi, i just start the oc4j instance,however,it made another error that is "starting http server:address in used:JVM_Bind". how can i fix this problem now? thanks

  • Integral function-why it can not run

    Hi all,
    I am trying to write a code to draw a graph and calculate an area under the graph of sin function. When I run the code, it is working, but when I try to displace the GUI, there are two errors.
    - the graph did not appear in the GUI. It should appeare as I already add GPanel into bottomPanel and then add bottomPanel into contentPane. Why?
    -when I click button areaButton to execute the calculation. Nothing appear at all. And in the DOS comand, it indicates that java.lang.NumberFormatExecption : empty String. Why?
    Can anyone help me to correct the code please. Below is my code.
    import java.awt.*;
    import javax.swing.*;
    import java.text.*;
    import java.awt.event.*;
    import java.lang.*;
    public class IntegralF extends JFrame {  
                   // This class is to form a frame
    //     double x1, double x2, double a,double  k,double  h,double  fx,double s1,double s2;
         JTextField xText;
         JTextField aText;
         JTextField kText;
         JLabel outputLabel;
         MyPanel GPanel;
            JPanel contentPane;
         //This method is called from within the constructor to initialize the form.
         public IntegralF()     {
              initComponents();
        private void initComponents() {
            MyPanel GPanel= new MyPanel();
            JPanel topPanel = new JPanel();
            JPanel bottomPanel = new JPanel();
            JPanel titlePanel = new JPanel();
            JPanel explainPanel = new JPanel();
            JPanel kPanel = new JPanel();
            JPanel aPanel = new JPanel();
            JPanel xPanel = new JPanel();
            JPanel controlPanel = new JPanel();
            JPanel outputPanel = new JPanel();
            JLabel titleLabel = new JLabel();
            JLabel explainLabel = new JLabel();
            JLabel kLabel = new JLabel();
            JLabel aLabel = new JLabel();
            JLabel xLabel = new JLabel();
            outputLabel = new JLabel();
            kText = new JTextField();
            aText = new JTextField();
            xText = new JTextField();
            JButton areaButton = new JButton();
            JButton exitButton = new JButton();
            contentPane = (JPanel) this.getContentPane();
            setTitle("Simpson's Rule for Definite Integral of Function");
            addWindowListener(new WindowAdapter() {
                public void windowClosing(WindowEvent evt) {
                    exitForm(evt);
         // Set bottom Panel
            bottomPanel.setLayout(new GridLayout(10, 0));
         GPanel.setSize(200,200);
            bottomPanel.add(GPanel,BorderLayout.SOUTH);
            getContentPane().add(bottomPanel, BorderLayout.SOUTH);
            //Set Top Panel
            topPanel.setLayout(new GridLayout(8, 0));
            titleLabel.setText("This program is used to calculate an integral of function f(x) = kxsin(x-a)" );
    //        Label1.setLayout(new GridLayout(3,0));
            titlePanel.add(titleLabel, BorderLayout.NORTH);
            topPanel.add(titlePanel, null);
            explainLabel.setText("Enter values of k, a, and x (x is in radian)" );
            explainPanel.setLayout(new GridLayout(3,0));
            explainPanel.add(explainLabel, null);
            topPanel.add(explainPanel, null);
            kLabel.setText("k");
            kText.setColumns(3);
            kPanel.add(kLabel, BorderLayout.EAST);
            kPanel.add(kText, BorderLayout.CENTER);
            topPanel.add(kPanel, null);
            aLabel.setText("a");
            aText.setColumns(3);
            aPanel.add(aLabel, BorderLayout.EAST);
            aPanel.add(aText, BorderLayout.CENTER);
            topPanel.add(aPanel, null);
            xLabel.setText("x");
            xText.setColumns(3);
            xPanel.add(xLabel, BorderLayout.WEST);
            xPanel.add(xText, BorderLayout.CENTER);
            topPanel.add(xPanel, null);
            outputPanel.setBorder(new javax.swing.border.EtchedBorder(null, Color.blue));
            outputPanel.setBackground(Color.white);
            outputPanel.add(outputLabel, null);
            topPanel.add(outputPanel, null);
            areaButton.setText("Area");
         areaButton.addActionListener(new MyActionListener());
            controlPanel.add(areaButton, null);
            exitButton.setText("Exit");
            exitButton.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent evt) {
                    exitButtonActionPerformed(evt);
            controlPanel.add(exitButton, null);
            topPanel.add(controlPanel, null);
         getContentPane().add(topPanel, BorderLayout.NORTH);
            pack();
            private void exitButtonActionPerformed(ActionEvent evt) {
            System.exit(0);
              private void exitForm(WindowEvent evt) {
            System.exit(0);
            public static void main(String args[]) {
            new IntegralF().setVisible(true);
       /**Overriding so that it exits when the window is closed.*/
        protected void processWindowEvent(WindowEvent e) {
             super.processWindowEvent(e);
             if (e.getID() == WindowEvent.WINDOW_CLOSING) {
                   System.exit(0);
         class MyActionListener implements ActionListener     {
              public void actionPerformed(ActionEvent e) {
                double  x2 = Double.parseDouble(xText.getText());
                double  k = Double.parseDouble(kText.getText());
                double  a = Double.parseDouble(aText.getText());
                GPanel.drawGraph(a,k,x2);
                GPanel.repaint();
                      double fx = Function(a, k, x2);
                outputLabel.setText(Double.toString(fx));
         double Function(double a,double k,double x2){
         // VARIABLE DECLARATION
         double s=0;
         double s1=0;
         double s2=0;
         double xEven=0;
         double xOdd=0;
         double h=0;
         double sumOdd=0;
         double sumEven=0;
          h= (double) x2/1000;
          System.out.println("h =" + h);
           // ODD NUMBERS OPERATION
          if ((k!=0)&&(x2!=0)){
             for(int i=1; i < 1000/2 +1 ; i++){
                 xOdd =  ((2 * i) -1) * h;
                 s1 = 4 * k * xOdd * Math.cos(xOdd-a);
                 sumOdd = sumOdd + s1;
              // EVEN NUMBERS OPERATION
            for (int j=1; j < (1000/2)  ; j++){
              xEven= 2 * j * h;
              s2 = 2 * k * xEven * Math.cos(xEven - a);
              sumEven = sumEven + s2;
              // ADDITION TO OBTAIN FINAL SIMPSON'S
            s=(sumEven + sumOdd + (x2 * k * Math.cos(x2-a))) * (h/3);
          else if (k==0){
            s=0;     
          else if (x2==0){
            s=0;
          return s;
    class MyPanel extends JPanel {
       double a, k, x2;
       public static final int STEPS = 200;
       void GPanel(double aC, double kC, double x2C) {
         a = aC;
         k = kC;
         x2 = x2C;
         this.setBackground(Color.yellow);
         this.setLayout(null);
        public void paint(Graphics g) {
          super.paint(g);
          g.setColor(Color.blue);
          for (int i = 0; i <= STEPS; i++) {
               //THE STARTING POINT
             double oldX = i * x2 /((double) STEPS);
             double oldY = k * oldX * Math.cos(oldX - a);
             double[] oldXY = {oldX, oldY};
             //THE ENDING POINT
             double newX = (i+1) * x2 /((double) STEPS);
             double newY = k * newX * Math.cos(newX - a);
             double[] newXY = {newX, newY};
             g.drawLine(pxlXY(oldXY)[0], pxlXY(oldXY)[1], pxlXY(newXY)[0],pxlXY(newXY)[1]);
          //DRAW A Y AXIS, TEXT TABLES ETC..
          g.drawLine(5, 130, 465, 130);
          g.drawString(Integer.toString((int)(k*x2)), 5, 10);
          g.drawString(Integer.toString((int)(k*x2*(-1))), 5, 255);
          g.drawString(Integer.toString(0), 5, 130);
          g.drawString(Integer.toString((int)x2), 450, 130);
       private int[] pxlXY(double[] xy) {
           int pxlX = (int) (xy[0] * 460 / x2) + 5;
           int pxlY = (int) (xy[1] * 125 / (k * x2) ) + 125 + 5;
           int[] points = {pxlX, pxlY};
           return points;
       public void drawGraph(double aC, double kC, double x2C) {
         a = aC;
         k = kC;
         x2 = x2C;
         this.repaint();
    }And this is a code to display GUI
    public class Application {
      /*  Constructor */
      public Application() {
        IntegralF frame = new IntegralF();
        frame.setVisible(true);
      /* Main method */
      public static void main(String[] args) {
        new Application();

    first bug: in initComponents() you say
    MyPanel GPanel = new MyPanel();Since GPanel is a member of the IntegralF class you probably mean:
    GPanel = new MyPanel();Just a hint, use a lower case letter for variables:
    JPanel p1 = null;
    GPanel p2 = null; // looks like another class name !
    MyPanel gPanel = null; // gPanel looks more like a variable than a classYou get and store contentPane, but then further on you say
    getContentPane().add(...). Do it one way or the other.
    Don't "mix n match"
    You set a grid layout on bottomPanel, then try to add GPanel to the
    SOUTH of bottomPanel - that doesn't make sense !

  • Why javascript is not running properly in firefox 36

    In firefox
    ajax XMLHTTPRequest is not working properly
    and some javascript also not working properly why?
    what is the reason

    Hello ap76t3,
    The Refresh feature (called "Reset" in older Firefox versions) can fix many issues by restoring Firefox to its factory default state while saving your bookmarks, history, passwords, cookies, and other essential information.
    '''''Note:''' When you use this feature, you will lose any extensions, toolbar customizations, and some preferences.'' See the [[Refresh Firefox - reset add-ons and settings]] article for more information.
    To Refresh Firefox:
    # Open the Troubleshooting Information page using one of these methods:
    #*Click the menu button [[Image:New Fx Menu]], click help [[Image:Help-29]] and select ''Troubleshooting Information''. A new tab containing your troubleshooting information should open.
    #*If you're unable to access the Help menu, type '''about:support''' in your address bar to bring up the Troubleshooting Information page.
    #At the top right corner of the page, you should see a button that says "Refresh Firefox" ("Reset Firefox" in older Firefox versions). Click on it.
    #Firefox will close. After the refresh process is completed, Firefox will show a window with the information that is imported.
    #Click Finish and Firefox will reopen.
    Did this fix the problem? Please report back to us!
    Thank you.

  • Why I can not run the mac software purchased from Ancestry for Family Tree Maker 2 or 4

    The software would not sync with ancestry family tree macker with out crashing when trying to sync.. This was both the FTM for Mac 2 and FTM for Mac 4.

    According to RoaringApps, FTM is not known to be compatible with Mavericks.  I would contact the developer.
    http://roaringapps.com/apps?index=f
    http://www.familytreemaker.com

  • Why can i not run Xplane 8 on my Mac OS X version 10.8.5

    I am trying to run XPlane8 on my Mac, on the packaging it says that it requires MAC OS X v 10.3 or later, which I have.
    now when I try to click on the install icon I get the following message.
    You can't open the application Installer MacIntosh" because PowerPC applications are no longer supported.
    Can yo uplease assist with this problem.

    From the Safari menu bar, select
    Help ▹ Installed Plug-ins
    Besides the following, what plugins are listed?
    iPhotoPhotocast
    Java
    QuickTime
    Shockwave Flash
    WebKit built-in PDF

  • Why can I not run quicktime videos?

    I cannot open quicktime videos usually on Facebook.  i have uploaded and installed multiple times

    iMac model? Mac OS version?

  • Why my GATHER_STATS_JOB is not running?

    Hi All,
    I am on Oracle 10.2 on Linux.
    Since the database is created, we have GATHER_STATS_JOB created, with all default settings. It has been running in past, but has not run in last 2 months.
    In v$parameter, statistics_level = TYPICAL
    When I check in dba_scheduler_jobs, I can see the values,
    schedule_name = MAINTENANCE_WINDOW_GROUP
    schedule_type = WINDOW_GROUP
    enabled = TRUE
    state = SCHEDULED
    job_priority = 3
    and all other default values, along with a proper last_start_date.
    Why it has not run in last 2 months ?
    In this database, some good amount of batch processing kicks off in the evening, say 7pm and goes on till 11pm. The maintainance window for Oracle's stats starts at 10pm on week days. Will this affect the GATHER_STATS_JOB ?
    I think, the stats job should still start. May be, if the database is very busy, it can kick off later than 10pm, but should kick off for sure.
    Is there any other parameter or condition, stopping stats job from running ?
    Thanks in advance

    Hi,
    If I say, one of the job queue processes are used to run scheduled job, is that correct? Job queue processes (J000 to J999) are also used for MView refresh, AQ processing etc etc.
    I want to check, which processes are using the job queue processes. Is it possible?
    When the instance starts, if job_queue_processes parameter is say, 10. Then there will be 10 processes j000 to J009 running. How can I find out, which processes/programs are using those processes at any given time?
    Ideas please.
    Thanks

  • Oracle 10g :: APEX not running

    Hi,
    I have installed Oracle 10g in my pc with the default configuration.
    First day of installation APEX client was running but now its not running.
    Server is running correctly as I saw server processes in the Process Manager (Task Manager).
    I am using a debian flavor of Linux.
    Can anyone help me, How to find out why it's not running?
    Thanks

    Hi,
    I tried to run those commands but none of them is working here. I am providing all the logs which generated while starting the Server.
    Thanks
    LOGS:
    Mon Jun 4 19:52:28 2007
    Starting ORACLE instance (normal)
    Cannot determine all dependent dynamic libraries for /proc/self/exe
    The open() system call failed for the file /proc/self/exe
    Linux Error: 13: Permission denied
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =10
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
    sessions = 49
    __shared_pool_size = 83886080
    __large_pool_size = 4194304
    __java_pool_size = 4194304
    __streams_pool_size = 0
    sga_target = 285212672
    control_files = /usr/lib/oracle/xe/oradata/XE/control.dbf
    __db_cache_size = 188743680
    compatible = 10.2.0.1.0
    db_recovery_file_dest = /usr/lib/oracle/xe/app/oracle/flash_recovery_area
    db_recovery_file_dest_size= 10737418240
    undo_management = AUTO
    undo_tablespace = UNDO
    remote_login_passwordfile= EXCLUSIVE
    dispatchers = (PROTOCOL=TCP) (SERVICE=XEXDB)
    shared_servers = 4
    job_queue_processes = 4
    background_dump_dest = /usr/lib/oracle/xe/app/oracle/admin/XE/bdump
    user_dump_dest = /usr/lib/oracle/xe/app/oracle/admin/XE/udump
    core_dump_dest = /usr/lib/oracle/xe/app/oracle/admin/XE/cdump
    audit_file_dest = /usr/lib/oracle/xe/app/oracle/admin/XE/adump
    db_name = XE
    open_cursors = 300
    os_authent_prefix =
    pga_aggregate_target = 94371840
    PMON started with pid=2, OS id=9688
    PSP0 started with pid=3, OS id=9690
    MMAN started with pid=4, OS id=9692
    DBW0 started with pid=5, OS id=9694
    LGWR started with pid=6, OS id=9696
    CKPT started with pid=7, OS id=9698
    SMON started with pid=8, OS id=9700
    RECO started with pid=9, OS id=9702
    CJQ0 started with pid=10, OS id=9704
    MMON started with pid=11, OS id=9706
    MMNL started with pid=12, OS id=9708
    Mon Jun 4 19:52:29 2007
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 4 shared server(s) ...
    Oracle Data Guard is not available in this edition of Oracle.
    Mon Jun 4 19:52:29 2007
    ALTER DATABASE MOUNT
    Mon Jun 4 19:52:33 2007
    Setting recovery target incarnation to 2
    Mon Jun 4 19:52:33 2007
    Successful mount of redo thread 1, with mount id 2505516605
    Mon Jun 4 19:52:33 2007
    Database mounted in Exclusive Mode
    Completed: ALTER DATABASE MOUNT
    Mon Jun 4 19:52:33 2007
    ALTER DATABASE OPEN
    Mon Jun 4 19:52:33 2007
    Thread 1 opened at log sequence 5
    Current log# 2 seq# 5 mem# 0: /usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/onlinelog/o1_mf_2_35gv5kcp_.log
    Successful open of redo thread 1
    Mon Jun 4 19:52:33 2007
    SMON: enabling cache recovery
    Mon Jun 4 19:52:34 2007
    Successfully onlined Undo Tablespace 1.
    Mon Jun 4 19:52:34 2007
    SMON: enabling tx recovery
    Mon Jun 4 19:52:34 2007
    Database Characterset is WE8MSWIN1252
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    QMNC started with pid=19, OS id=9724
    Mon Jun 4 19:52:35 2007
    db_recovery_file_dest_size of 10240 MB is 0.98% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Mon Jun 4 19:52:36 2007
    Completed: ALTER DATABASE OPEN

  • FOR ALL ENTRIES stmnt. in SELECT query is not running properly

    Hello experts,
              In my report program, I write one query on table BSIS.
             Internal table declaration -             
           DATA : BEGIN OF DLC_BSIS OCCURS 0,
                            BUKRS LIKE BSIS-BUKRS,
                            GJAHR LIKE BSIS-GJAHR,
                            BELNR LIKE BSIS-BELNR,  
                            SHKZG LIKE BSIS-SHKZG,
                            BSCHL LIKE BSIS-BSCHL,
                            AUFNR LIKE BSIS-AUFNR,
                            HKONT LIKE BSIS-HKONT,
                            QSSKZ LIKE BSIS-QSSKZ,
                            DMBTR LIKE BSIS-DMBTR,
                       END OF DLC_BSIS.                                                                               
    Query as follows --
             SELECT BUKRS
                           GJAHR
                           BELNR
                           AHKZG
                           BSCHL
                           AUFNR
                           HKONT
                           QSSKZ
                            DMBTR FROM BSIS
                                      INTO TABLE DLC_BSIS
                                     FOR ALL ENTRIES IN IT_BKPF2
                                     WHERE BELNR = IT_BKPF2-BELNR
                                                  AND BUKRS = IT_BKPF2-BUKRS
                                                  AND GJAHR = IT_BKPF2-GJAHR.
    IT_BKPF2 internal table having -- BUKRS - LT01
                                                         BELNR - 6400000061
                                                         GJAHR - 2009.
    And in BSIS database  table  -- 3 entries are there for the above documnet.
    But, in my internal only one entry has come for the same above document.
    I think For all entries stmnt. is not running properly. But Why it's not running properly.??
    What would be the reason..??
    Thanks in advance....!!
    Regards,
    Poonam.

    >
    Poonam Patil wrote:
    > Hello experts,
    >           In my report program, I write one query on table BSIS.
    >
    >          Internal table declaration -             
    >                                            
    >        DATA : BEGIN OF DLC_BSIS OCCURS 0,
    >                         BUKRS LIKE BSIS-BUKRS,
    >                         GJAHR LIKE BSIS-GJAHR,
    >                         BELNR LIKE BSIS-BELNR,  
    >                         SHKZG LIKE BSIS-SHKZG,
    >                         BSCHL LIKE BSIS-BSCHL,
    >                         AUFNR LIKE BSIS-AUFNR,
    >                         HKONT LIKE BSIS-HKONT,
    >                         QSSKZ LIKE BSIS-QSSKZ,
    >                         DMBTR LIKE BSIS-DMBTR,
    >                    END OF DLC_BSIS.                                                                               
    >                           
    >          Query as follows --
    >
    >          SELECT BUKRS
    >                        GJAHR
    >                        BELNR
    >                        AHKZG
    >                        BSCHL
    >                        AUFNR
    >                        HKONT
    >                        QSSKZ
    >                         DMBTR FROM BSIS
    >                                   INTO TABLE DLC_BSIS
    >                                  FOR ALL ENTRIES IN IT_BKPF2
    >                                  WHERE BELNR = IT_BKPF2-BELNR
    >                                               AND BUKRS = IT_BKPF2-BUKRS
    >                                               AND GJAHR = IT_BKPF2-GJAHR.
    >
    > IT_BKPF2 internal table having -- BUKRS - LT01
    >                                                      BELNR - 6400000061
    >                                                      GJAHR - 2009.
    >
    > And in BSIS database  table  -- 3 entries are there for the above documnet.
    >
    > But, in my internal only one entry has come for the same above document.
    >
    > I think For all entries stmnt. is not running properly. But Why it's not running properly.??
    > What would be the reason..??
    >
    >
    > Thanks in advance....!!
    >
    > Regards,
    > Poonam.
    include the buzei field in selection criteria i have faced the same situation earlier.
    always select all the key fields.
    varun

  • Query not running

    i not understanding why this is not running
    SELECT TotalBedOccupied, BedOccupancyRate,
    TotalNoOfBed,TotalLengthOfStay, 0
    --into vr_TotalBedOccu,vr_TotalBedOccuRate,
    -- vr_TotalBed,vr_TotalLOS,vr_AvgLOS
    FROM MIS_STATICAL_INFO
    Where TO_CHAR(InfoDate,'DD-MON-YYYY') = TO_CHAR(sysdate,'DD-MON-YYYY');
    error
    SQL Error: ORA-01722: invalid number
    01722. 00000 - "invalid number"
    *Cause:   
    *Action:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    user21354 wrote:
    yes you are right InfoDate is varchar2 .... it changed it.....
    thnksYou are welcome, why not look into this then
    Handle:      user21354
    Status Level:      Newbie
    Registered:      Jan 24, 2011
    Total Posts:      153
    Total Questions:      *80 (65 unresolved)*

  • Installed lion to learn it does not run word and excel

    This is crazy.  I feel like going back to the older version.  Why would it not run my microsoft/mac software.

    Newer versions of microsoft office are supported (2008 and 2011), however anything older than that is a PowerPC application and will not work with lion. I have office 2004 and that no longer works so I know how you feel. Luckily, nyou have a number of options. You can use a number of free services such as google docs or open office. You could also upgrade to a newer version of Microsoft Office. You could also purchase the iWork applications from the Mac App Store for 20 dollars each. These applications can open office documents as well as save in a microsoft office format. Finally, you can downgrade your OS back to Snow Leopard.

  • Can not run two domains on same machine (JVM).

    Hi every body in news group,
    I have a problem with weblogic 6.x, I am trying to run multiple domains e.g examples,
    mydomain, mydomain1 on the same machine (JVM) at the same time, but I can not
    run all three at same time, I changed ports already on all domains, and every
    one has different ports, e.g 7001, 7002, 7003, but still when one domain is running,
    and I try to run other startup file by command prompt, it says, can not initialize
    JVM, can some one help me to understand, why I can not run different domains at
    one time, according to my knowledge, we can run multiple domains on one JVM, by
    giving them differnt ports. I will appreciate your help, looking forward to your
    response, thanks in advance.
    Cheers!
    Ghayyur

    This should work. Could you post the exact error message?
    Ghayyur Hassan wrote:
    Hi every body in news group,
    I have a problem with weblogic 6.x, I am trying to run multiple domains e.g examples,
    mydomain, mydomain1 on the same machine (JVM) at the same time, but I can not
    run all three at same time, I changed ports already on all domains, and every
    one has different ports, e.g 7001, 7002, 7003, but still when one domain is running,
    and I try to run other startup file by command prompt, it says, can not initialize
    JVM, can some one help me to understand, why I can not run different domains at
    one time, according to my knowledge, we can run multiple domains on one JVM, by
    giving them differnt ports. I will appreciate your help, looking forward to your
    response, thanks in advance.
    Cheers!
    Ghayyur

Maybe you are looking for

  • Facebook Notifications on Hub don't appear

    I updated my Z10 recently with os 10.1. After the update, I noticed that Facebook notifications dont appear in the hub like they used to. I tried performing a system restore to the extent of losing all my contacts in full hope of it solving the probl

  • How can I make audio play through my Macbook Pro while my Apple TV is on

    My Macbook Pro has now defaulted to my Apple TV as its source of audio while on the same network. If I attempt to switch it to internal speakers by clicking option and the volume button, it will not stay changed to internal speakers. This would be ok

  • ITunes won't open after installing update for 10.4

    I updated my iTunes to the most recent version and restarted my computer. When my computer turned back on, I tried to open iTunes but it just keeps giving me the "The application iTunes quit unexpectedly" message and asks me to either ignore report o

  • Directory content with WEB.SHOW_DOCUMENT

    I want to show the content, the files of a directory in a new browser-window, which is opened from within forms. I tried the built-in WEB.SHOW_DOCUMENT('URL','_blank') which works fine if the specified URL contains an existing .html file at the end,

  • Capture status of E-mail or FAX sent by bursting program

    Hi , I want to capture the status of E-mail or Fax sent by bursting program. Are there are any tables which log this data ? Are there any tables where we can check the status of bursting program ? Thanks, Chaitanya