Pls help me to execute this code for pert analysis..

hi friend;
i m new in java and i have downloaded some code for pert analysis which is giving some exception called run time .so,pls tell how to give the i/p..bcoz i faceing some at tha time. aur if u have pls send me pert analysis code..
the code is below.......
thanks
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Proyecto {
     * @param args
     public static void main(String[] args) {
          String texto = null;
          int n = 0, t = 0;
          Tarea tareas[] = null, inicio = null, fin = null;
          try {
               BufferedReader in = new BufferedReader(new InputStreamReader(
                         System.in));
               texto = in.readLine();
               n = Integer.parseInt(texto);
               tareas = new Tarea[n];
               inicio = new TareaInicio();
               fin = new TareaFinal();
               inicio.setNombre("Inicio");
               inicio.setTiempo(0);
               fin.setNombre("Fin");
               fin.setTiempo(0);
               for (int i = 0; i < n; i++) {
                    texto = in.readLine();
                    tareas[i] = new Tarea();
                    StringTokenizer st = new StringTokenizer(texto, ",");
                    String nombre, tipo, tiempo;
                    nombre = st.nextToken();
                    tipo = st.nextToken();
                    tareas.setNombre(nombre);
                    if (tipo.equals("F")) {
                         tiempo = st.nextToken();
                         tareas[i].setTiempo(Integer.parseInt(tiempo));
                    } else if (tipo.equals("A") || tipo.equals("P")) {
                         tareas[i].setTiempo(0);
               texto = in.readLine();
               t = Integer.parseInt(texto);
               for (int i = 0; i < t; i++) {
                    String org, des;
                    Tarea torg = null, tdes = null;
                    texto = in.readLine();
                    StringTokenizer st = new StringTokenizer(texto, ",");
                    org = st.nextToken();
                    des = st.nextToken();
                    if (org.equals(inicio.getNombre())) {
                         torg = inicio;
                    } else {
                         for (int j = 0; j < n; j++) {
                              if (org.equals(tareas[j].getNombre())) {
                                   torg = tareas[j];
                                   break;
                    if (des.equals(fin.getNombre())) {
                         tdes = fin;
                    } else {
                         for (int j = 0; j < n; j++) {
                              if (des.equals(tareas[j].getNombre())) {
                                   tdes = tareas[j];
                                   break;
                    if (torg == null || tdes == null) {
                    torg.addConcecuente(tdes);
                    tdes.addAntecedente(torg);
          } catch (IOException e) {
               System.out.println("Error en entrada de datos");
          fin.terminacionRapida();
          inicio.inicioTardio();
          System.out.print("Ruta Critica: Inicio, ");
          for (int i = 0; i < n; i++) {
               if (tareas[i].isCritico()) {
                    System.out.print(tareas[i].getNombre() + ", ");
          System.out.print(" Fin\n");
          System.out.println("Tiempo: " + fin.inicioTardio());
          System.out.println(inicio.getNombre() + " holgura: "
                    + inicio.getHolgura());
          for (int i = 0; i < n; i++) {
               System.out.println(tareas[i].getNombre() + " holgura: "
                         + tareas[i].getHolgura());
          System.out.println(fin.getNombre() + " holgura: " + fin.getHolgura());
import java.util.ArrayList;
public class Tarea {
     private String nombre;
     private int tiempo;
     private int holgura;
     private ArrayList antecedentes;
     private ArrayList consecuentes;
     private int iniciomasrapido;
     private int terminacionmasrapida;
     private int iniciomastarde;
     private int terminaciontarde;
     Tarea(){
          this.antecedentes = new ArrayList();
          this.consecuentes = new ArrayList();
     void setNombre(String nombre){
          this.nombre=nombre;
     void setTiempo(int tiempo){
          this.tiempo=tiempo;          
     public String getNombre() {
          return nombre;
     public int getTiempo() {
          return tiempo;
     public int terminacionRapida(){
          this.iniciomasrapido=0;
          for (int i = 0; i < antecedentes.size(); i++) {               
               if(((Tarea)antecedentes.get(i)).terminacionRapida()>this.iniciomasrapido){
                    this.iniciomasrapido=((Tarea)antecedentes.get(i)).terminacionRapida();                    
          this.terminacionmasrapida=this.iniciomasrapido+this.tiempo;
          return (this.terminacionmasrapida);
     public int inicioTardio(){
          this.terminaciontarde=999999;
          for (int i = 0; i < consecuentes.size(); i++) {
               if(((Tarea)consecuentes.get(i)).inicioTardio()<this.terminaciontarde){
                    this.terminaciontarde=((Tarea)consecuentes.get(i)).inicioTardio();                    
          this.iniciomastarde=this.terminaciontarde-this.tiempo;
          return (this.iniciomastarde);
     int getHolgura(){
          this.holgura=this.iniciomastarde-this.iniciomasrapido;
          return this.holgura;
     @SuppressWarnings("unchecked")
     public void addAntecedente(Tarea t){
          this.antecedentes.add(t);
     @SuppressWarnings("unchecked")
     public void addConcecuente(Tarea t){
          this.consecuentes.add(t);          
     boolean isCritico(){
          return (this.getHolgura()==0);          
public class TareaFinal extends Tarea {
     public int inicioTardio(){
          return this.terminacionRapida();          
     public int getHolgura(){
          return 0;          
public class TareaInicio extends Tarea {
     public int terminacionRapida(){
          return 0;
     public int getHolgura(){
          return 0;          

Here is your code in code tags
* To change this template, choose Tools | Templates
* and open the template in the editor.
package proyecto;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.util.StringTokenizer;
public class Proyecto {
    private static int i;
     * @param args the command line arguments
    public static void main(String[] args) {
        String texto = null;
int n = 0, t = 0;
Tarea tareas[] = null, inicio = null, fin = null;
try {
BufferedReader in = new BufferedReader(new InputStreamReader(
System.in));
texto = in.readLine();
n = Integer.parseInt(texto);
tareas = new Tarea[n];
inicio = new TareaInicio();
fin = new TareaFinal();
inicio.setNombre("Inicio");
inicio.setTiempo(0);
fin.setNombre("Fin");
fin.setTiempo(0);
for (int i = 0; i < n; i++) {
texto = in.readLine();
tareas[i] = new Tarea();
StringTokenizer st = new StringTokenizer(texto, ",");
String nombre, tipo, tiempo;
nombre = st.nextToken();
tipo = st.nextToken();
tareas.setNombre(nombre);
if (tipo.equals("F")) {
tiempo = st.nextToken();
tareas[i].setTiempo(Integer.parseInt(tiempo));
} else if (tipo.equals("A") || tipo.equals("P")) {
tareas[i].setTiempo(0);
texto = in.readLine();
t = Integer.parseInt(texto);
for (int i = 0; i < t; i++) {
String org, des;
Tarea torg = null, tdes = null;
texto = in.readLine();
StringTokenizer st = new StringTokenizer(texto, ",");
org = st.nextToken();
des = st.nextToken();
if (org.equals(inicio.getNombre())) {
torg = inicio;
} else {
for (int j = 0; j < n; j++) {
if (org.equals(tareas[j].getNombre())) {
torg = tareas[j];
break;
if (des.equals(fin.getNombre())) {
tdes = fin;
} else {
for (int j = 0; j < n; j++) {
if (des.equals(tareas[j].getNombre())) {
tdes = tareas[j];
break;
if (torg == null || tdes == null) {
torg.addConcecuente(tdes);
tdes.addAntecedente(torg);
} catch (IOException e) {
System.out.println("Error en entrada de datos");
fin.terminacionRapida();
inicio.inicioTardio();
System.out.print("Ruta Critica: Inicio, ");
for (int i = 0; i < n; i++) {
if (tareas[i].isCritico()) {
PrintStream printf = System.out.printf(tareas[i].getNombre(), ", ");
System.out.print(" Fin\n");
System.out.printf("Tiempo: ", fin.inicioTardio());
System.out.printf(inicio.getNombre()+ " holgura: ", inicio.getHolgura());
System.out.printf(tareas[i].getNombre()+ " holgura: ", tareas[i].getHolgura());
System.out.printf(fin.getNombre()+ " holgura: ", fin.getHolgura());
}the a another class /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
package proyecto;
import java.util.ArrayList;
* @author Kenneth Rinderhagen
class Tarea {
private String nombre;
private int tiempo;
private int holgura;
private ArrayList antecedentes;
private ArrayList consecuentes;
private int iniciomasrapido;
private int terminacionmasrapida;
private int iniciomastarde;
private int terminaciontarde;
Tarea(){
this.antecedentes = new ArrayList();
this.consecuentes = new ArrayList();
void setNombre(String nombre){
this.nombre=nombre;
void setTiempo(int tiempo){
this.tiempo=tiempo;
public String getNombre() {
return nombre;
public int getTiempo() {
return tiempo;
public int terminacionRapida(){
this.iniciomasrapido=0;
for (int i = 0; i < antecedentes.size(); i++) {
if(((Tarea)antecedentes.get(i)).terminacionRapida()>this.iniciomasrapido){
this.iniciomasrapido=((Tarea)antecedentes.get(i)).terminacionRapida();
this.terminacionmasrapida=this.iniciomasrapido+this.tiempo;
return (this.terminacionmasrapida);
public int inicioTardio(){
this.terminaciontarde=999999;
for (int i = 0; i < consecuentes.size(); i++) {
if(((Tarea)consecuentes.get(i)).inicioTardio()<this.terminaciontarde){
this.terminaciontarde=((Tarea)consecuentes.get(i)).inicioTardio();
this.iniciomastarde=this.terminaciontarde-this.tiempo;
return (this.iniciomastarde);
int getHolgura(){
this.holgura=this.iniciomastarde-this.iniciomasrapido;
return this.holgura;
@SuppressWarnings("unchecked")
public void addAntecedente(Tarea t){
this.antecedentes.add(t);
@SuppressWarnings("unchecked")
public void addConcecuente(Tarea t){
this.consecuentes.add(t);
boolean isCritico(){
return (this.getHolgura()==0);
then another class /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
package proyecto;
* @author Kenneth Rinderhagen
public class TareaInicio extends Tarea {
public int terminacionRapida(){
return 0;
public int getHolgura(){
return 0;
}and then  the tereaFinal class/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
package proyecto;
* @author Kenneth Rinderhagen
public class TareaFinal extends Tarea {
public int inicioTardio(){
return this.terminacionRapida();
public int getHolgura(){
return 0;

Similar Messages

  • Pls help screwy problem with this code

    Im pretty new to java, and I'm trying to make a MASH program to practice. I cant figure out this error, as it checks out with some examples from a book. Please help!
    When compiling in the command prompt, this is what the errors are:
    cannot resolve symbol
    symbol: class MashBuild
    location: class MashEvent
    MashBuild gui;
    ^
    cannot resolve symbol
    symbol: class MashBuild
    location: class MashEvent
    public MashEvent(MashBuild in) {
    ^
    Here is the code for MashEvent.java -- I also have a class called MashBuild that has the code for the display of the program and all of the JButtons, etc. so I dont see why this shouldn't work
    import javax.swing.*;
    import java.awt.event.*;
    public class MashEvent implements ActionListener, Runnable {
         MashBuild gui;
         Thread playing;
         public MashEvent(MashBuild in) {
         gui = in;
         public void actionPerformed(ActionEvent event) {
              String command = event.getActionCommand();
              if (command == "Play")
              startPlaying();
              if (command == "Reset")
              clearAllFields();
         void startPlaying() {
              playing = new Thread(this);
              playing.start();
              gui.play.setEnabled(false);
              gui.reset.setEnabled(true);
         void clearAllFields() {
              for (int i = 0; i < 10; i++) {
              gui.houses.setText(null);
              gui.cars[i].setText(null);
              gui.people[i].setText(null);
              gui.kids[i].setText(null);
              gui.houseTR.setText(null);
              gui.carTR.setText(null);
              gui.peopleTR.setText(null);
              gui.kidTR.setText(null);
         public void run() {
              Thread thisThread = Thread.currentThread();
              while (playing == thisThread) {
              int choice;
              choice = (int)Math.floor(Math.random() * 10);
              if (choice != 40) {
                   gui.houseTR.setText(gui.houses[0].value);
                   gui.carTR.setText(gui.cars[0].value);
                   gui.peopleTR.setText(gui.people[0].value);
                   gui.kidTR.setText(gui.kids[0].value);
                        try {
                             Thread.sleep(100);
                        } catch(InterruptedException e) { }

    Or more precisely, did you compile MashBuild.java into MashBuild.class...
    It's one of the errors I run into when I forget to compile one of the classes that another class calls...
    - MaxxDmg...
    - ' He who never sleeps... '

  • Can some body help me to develop labview code for generating pulse to drive ac servo motor

    can some body help me to develop labview code for generating pulse to drive ac servo motor... i am using NI 9401 card ....tnx

    Driving an AC servo motor would (I missed AC on the previous msg) requires some complex hardware. This is generally done by drivers specifically designed for this purpose. I doubt you will be able to accomplish this with the hardware you currently have and it might be cheaper to just buy a driver for it and control the speed through the driver.

  • Pls help me in sending sequential responses for the different commands.

    Hi all
    pls help me in  sending sequential responses for the different commands. For example,i have to send the response1 for command1 then again host wll send the some other command ,say command 2  after receiving response 1,then again i have to respond to the corresponding command.i m using the pci-6221 card not tradition DAQcard.
    regards,
    nitin

    Hi,
    you need to be more specific. What is your setup?
    Obviously, what you need is a command parser. Look this article for the basics. I know it is meant for RT but the concept is there.
    Not sure it will help with so few infos: http://zone.ni.com/devzone/conceptd.nsf/webmain/CD63FD0F746B17A686256F090065F572
    Dai
    Dai
    LV 7.1 - WIN XP - RT - FP

  • Please help me to complete this code

    import java.security.MessageDigest;
    import java.util.Map;
    import java.util.Scanner;
    public class PasswordService
       //The hash is to be formed using the SHA algorithm
       //to create a MessageDigest
       private final String algorithmName = "SHA";
       //Use a message digest to create hashed passwords
       private MessageDigest md = null;
       //We simulate a database of users using who have a login and password
       //as a key and value pair in a Map
       private Map<String, byte[]> userData;
       //complete the constructor
       public PasswordService()
         //TODO - intialize the class instance data
          //some dummy data - do not alter these lines
          addUser("daddy", "cool");
          addUser("nightflight", "topChat");
          addUser("boney", "2E5sxuSRg6A");
       public void showProvider()
          //TODO
       //Get the hash value for the provided string password.
         public byte[] getHash(String password)
          //TODO
          return null;
       public void addUser(String login, String password)
          //TODO
       public byte[] getPassword(String login)
          //TODO
          return null;
       public boolean checkLogin(String login, String password)
         // TODO
          return false;
       //This method is provided to perform a login from the command line
       public boolean doLogin()
          Scanner sc = new Scanner(System.in);
          System.out.println("Enter login please");
          String login = sc.next();
          System.out.println("Your password please");
          String password = sc.next();
          return checkLogin(login, password);
       public static void main(String[] args)
          int attempts = 0;
          showProvider();
          while(attempts < 4)
             boolean match = doLogin(); //request login and password
             System.out.println("match? " + match);
             attempts++;
    }

    please help me to complete this code
    void completeCode(Code code,Properties options) throws CodeCompletingException
    CodeCompleterFactory cf = CodeCompleterFactory.newInstance();
    CodeCompleter cc = cf.newCodeCompleter();
    cc.complete(code,options);
    }

  • PLZZZ Help me out in this code

    hi friends..
    Problem in this code is trial of accessing a value that dsnt exist,i.e.,
    words[i+1] . This throws an ArrayOutOfBoundException as it is supposed to. But i nyhow want to access words[i+1] ,may it be null. How do i do that? PLZZ suggest me n rewrite this code for me correctly.
    ( Here words is a string array with values in it . str1,str2,str3,str4 are strings)
    for (i=0;i<words.length;i++)
       String str3=words[ i ];
      if(str3!=null)
           k=words.indexOf("/");
    str1=words[i].substring(k);
    String str4=words[i+1]; //error is here
    if(str4!=null)
         l=words[i+1].indexOf("/");
         str2=words[i+1].substring(l);
    }>

    oh! both the forums r same???erm, no. they're both on the same site, though

  • The Keyboard clicks are not working despite the Keyboard click in settings are ON. Am using IOS 6.1.3.Pls Help me to rech this problem.

    The Keyboard clicks are not working despite the Keyboard click in settings are ON. Am using IOS 6.1.3.Pls Help me to rech this problem

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.

  • I create an id. on review option when i enter visa card and security code, it always gives an error msg "Invalid Secruity code". but i use this code for money withdraw from ATM and for shopping also. plz tell the solution ????

    i create an id. on review option when i enter visa card and security code, it always gives an error msg "Invalid Secruity code". but i use this code for money withdraw from ATM and for shopping also. plz tell the solution ????

    The code they are asking for is the last three digits of the number on the back of the card (you don't use this when using an ATM or presenting the card in shops).

  • Urgent where i put this code for delete

    hi master
    sir this code is right for my requirment but when i put on_delete event system not respons or not delete record
    where i put this code for conditional deletion
    this is my code
    declare
         recno number;
    begin
    if :system.cursor_block='accbal' then
    delete accbal where accid=:chartofacc.accid;
         go_block('chartofacc');
         next_record;
    elsif :system.cursor_block='chartofacc' then
         select count(*) into recno from accbal where accid=:chartofacc.accid;
         if recno=0 then
         delete_record;
         go_block('chartofacc');
         previous_record;
         else
         message ('system found matching record then no delete master record');
         message ('system found matching record then no delete master record');
         end if;
    end if;
    end;
    please gide me which event i use
    thanking you
    aamir

    Hello,
    The ON-DELETE triger fires only after a COMMIT statment and only for those records that have been deleted in the block.
    Francois

  • Videos becoming pixelated on win8.1 while does not happen with crome pepper base flash. pls help me to resolve this issue

    videos becoming pixelated on win8.1 while does not happen with crome pepper base flash. pls help me to resolve this issue

    videos becoming pixelated on win8.1 while does not happen with crome pepper base flash. pls help me to resolve this issue

  • Halo, i hav an ipad2 version 4.3.5. now i went for updating it and while updating it shows error 4005. Pls help me in fixing this issue

    halo, iam using an ipad 2 and it was in version 4.3.5. Thought of updating it and went for it. While updating it shows error 4005 and i couldnt fix it. Can some one help me to fix this issue.

    You've tried the other things on those pages e.g. tried a different USB port on your computer and a different cable, tried the other pages that the first link
    If there’s an issue with the USB port, cable, dock, or hub, or if the device becomes disconnected during restore, try troubleshooting the USB connection, then troubleshooting your security software.
    If you checked your connections and are still seeing the error message, check for hardware issues.
    Check for hardware issues
    Related errors: 1, 3, 10, 11, 12, 13, 14, 16, 20, 21, 23, 26, 27, 28, 29, 34, 35, 36, 37, 40, 1000, 1002, 1004, 1011, 1012, 1014, 1667, or 1669.
    Try to restore your iOS device two more times while connected with a cable, computer, and network you know are good. Also, confirm your security software and settings are allowing communication between your device and update servers. If you still see the error message when you update or restore, contact Apple support.
    Do you have a different computer that you could try ?
    If you continue to see error 4005, 4013, or 4014 when you restore your device, contact Apple for support.

  • Pls help me in write a join for the following code.

    can any one give me optimized code for the posted query..
    DATA :BEGIN OF BAPITABLE OCCURS 1,
           EDITELEM LIKE TOJTB-EDITELEM,
           FUNCTION LIKE SBAPIS-FUNCTION,
           SHORTTEXT    LIKE TFTIT-STEXT,
           END OF BAPITABLE.
              SELECT     EDITELEM  INTO (BAPITABLE-EDITELEM)
                                   FROM TOJTB
                                   WHERE APPLIC = APPLICATIONCODE
                                   AND MODELONLY = 'R'
                                   and ACTIVE = 'X'.
              SELECT FUNCTION INTO (BAPITABLE-FUNCTION)
                              FROM  SBAPIS
                              WHERE OBJECT = JEDITELEM.
             SELECT STEXT INTO (BAPITABLE-SHORTTEXT)
                          FROM TFTIT
                          WHERE SPRAS = 'EN' AND FUNCNAME = BAPITABLE-FUNCTION.
                         APPEND BAPITABLE.
                             ENDSELECT.
                   ENDSELECT.
           ENDSELECT.
    waiting for ur replies....
    RESHALI

    Hi
    i'm giving you a sample code please change according to your requiirement.
    I've taken required fields from 3 different tables and put them in one internal table.
    please see the following code.
    types : begin of ty_kna1,
             kunnr type kna1-kunnr,
             name1 type kna1-name1,
             vbeln type vbap-vbeln,
             erdat type vbak-erdat,
           end of ty_kna1.
    data : it_kna1 type table of ty_kna1,
           wa_kna1 type ty_kna1.
    data : it_fieldcat type slis_t_fieldcat_alv,
           wa_fieldcat type slis_fieldcat_alv.
    start-of-selection.
      select kkunnr kname1 v1erdat v2vbeln
      into corresponding fields of table it_kna1
      from ( ( kna1 as k
        inner join vbak as v1 on kkunnr = v1kunnr )
        inner join vbap as v2 on v1vbeln = v2vbeln )
        up to 100 rows.
    Reward if helpful
    Regards
    Lakshman

  • Hs_err_pid3108 error pls help me its really been there for a year now =(

    Here is the complete error file:
    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x2309cfa0, pid=3108, tid=2896
    # Java VM: Java HotSpot(TM) Client VM (1.6.0_01-b06 mixed mode, sharing)
    # Problematic frame:
    # C 0x2309cfa0
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x07c48000): JavaThread "Thread-10" daemon [_thread_in_Java, id=2896]
    siginfo: ExceptionCode=0xc0000005, writing address 0x385d0800
    Registers:
    EAX=0x001f0900, EBX=0x00000109, ECX=0x2309cf98, EDX=0x0000dc00
    ESP=0x0a33ebb0, EBP=0x0a33f008, ESI=0x0000dc00, EDI=0x00000135
    EIP=0x2309cfa0, EFLAGS=0x00210246
    Top of Stack: (sp=0x0a33ebb0)
    0x0a33ebb0: 00000000 00000000 00000135 00000135
    0x0a33ebc0: 001f0900 001f0900 0000013d 10c50000
    0x0a33ebd0: 01590005 00730000 0000006e ffff6187
    0x0a33ebe0: 000030c3 ffff6187 00000083 ffff5e51
    0x0a33ebf0: 000006bc ffff5e51 ffff8000 0001c000
    0x0a33ec00: ffff8000 00000073 00000071 0f460000
    0x0a33ec10: 017c3332 01480000 01480000 0b0f8000
    0x0a33ec20: 0b0f8000 00000000 0b0f8000 00000002
    Instructions: (pc=0x2309cfa0)
    0x2309cf90: 01 00 00 00 ac 0a 00 00 01 00 00 00 88 e3 72 2b
    0x2309cfa0: 01 9c 02 00 23 3d 38 00 23 3d 38 00 23 3d 38 00
    Stack: [0x0a240000,0x0a340000), sp=0x0a33ebb0, free space=1018k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C 0x2309cfa0
    J ea.k(I)V
    J ea.a(ZZI)V
    J ea.a(IIIIIIIII)V
    J qb.a(Lse;Z)V
    J qb.a(IIIIII)V
    J pf.a(I)V
    J lb.b(B)V
    J client.a(I)V
    J v.g(I)V
    J v.run()V
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x0aad9400 JavaThread "Thread-16" daemon [_thread_blocked, id=2004]
    0x08994800 JavaThread "Thread-15" daemon [_thread_blocked, id=3856]
    0x089ae400 JavaThread "Thread-14" daemon [_thread_blocked, id=3464]
    0x08964000 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=3760]
    0x0899e000 JavaThread "Thread-11" daemon [_thread_blocked, id=404]
    =>0x07c48000 JavaThread "Thread-10" daemon [_thread_in_Java, id=2896]
    0x08adbc00 JavaThread "Thread-9" daemon [_thread_blocked, id=1592]
    0x0894bc00 JavaThread "AWT-EventQueue-2" [_thread_in_native, id=3192]
    0x08ae5c00 JavaThread "thread applet-loader.class" [_thread_blocked, id=3276]
    0x0894ac00 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3256]
    0x08946400 JavaThread "AWT-Shutdown" [_thread_blocked, id=2888]
    0x08940400 JavaThread "CacheCleanUpThread" daemon [_thread_blocked, id=3004]
    0x07d32c00 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=3712]
    0x07d26400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3568]
    0x07d24400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3092]
    0x07c70400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3348]
    0x07c6b800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3596]
    0x07c6a400 JavaThread "Attach Listener" daemon [_thread_blocked, id=2756]
    0x07c69400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2764]
    0x07c65000 JavaThread "Finalizer" daemon [_thread_blocked, id=2460]
    0x07c60800 JavaThread "Reference Handler" daemon [_thread_blocked, id=3616]
    0x02949c00 JavaThread "main" [_thread_in_native, id=2308]
    Other Threads:
    0x07c57400 VMThread [id=3600]
    0x07c8ac00 WatcherThread [id=1144]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 6080K, used 4552K [0x20960000, 0x20ff0000, 0x210c0000)
    eden space 5440K, 73% used [0x20960000, 0x20d442e8, 0x20eb0000)
    from space 640K, 88% used [0x20f50000, 0x20fde068, 0x20ff0000)
    to space 640K, 0% used [0x20eb0000, 0x20eb0000, 0x20f50000)
    tenured generation total 80140K, used 69910K [0x210c0000, 0x25f03000, 0x26960000)
    the space 80140K, 87% used [0x210c0000, 0x25505930, 0x25505a00, 0x25f03000)
    compacting perm gen total 12288K, used 4386K [0x26960000, 0x27560000, 0x2a960000)
    the space 12288K, 35% used [0x26960000, 0x26da8998, 0x26da8a00, 0x27560000)
    ro space 8192K, 62% used [0x2a960000, 0x2ae5e4e8, 0x2ae5e600, 0x2b160000)
    rw space 12288K, 52% used [0x2b160000, 0x2b7a0e78, 0x2b7a1000, 0x2bd60000)
    Dynamic libraries:
    0x00400000 - 0x0049a000      C:\Program Files\Internet Explorer\iexplore.exe
    0x7c900000 - 0x7c9b6000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8fe000      C:\WINDOWS\system32\kernel32.dll
    0x77f40000 - 0x77feb000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77da0000 - 0x77e31000      C:\WINDOWS\system32\RPCRT4.dll
    0x77e40000 - 0x77e87000      C:\WINDOWS\system32\GDI32.dll
    0x7e390000 - 0x7e420000      C:\WINDOWS\system32\USER32.dll
    0x77be0000 - 0x77c38000      C:\WINDOWS\system32\msvcrt.dll
    0x00330000 - 0x003a6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x7c9c0000 - 0x7d1e0000      C:\WINDOWS\system32\SHELL32.dll
    0x774a0000 - 0x775dd000      C:\WINDOWS\system32\ole32.dll
    0x61410000 - 0x61531000      C:\WINDOWS\system32\urlmon.dll
    0x770e0000 - 0x7716c000      C:\WINDOWS\system32\OLEAUT32.dll
    0x5dca0000 - 0x5dce4000      C:\WINDOWS\system32\iertutil.dll
    0x77bd0000 - 0x77bd8000      C:\WINDOWS\system32\VERSION.dll
    0x76330000 - 0x7634d000      C:\WINDOWS\system32\IMM32.DLL
    0x77390000 - 0x77493000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
    0x5d4e0000 - 0x5d57a000      C:\WINDOWS\system32\comctl32.dll
    0x00a40000 - 0x00fe6000      C:\WINDOWS\system32\IEFRAME.dll
    0x76bb0000 - 0x76bbb000      C:\WINDOWS\system32\PSAPI.DLL
    0x771b0000 - 0x7727c000      C:\WINDOWS\system32\WININET.dll
    0x009a0000 - 0x009a9000      C:\WINDOWS\system32\Normaliz.dll
    0x5b190000 - 0x5b1c8000      C:\WINDOWS\system32\UxTheme.dll
    0x754d0000 - 0x75578000      C:\WINDOWS\system32\RASDLG.dll
    0x76d00000 - 0x76d18000      C:\WINDOWS\system32\MPRAPI.dll
    0x77c90000 - 0x77cc2000      C:\WINDOWS\system32\ACTIVEDS.dll
    0x76dd0000 - 0x76df5000      C:\WINDOWS\system32\adsldpc.dll
    0x6ff20000 - 0x6ff74000      C:\WINDOWS\system32\NETAPI32.dll
    0x76f20000 - 0x76f4d000      C:\WINDOWS\system32\WLDAP32.dll
    0x76ad0000 - 0x76ae1000      C:\WINDOWS\system32\ATL.DLL
    0x76e40000 - 0x76e4e000      C:\WINDOWS\system32\rtutils.dll
    0x71b80000 - 0x71b93000      C:\WINDOWS\system32\SAMLIB.dll
    0x778e0000 - 0x779d7000      C:\WINDOWS\system32\SETUPAPI.dll
    0x76ea0000 - 0x76edc000      C:\WINDOWS\system32\RASAPI32.dll
    0x76e50000 - 0x76e62000      C:\WINDOWS\system32\rasman.dll
    0x71a30000 - 0x71a47000      C:\WINDOWS\system32\WS2_32.dll
    0x71a20000 - 0x71a28000      C:\WINDOWS\system32\WS2HELP.dll
    0x76e70000 - 0x76e9f000      C:\WINDOWS\system32\TAPI32.dll
    0x76af0000 - 0x76b1e000      C:\WINDOWS\system32\WINMM.dll
    0x746a0000 - 0x746eb000      C:\WINDOWS\system32\MSCTF.dll
    0x20000000 - 0x202d5000      C:\WINDOWS\system32\xpsp2res.dll
    0x77b00000 - 0x77b22000      C:\WINDOWS\system32\apphelp.dll
    0x75250000 - 0x7527e000      C:\WINDOWS\system32\msctfime.ime
    0x5dff0000 - 0x5e01e000      C:\WINDOWS\system32\IEUI.dll
    0x76320000 - 0x76325000      C:\WINDOWS\system32\MSIMG32.dll
    0x4eb80000 - 0x4ed23000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.2180_x-ww_522f9f82\gdiplus.dll
    0x47060000 - 0x47081000      C:\WINDOWS\system32\xmllite.dll
    0x76f90000 - 0x7700f000      C:\WINDOWS\system32\CLBCATQ.DLL
    0x77010000 - 0x770dd000      C:\WINDOWS\system32\COMRes.dll
    0x74670000 - 0x7469a000      C:\WINDOWS\System32\msimtf.dll
    0x77f10000 - 0x77f21000      C:\WINDOWS\system32\Secur32.dll
    0x60a30000 - 0x60a39000      C:\WINDOWS\system32\mslbui.dll
    0x779e0000 - 0x77a36000      C:\WINDOWS\System32\cscui.dll
    0x765a0000 - 0x765bd000      C:\WINDOWS\System32\CSCDLL.dll
    0x325c0000 - 0x325d2000      C:\Program Files\Microsoft Office\OFFICE11\msohev.dll
    0x61930000 - 0x61979000      C:\Program Files\Internet Explorer\ieproxy.dll
    0x7d1f0000 - 0x7d4ae000      C:\WINDOWS\system32\msi.dll
    0x75e30000 - 0x75ee0000      C:\WINDOWS\system32\SXS.DLL
    0x75d40000 - 0x75dd1000      C:\WINDOWS\system32\MLANG.dll
    0x10000000 - 0x1000e000      C:\Program Files\Adobe\Acrobat 7.0\ActiveX\AcroIEHelper.dll
    0x7c340000 - 0x7c396000      C:\WINDOWS\system32\MSVCR71.dll
    0x02950000 - 0x0296b000      C:\WINDOWS\system32\dla\tfswshx.dll
    0x02970000 - 0x0297f000      C:\WINDOWS\system32\tfswapi.dll
    0x029e0000 - 0x02a7b000      C:\WINDOWS\system32\dla\tfswcres.dll
    0x6d7c0000 - 0x6d839000      C:\Program Files\Java\jre1.6.0_01\bin\ssv.dll
    0x719d0000 - 0x71a10000      C:\WINDOWS\system32\mswsock.dll
    0x61200000 - 0x61259000      C:\WINDOWS\system32\hnetcfg.dll
    0x71a10000 - 0x71a18000      C:\WINDOWS\System32\wshtcpip.dll
    0x76970000 - 0x76a24000      C:\WINDOWS\system32\USERENV.dll
    0x77c40000 - 0x77c63000      C:\WINDOWS\system32\msv1_0.dll
    0x76d20000 - 0x76d39000      C:\WINDOWS\system32\iphlpapi.dll
    0x71cd0000 - 0x71cec000      C:\WINDOWS\system32\actxprxy.dll
    0x72240000 - 0x72245000      C:\WINDOWS\system32\sensapi.dll
    0x76f80000 - 0x76f86000      C:\WINDOWS\system32\rasadhlp.dll
    0x76ee0000 - 0x76f07000      C:\WINDOWS\system32\DNSAPI.dll
    0x7e830000 - 0x7eb8c000      C:\WINDOWS\system32\mshtml.dll
    0x03000000 - 0x03029000      C:\WINDOWS\system32\msls31.dll
    0x72ea0000 - 0x72f00000      C:\WINDOWS\system32\ieapfltr.dll
    0x76bf0000 - 0x76c1e000      C:\WINDOWS\system32\WINTRUST.dll
    0x77a40000 - 0x77ad5000      C:\WINDOWS\system32\CRYPT32.dll
    0x77ae0000 - 0x77af2000      C:\WINDOWS\system32\MSASN1.dll
    0x76c50000 - 0x76c78000      C:\WINDOWS\system32\IMAGEHLP.dll
    0x77650000 - 0x77671000      C:\WINDOWS\system32\NTMARTA.DLL
    0x63380000 - 0x633f7000      C:\WINDOWS\System32\jscript.dll
    0x58760000 - 0x58792000      C:\WINDOWS\system32\iepeers.dll
    0x72f70000 - 0x72f96000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x76200000 - 0x76276000      C:\WINDOWS\system32\mshtmled.dll
    0x1b000000 - 0x1b00c000      C:\WINDOWS\system32\ImgUtil.dll
    0x1b060000 - 0x1b06e000      C:\WINDOWS\system32\pngfilt.dll
    0x72c90000 - 0x72c99000      C:\WINDOWS\system32\wdmaud.drv
    0x72c80000 - 0x72c88000      C:\WINDOWS\system32\msacm32.drv
    0x77bb0000 - 0x77bc5000      C:\WINDOWS\system32\MSACM32.dll
    0x77ba0000 - 0x77ba7000      C:\WINDOWS\system32\midimap.dll
    0x74900000 - 0x74a0e000      C:\WINDOWS\System32\msxml3.dll
    0x767a0000 - 0x767c7000      C:\WINDOWS\system32\schannel.dll
    0x0ffd0000 - 0x0fff8000      C:\WINDOWS\system32\rsaenh.dll
    0x68100000 - 0x68124000      C:\WINDOWS\system32\dssenh.dll
    0x74d10000 - 0x74d7b000      C:\WINDOWS\system32\USP10.dll
    0x6d6b0000 - 0x6d6d1000      C:\Program Files\Java\jre1.6.0_01\bin\npjpi160_01.dll
    0x6d4a0000 - 0x6d4bb000      C:\Program Files\Java\jre1.6.0_01\bin\jpiexp.dll
    0x6d250000 - 0x6d261000      C:\Program Files\Java\jre1.6.0_01\bin\deploy.dll
    0x71a50000 - 0x71a5a000      C:\WINDOWS\system32\wsock32.dll
    0x76f70000 - 0x76f78000      C:\WINDOWS\System32\winrnr.dll
    0x6d4f0000 - 0x6d514000      C:\Program Files\Java\jre1.6.0_01\bin\jpishare.dll
    0x05960000 - 0x05ba7000      C:\PROGRA~1\Java\JRE16~1.0_0\bin\client\jvm.dll
    0x6d310000 - 0x6d318000      C:\PROGRA~1\Java\JRE16~1.0_0\bin\hpi.dll
    0x6d770000 - 0x6d77c000      C:\PROGRA~1\Java\JRE16~1.0_0\bin\verify.dll
    0x6d3b0000 - 0x6d3cf000      C:\PROGRA~1\Java\JRE16~1.0_0\bin\java.dll
    0x6d7b0000 - 0x6d7bf000      C:\PROGRA~1\Java\JRE16~1.0_0\bin\zip.dll
    0x6d000000 - 0x6d1c3000      C:\Program Files\Java\jre1.6.0_01\bin\awt.dll
    0x736d0000 - 0x73719000      C:\WINDOWS\system32\ddraw.dll
    0x73b30000 - 0x73b36000      C:\WINDOWS\system32\DCIMAN32.dll
    0x6d2b0000 - 0x6d303000      C:\Program Files\Java\jre1.6.0_01\bin\fontmanager.dll
    0x6d480000 - 0x6d498000      C:\Program Files\Java\jre1.6.0_01\bin\jpicom.dll
    0x08c40000 - 0x08c7b000      C:\Program Files\Java\jre1.6.0_01\bin\regutils.dll
    0x30000000 - 0x302ee000      C:\WINDOWS\system32\Macromed\Flash\Flash9b.ocx
    0x76350000 - 0x7639a000      C:\WINDOWS\system32\comdlg32.dll
    0x69000000 - 0x6900e000      C:\WINDOWS\system32\Macromed\Common\SwSupport.dll
    0x6d570000 - 0x6d583000      C:\Program Files\Java\jre1.6.0_01\bin\net.dll
    0x6d220000 - 0x6d243000      C:\Program Files\Java\jre1.6.0_01\bin\dcpr.dll
    0x6d940000 - 0x6d94a000      C:\WINDOWS\System32\ddrawex.dll
    0x6d760000 - 0x6d76f000      C:\Program Files\Java\jre1.6.0_01\bin\unpack.dll
    0x6d590000 - 0x6d599000      C:\Program Files\Java\jre1.6.0_01\bin\nio.dll
    0x6d520000 - 0x6d544000      C:\Program Files\Java\jre1.6.0_01\bin\jsound.dll
    0x6d550000 - 0x6d558000      C:\Program Files\Java\jre1.6.0_01\bin\jsoundds.dll
    0x73e80000 - 0x73edc000      C:\WINDOWS\system32\DSOUND.dll
    0x73e50000 - 0x73e54000      C:\WINDOWS\system32\KsUser.dll
    0x6d450000 - 0x6d474000      C:\Program Files\Java\jre1.6.0_01\bin\jpeg.dll
    VM Arguments:
    jvm_args: -Xbootclasspath/a:C:\PROGRA~1\Java\JRE16~1.0_0\lib\deploy.jar;C:\PROGRA~1\Java\JRE16~1.0_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.6.0_01 -Djavaplugin.nodotversion=160_01 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE16~1.0_0 -Djavaplugin.vm.options=-Djava.class.path=C:\PROGRA~1\Java\JRE16~1.0_0\classes -Xbootclasspath/a:C:\PROGRA~1\Java\JRE16~1.0_0\lib\deploy.jar;C:\PROGRA~1\Java\JRE16~1.0_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.6.0_01 -Djavaplugin.nodotversion=160_01 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE16~1.0_0
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    CLASSPATH=.;
    PATH=C:\PROGRA~1\Java\JRE16~1.0_0\bin;C:\Program Files\Internet Explorer;;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Sonic\MyDVD;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\Sonic\MyDVD;;C:\DESKJET;.
    USERNAME=Giel
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 1 family 15, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 523808k(60484k free), swap 1228812k(801124k free)
    vm_info: Java HotSpot(TM) Client VM (1.6.0_01-b06) for windows-x86, built on Mar 14 2007 00:24:02 by "java_re" with unknown MS VC++:1310
    Thanks for your help, it would be really nice if annyone could help me out here. I am encountering this problem for more then a year now, and nothing has been able to fix it. pls help me

    The stack trace from the hs_err log doesn't provide a ton of info on this. I would try running with the server compiler (add the option '-server' to your command line) to see if this is due to something in the client compiler. Aside from that, look at the Java SE 6 troubleshooting guide, it has a number of tips for getting more information:
    http://java.sun.com/javase/6/webnotes/trouble/index.html
    Best of all, if you have a (hopefully small) reproducible test case that you can provide to us (Sun), then please file a bug.

  • Help me to make this workaround for dbms_output buffer(6502) problem click.

    Hi,
    what i am trying is to store multiline records into single variable. Say ename||'---'||empno||chr(10) ( chr(10) fro newline) from table emp into variable x. On outputting x o/p should be
    dbms_output.put_line(x)
    o/p to be :-
    scott---7306
    smith---7406
    continued like that.
    dbms_output.put_line( ) has buffer size of 255 so if more records x will not be displayed. value error will be there. for solution what i tried is to substring x again and again and display substring there and then.
    Here is my code :-
    declare
    x varchar2(4000);
    y varchar2(100);
    y1 varchar2(100);
    i number;
    j number :=1;
    k number;
    cursor c is select ename||'----'||empno||chr(10) from emp;
    begin
    open c;
    loop -- for all records to be in multiline manner in a single var
    fetch c into y ;
    exit when c%notfound;
    x:=x||y;
    end loop;
    close c;
    i:=instr(x,chr(10),1,1); -- initialise i with position of first appearance of chr(10)
    k:=2; -- i initialise it 2 so as to find second appearance of chr(10) in the loop
    loop -- this loop for outputting using substr
    y1:=substr(x,j,i); --- getting the first record say smith--7306 like that
    -- dbms_output.put_line(i);
    dbms_output.put_line(y1);
    j:=i+1; --- position from which next string to be extracted
    i:=instr(x,chr(10),1,k)-i; -- length of next appearance of chr(10)
    k:=k+1; -- incrementing for next chr(10)
    exit when(i<=0); -- instr returns 0 when chr(10) not found so exit
    end loop;
    end;
    desired output :-
    smith--7234
    scott--7321
    john--7431
    jack--7921
    output i am getting is like :-
    smith--7234
    scott--7321
    scott--7321
    john--7431
    john--7431
    jack--7921
    Not on expected lines. please help to correct this code.
    regards ravi.

    Is this not what you want?
    SQL>declare
      2     cursor c1 is select ename||'----'||empno details
      3                  from emp;
      4  begin
      5     for r1 in c1 loop
      6        dbms_output.put_line(r1.details);
      7     end loop;
      8  end;
      9  /
    KING      ----7839
    BLAKE     ----7698
    CLARK     ----7782
    JONES     ----7566
    MARTIN    ----7654
    ALLEN     ----7499
    TURNER    ----7844
    JAMES     ----7900
    WARD      ----7521
    FORD      ----7902
    SMITH     ----7369
    SCOTT     ----7788
    ADAMS     ----7876
    MILLER    ----7934
    KING      ----8888
    ADAMS     ----9999
    PL/SQL procedure successfully completed.
    SQL>Why do you need chr(10) again?
    Cheers
    Sarma.

  • Hi I cant able to see some web photos in my ipad showing 'unable to load' .. Some photos able to see but still almost 90% I can't ...pls help me to clear this issue ...thanks in advance

    Hi
    My ipad is not able to see some of the photos .... I can see with google images and all .. When I am loading some applications or safari images getting the same issue ..first it's showing 'loading' then its happens like 'unable to load ' pls help me to solve the issue ..thanks

    When you say that you can't find them anywhere, I assume that you mean that you can't find them on the iPad even though the storage figure says that the photos are there.
    You can try this. I don't know if this will work for you but this was recently discovered as solution for phantom photos. This was copied from a post started by gail from maine
    Delete all of your Recently Deleted photos from your Recently Deleted folder
    Then go to Settings>General>Date & Time, and change the date back to last September when iOS 8 came out, and then go back to the Recently Deleted folder. Although at the Album level it will still say "0" if you tap on the Album, you will be greeted by all of the "Recently Deleted" photos that have surpassed the 30 day limit. Mine went back to when I installed iOS 8.
    She found this in a post where txforever  was the person that discovered how to do this.
    More photos in settings than photos app shows

Maybe you are looking for

  • "Error while copying an account plan"

    Hi, While copying an account plan with status "draft" we are getting a dump. The dump is as follows: Cannot display view BTPARTNER/PartnerOV of UI Component BTPARTNER An exception has occurred Exception Class  CX_CRM_MKTIB_COLLECTION - Item with Key

  • Can i unlock my iphone 4s using my IMEI number via Apple ?

    Can i unlock my iphone 4s using my IMEI number via Apple ?

  • Qosmio G20: MCE scanes and finds no digital TV channels

    the MCE scanes digital antenna services and finds zero of them after i installed Media Player Classic on my Qosmio G20. before the installation of the said i could watch digital tv. the place where i am living has started broadcasting dvb-t for four

  • Rounding value for PR Quantity

    Dear Expert, Can we have rounding value for order quantity in Purchase Requisition? So we do not need to calculate the PO quantity based on the rounding value we have determined in material master / get the error  message "Order quantity violates rou

  • Search by modify date

    Am I missing something obvious here? Today I decided I wanted to find the files I've modified in the last few days. I don't know how! I was playing around with some images from various folders and dates and I thought that would be the easiest way to