Error method : mouseClicked();

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at PnlSimulacion.mouseClicked(PnlSimulacion.java:816)
        at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:21
1)
        at java.awt.Component.processMouseEvent(Component.java:5491)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
        at java.awt.Component.processEvent(Component.java:5253)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3955)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3901)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
        at java.awt.Container.dispatchEventImpl(Container.java:2010)
        at java.awt.Window.dispatchEventImpl(Window.java:1774)
        at java.awt.Component.dispatchEvent(Component.java:3803)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:242)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)Here is my class Simulacion:
import java.awt.event.*;
import java.awt.*;
import javax.swing.*;
import java.util.Locale;
import java.util.ArrayList;
import java.util.Date;
import java.text.SimpleDateFormat;
//import java.applet.*;
import sun.audio.*;
import java.io.*;
public class PnlSimulacion extends JInternalFrame implements ActionListener,MouseListener {
     // Declaraci�n de variables
     JPanel      pnlTragam,
               pnlTxtCredito,pnlTxtCoins,pnlTxtGanancia;
     JLabel      lblTragamonedas,
                lblGirar, lblApostUno, lblApostMax,lblAceptar,
                //Labels que contendr�n las im�genes de los rodillos
                lblRod1,lblRod2,lblRod3,
                lblGirando,
                //arreglo de labels(para los numeros
                lbl[]=new JLabel[10],lbl1[]=new JLabel[3],lbl2[]=new JLabel[10];
     JButton btnAceptar;
     ImageIcon     girarIn,girarOut,girarPush,apuestaMaximaIn,apuestaMaximaOut,
                    apuestaMaximaPush,apostarUnoIn,apostarUnoOut,apostarUnoPush;
     JTextArea      txtS;
     //ArrayList de imagenes     
     ArrayList<ImageIcon> arrImagenes = new ArrayList<ImageIcon>();
     //SOLO para la prueba, cambie la variable de moneda
     double moneda=50.0;
     //variable global de coins
     double coins=0;
     Timer timer;
     //cuenta cuantas veces a giado el rodillo
     int girosRod1,girosRod2,girosRod3;
     //indice de la imagen que se ve en cada rodillo
     int indRodillo1, indRodillo2, indRodillo3;
     SimpleDateFormat sdf;
//     AudioClip sonido1,betOne,betMax,winBig; esto es para JApplets
//     //Creacion del Imput para sonido en JFrame o aplicaciones no Applet
//     InputStream in = new FileInputStream("Spin.wav");
//     InputStream sonido1 = new FileInputStream("Spin.wav");
//     InputStream betOne = new FileInputStream("BetOne.wav");
//     InputStream betMax = new FileInputStream("BetMax.wav");
//     InputStream winBig = new FileInputStream("WinBig.wav");
//     InputStream csonido1 = new FileInputStream("Spin.wav");          
     //referencia al frame
     private MnuPanel m;
     public Sonido s; // <-------------------------- THIS COULD BE THE ERROR?
     // Crea la interfaz gr�fica de usuario     
     public PnlSimulacion(MnuPanel m) {
//     AudioStream as = new AudioStream(in);
//     AudioData data = as.getData();
//     ContinuousAudioDataStream cas = new ContinuousAudioDataStream (data);
//     AudioStream betOne = new AudioStream(betOne);
//     AudioStream betMax = new AudioStream(betMax);
//     AudioStream winBig = new AudioStream(winBig);
          getContentPane().setLayout(null);
//          sonido1=getAudioClip(getDocumentBase(),);
//          betOne=getAudioClip(getDocumentBase(),"BetOne.wav");
//          betMax=getAudioClip(getDocumentBase(),"BetMax.wav");
//          winBig=getAudioClip(getDocumentBase(),"WinBig.wav");
          Date d = new Date();
          //para fomratear adecuadamente
          //SimpleDateFormat sdf=new SimpleDateFormat("dd/MM/yy");
          sdf=new SimpleDateFormat("dd/MM/yy hh:mm:ss");
          //crea el timer, ajustarlo segun se kiera
          timer= new Timer(40,this);
          //PANEL TRAGAMONEDAS
          //Panel del tragamonedas
          pnlTragam=new JPanel();
          pnlTragam.setLayout(null);
          pnlTragam.setBounds(0,0,800,640);
          pnlTragam.setVisible(true);
          getContentPane().add(pnlTragam);
          // textArea para el ticket
          txtS=new JTextArea();
          txtS.setBounds(635,240,152,230);
          txtS.setEditable(false);
          pnlTragam.add(txtS);
          //crea un label que es el que contendr� la imag�n del simulador
          lblTragamonedas=new JLabel(
               new ImageIcon(getClass().getResource("FondoTragamonedas.png")));
          lblTragamonedas.setBounds(0,0,800,640);
          pnlTragam.add(lblTragamonedas);
          //BOTON aceptar del ticket
          btnAceptar=new JButton(
               new ImageIcon(getClass().getResource("aceptar.jpg")));
          btnAceptar.setBounds(682,483,72,21);                              
          btnAceptar.addActionListener(this);
          pnlTragam.add(btnAceptar);
          //imagenes de los botones para cargar
          girarIn = new ImageIcon(
               getClass().getResource("girarIn.jpg"));
          girarOut = new ImageIcon(
               getClass().getResource("girarOut.jpg"));
          girarPush = new ImageIcon(
               getClass().getResource("girarPush.jpg"));
          apuestaMaximaIn = new ImageIcon(
               getClass().getResource("apuestaMaximaIn.jpg"));
          apuestaMaximaOut = new ImageIcon(
               getClass().getResource("apuestaMaximaOut.jpg"));
          apuestaMaximaPush = new ImageIcon(
               getClass().getResource("apuestaMaximaPush.jpg"));
          apostarUnoIn = new ImageIcon(
               getClass().getResource("apostarUnoIn.jpg"));
          apostarUnoOut = new ImageIcon(
               getClass().getResource("apostarUnoOut.jpg"));
          apostarUnoPush = new ImageIcon(
               getClass().getResource("apostarUnoPush.jpg"));
          //lblGirar
          lblGirar=new JLabel(girarOut);                              
          lblGirar.setBounds(451,517,66,42);                              
          lblGirar.addMouseListener(this);
          lblGirar.setToolTipText("presione para girar los rodillos");
          lblGirar.setCursor(new Cursor(Cursor.HAND_CURSOR));                              
          pnlTragam.add(lblGirar);
          //lbl de apuesta "uno por uno"
          lblApostUno=new JLabel(apostarUnoOut);                              
          lblApostUno.setBounds(375,518,61,41);                              
          lblApostUno.addMouseListener(this);
          lblApostUno.setCursor(new Cursor(Cursor.HAND_CURSOR));     
          lblApostUno.setToolTipText("presione para apostar solo una moneda");                                   
          pnlTragam.add(lblApostUno);
          //BOTON de apuesta "maxima" (2 soles)
          lblApostMax=new JLabel(apuestaMaximaOut);                              
          lblApostMax.setBounds(528,518,67,41);                              
          lblApostMax.addMouseListener(this);
          lblApostMax.setCursor(new Cursor(Cursor.HAND_CURSOR));
          lblApostMax.setToolTipText("presione para reaizar la maxima apuesta");                                        
          pnlTragam.add(lblApostMax);     
          //gif GIRANDO...
          lblGirando = new JLabel(new ImageIcon(
               getClass().getResource("girando.gif")));
          lblGirando.setBounds(400,598,69,17);
          lblGirando.setVisible(false);
          lblTragamonedas.add(lblGirando);
          //PANEL MUESTRA_CREDITO
          //este es un peque�o panel que contiene imagenes de mumeros
          pnlTxtCredito=new JPanel();
          pnlTxtCredito.setLayout(null);
          pnlTxtCredito.setBounds(408,470,102,19);
          pnlTxtCredito.setVisible(true);
          lblTragamonedas.add(pnlTxtCredito);
          //PANEL MUESTRA_MONEDAS_INSERTADAS(COINS)
          //este es un peque�o panel que contiene imagenes de mumeros
          pnlTxtCoins=new JPanel();
          pnlTxtCoins.setLayout(null);
          pnlTxtCoins.setBounds(539,427,25,19);
          pnlTxtCoins.setVisible(true);
          lblTragamonedas.add(pnlTxtCoins);
          //PANEL MUESTRA_GANANCIA
          //este es un peque�o panel que contiene imagenes de mumeros
          pnlTxtGanancia=new JPanel();
          pnlTxtGanancia.setLayout(null);
          pnlTxtGanancia.setBounds(272,470,102,19);
          pnlTxtGanancia.setVisible(true);
          lblTragamonedas.add(pnlTxtGanancia);
          //labels que muestran las imagenes de los rodillos-------------
          lblRod1=new JLabel();
          lblRod1.setBounds(255,343,80,110);
          pnlTragam.add(lblRod1);
          lblRod2=new JLabel();
          lblRod2.setBounds(342,343,80,110);
          pnlTragam.add(lblRod2);
          lblRod3=new JLabel();
          lblRod3.setBounds(429,343,80,110);
          pnlTragam.add(lblRod3);
          //metodos a mostrar cuando inicia el programa
          mostrarNada();
          mostrarNada1();
          mostrarNada2();
          procesarCredito(moneda);
          cargaImagenes();
          lblRod1.setIcon(arrImagenes.get(0));
          lblRod2.setIcon(arrImagenes.get(0));
          lblRod3.setIcon(arrImagenes.get(0));
          //muestra la imagen
     // Procesa eventos de tipo ActionEvent
     public void actionPerformed( ActionEvent e ){
          //cuando el timer esta activo
          if(e.getSource()==timer){
               //esto suceder� cada 100milisegundos
               girar();
               //desactiva las acciones de los Botones (labels)
               if(e.getSource()==lblApostUno){//no hace nada
               if(e.getSource()==lblApostMax){//no hace nada
               if(e.getSource()==lblGirar){//no hace nada
          if(e.getSource()==btnAceptar){
               txtS.setText("");
     }//fin de action performed
     //METODOS PROPIOS
     int aleatorio(int min,int max){
          return (int)((max-min+1)*Math.random()+min);
     //PANEL MUESTRA_CREDITO
     void procesarCredito(double numero){
          String num=numero +"0";
          limpiar();
          int pos=0;
          char caracter;
          for(int i=num.length()-1;i>=0;i--){
               caracter=num.charAt(i);
               if(caracter=='.'){
                    lbl[pos].setIcon(new ImageIcon(getClass().getResource(
                         "im10.jpg")));     
                    pos++;     
               }else{
                    lbl[pos].setIcon(new ImageIcon(getClass().getResource(
                         "im"+caracter+".jpg")));
                    pos++;
          }//fin del for
     }//fin de muestraCredito
     void limpiar(){
          for(int i=0;i<10;i++){
                    lbl.setIcon(new ImageIcon(getClass().getResource(
                         "imSin.jpg")));
     void mostrarNada(){
          for(int i=0;i<2;i++){
               lbl[i]=new JLabel(new ImageIcon(getClass().getResource(
                    "im0.jpg")));
               lbl[i].setBounds(91-i*11,0,11,19);
               pnlTxtCredito.add(lbl[i]);
          lbl[2]=new JLabel(new ImageIcon(getClass().getResource(
               "im10.jpg")));//rep el punto
          lbl[2].setBounds(77,0,3,19);
          pnlTxtCredito.add(lbl[2]);
          for(int i=3;i<10;i++){
               lbl[i]=new JLabel(new ImageIcon(getClass().getResource(
                    "imSin.jpg")));
               lbl[i].setBounds(99-i*11,0,11,19);
               pnlTxtCredito.add(lbl[i]);
     }//fin de mostarNada
     //MUESTRA COINS
     void procesarCoins(double numero){
          String num=""+numero;
          limpiar1();
          int pos=0;
          char caracter;
          for(int i=num.length()-1;i>=0;i--){
               caracter=num.charAt(i);
               if(caracter=='.'){
                    lbl1[pos].setIcon(new ImageIcon(getClass().getResource(
                         "im10.jpg")));
                    pos++;     
               }else{
                    lbl1[pos].setIcon(new ImageIcon(getClass().getResource(
                         "im"+caracter+".jpg")));
                    pos++;
          }//fin del for
     }//fin de procesarCoins
     void limpiar1(){
          for(int i=0;i<3;i++){
                    lbl1[i].setIcon(new ImageIcon(getClass().getResource(
                         "imSin.jpg")));
     void mostrarNada1(){
          lbl1[0]=new JLabel(new ImageIcon(getClass().getResource("im0.jpg")));
          lbl1[0].setBounds(14,0,11,19);
          pnlTxtCoins.add(lbl1[0]);
          lbl1[1]=new JLabel(new ImageIcon(getClass().getResource("im10.jpg")));
          lbl1[1].setBounds(11,0,3,19);
          pnlTxtCoins.add(lbl1[1]);
          lbl1[2]=new JLabel(new ImageIcon(getClass().getResource("im0.jpg")));
          lbl1[2].setBounds(0,0,11,19);
          pnlTxtCoins.add(lbl1[2]);
     //MUESTRA_GANANCIA
     void procesarGanancia(double numero){
          String num=numero+"0";
          limpiar2();
               int pos=0;
          char caracter;
          for(int i=num.length()-1;i>=0;i--){
               caracter=num.charAt(i);
               if(caracter=='.'){
                    lbl2[pos].setIcon(new ImageIcon(getClass().getResource(
                         "im10.jpg")));
                    pos++;     
               }else{
                    lbl2[pos].setIcon(new ImageIcon(getClass().getResource(
                         "im"+caracter+".jpg")));
                    pos++;
          }//fin del for
     }//fin de procesarGanancia
     void limpiar2(){
          for(int i=0;i<10;i++){
                    lbl2[i].setIcon(new ImageIcon(getClass().getResource(
                         "imSin.jpg")));
               }//fin de for
     void mostrarNada2(){
          for(int i=0;i<2;i++){
               lbl2[i]=new JLabel(new ImageIcon(getClass().getResource(
                    "im0.jpg")));
               lbl2[i].setBounds(91-i*11,0,11,19);
               pnlTxtGanancia.add(lbl2[i]);
          lbl2[2]=new JLabel(new ImageIcon(getClass().getResource(
               "im10.jpg")));
          lbl2[2].setBounds(77,0,3,19);
          pnlTxtGanancia.add(lbl2[2]);
          for(int i=3;i<10;i++){
               lbl2[i]=new JLabel(new ImageIcon(getClass().getResource(
                    "imSin.jpg")));
               lbl2[i].setBounds(99-i*11,0,11,19);
               pnlTxtGanancia.add(lbl2[i]);
     void pasarCredito(){
          //restamos 0.50 a moneda por cada presionada de boton "Apostar Uno"
          moneda-=0.5;
          //aumentamos 0.5 a la apuesta
          coins+=0.5;
          //solo puede apostarse 2.00 como m�ximo.validamos:
          //Si la apuesta llega a 2.5
          if(coins==2.5){
               //entonces devolvemos los 2.5 a moneda
               moneda+=2.50;
               //y cambiamos cois a cero
               coins=0.0;
          }//fin de if
     }//fin de pasarCredito
     void pasarMaximoMonedas(){
          for(double i=coins;i<2.0;i+=0.5){
               coins+=0.5;
               moneda-=0.5;
     void girar(){
          //limpia el panel de ganancia
          procesarGanancia(0);
          //si los rodillos dejaron de girar
          if( (girosRod1+girosRod2+girosRod3)==0){
               //detiene el timer
               lblGirando.setVisible(false);
               timer.stop();
//               AudioPlayer.player.stop(sonido1);                
//               String spin = "spin.wav";
//          try {
//          URL clipUrl = new URL("file:" + spin);
//          AudioClip audioClip = Applet.newAudioClip("spin.wav");
//          audioClip.play();
//          Thread.currentThread().sleep(3000);
//          } catch (Exception e) {
//          e.printStackTrace();
               //comprueba los resultados
               comprovarResultados(indRodillo1,indRodillo2,indRodillo3 );
          }else{
//               sonido1.loop();
//               AudioPlayer.player.start (csonido1);
               lblGirando.setVisible(true);          
               //Giran los rodillos seg�n la cantidad de rotaciones aleatorias
               //verifica si falta rodar un rodillo
               if(girosRod1>0){
               //cambiar la imagen y almacenar el indice de la que se encuentra
                    indRodillo1=girarImagen(lblRod1,indRodillo1);
               //decrementar el numero de rotaciones del rodillo
                    girosRod1--;
               if(girosRod2>0){
               //cambiar la imagen y almacenar el indice de la que se encuentra
                    indRodillo2=girarImagen(lblRod2,indRodillo2);
               //decrementar el numero de rotaciones del rodillo
                    girosRod2--;
               if(girosRod3>0){
               //cambiar la imagen y almacenar el indice de la que se encuentra
                    indRodillo3=girarImagen(lblRod3,indRodillo3);
               //decrementar el numero de rotaciones del rodillo
                    girosRod3--;
          }//fin de else
     }//fin del m�todo girar
     void comprovarResultados(int var1,int var2,int var3 ){
          String result=""+ var1+ var2+ var3;
          //si sali� las tres imagenes bar*1
          if(result.equals("222")){
//               AudioPlayer.player.start(winBig);
//               winBig.play();
               moneda=moneda +coins*20;     
               procesarCredito(moneda);
               procesarGanancia(coins*20);
               imprimirTicket(20);
               mensaje("ud. a ganado :"+coins*20);
               coins=0;
               procesarCoins(coins);
          //si sali� las tres imagenes bar*2     
          }else if(result.equals("444")){
//               AudioPlayer.player.start(winBig);           
//               winBig.play();
               moneda=moneda +coins*40;     
               procesarCredito(moneda);     
               procesarGanancia(coins*40);
               imprimirTicket(40);
               mensaje("ud. a ganado :"+coins*40);
               coins=0;
               procesarCoins(coins);
          //si sali� las tres imagenes bar*3     
          }else if(result.equals("888")){
//               AudioPlayer.player.start(winBig);                          
//               winBig.play();     
               moneda=moneda +coins*80;     
               procesarCredito(moneda);     
               procesarGanancia(coins*80);
               imprimirTicket(80);
               mensaje("ud. a ganado :"+coins*80);
               coins=0;
               procesarCoins(coins);
          //si sali� las tres imagenes dolar
          }else if(result.equals("000")){
//               AudioPlayer.player.start(winBig);
//               winBig.play();
               moneda=moneda +coins*1000;     
               procesarCredito(moneda);     
               procesarGanancia(coins*1000);
               imprimirTicket(1000);
               mensaje("ud. a ganado :"+coins*1000);
               coins=0;
               procesarCoins(coins);
          //si sali� las tres imagenes cereza
          }else if(result.equals("666")){
//               AudioPlayer.player.start(winBig);
//               winBig.play();
               moneda=moneda +coins*160;     
               procesarCredito(moneda);     
               procesarGanancia(coins*160);
               imprimirTicket(106);
               mensaje("ud. a ganado :"+coins*160);
               coins=0;
               procesarCoins(coins);
          //si salieron 3 bares cualquiera
          }else if(
               result.equals("224") || result.equals("228") ||
               result.equals("242") || result.equals("244") ||
               result.equals("248") ||     result.equals("282") ||
               result.equals("284") || result.equals("288") ||
               result.equals("422") || result.equals("424") ||
               result.equals("428") || result.equals("442") ||      
               result.equals("448") ||     result.equals("482") ||
               result.equals("484") || result.equals("488") ||
               result.equals("822") || result.equals("824") ||
               result.equals("828") ||     result.equals("842") ||
               result.equals("844") || result.equals("848") ||
               result.equals("882") || result.equals("884")
//               AudioPlayer.player.start(winBig);
//               winBig.play();
               moneda=moneda + coins*10;
               procesarCredito(moneda);
               procesarGanancia(coins*10);
                         mensaje("ud. a ganado :"+coins*10);
               imprimirTicket(10);
               coins=0;
               procesarCoins(coins);
          //si sale dos cerezas
          }else if(
               result.matches("[6][6][0-9]")||          
               result.matches("[0-9][6][6]")||
               result.matches("[6][0-9][6]")
//               AudioPlayer.player.start(winBig);
//               winBig.play();
               moneda=moneda + coins*5;
               procesarCredito(moneda);
               procesarGanancia(coins*5);
               imprimirTicket(5);
               mensaje("ud. a ganado :"+coins*5);
               coins=0;
               procesarCoins(coins);
          //si sale una cereza     
          }else if(      result.matches("[6][0-9][0-9]")||
                         result.matches("[0-9][6][0-9]")||
                         result.matches("[0-9][0-9][6]")
//               AudioPlayer.player.start(winBig);
//               winBig.play();
               moneda=moneda + coins*2;
               procesarCredito(moneda);
               procesarGanancia(coins*2);
               imprimirTicket(2);
               mensaje("ud. a ganado :"+coins*2);
                              coins=0;
               procesarCoins(coins);
          } else {
               coins=0;
               procesarCoins(coins);
               procesarGanancia(0);
     int girarImagen(JLabel lblImagen, int indiceImagenActual){
          // Si la imagen que se ve actualmente es la �ltima se
          // debe mostrar la primera (0)
          if( indiceImagenActual == 9){
               indiceImagenActual = -1;
          // Mostrar la siguiente imagen seg�n el indice actual
          lblImagen.setIcon(arrImagenes.get(indiceImagenActual+1));
          return indiceImagenActual+1;
     void cargaImagenes(){
          //Carga las im�genes de los rodillos
          for(int i=0; i<10; i++){
               arrImagenes.add(new ImageIcon(
                    getClass().getResource("imag"+i+".png")
     void imprimirTicket(int producto){
          Date d = new Date();
          txtS.setText(" TRAGAMONEDAS \n");
          txtS.append(" CIBERTEC\n ");
          txtS.append("******************************\n");
          txtS.append("Gan� \t: S/. "+coins*producto +"\n");
          txtS.append("Credito actual\t: S/. "+moneda +"\n");
          txtS.append("****************************** \n");
          txtS.append("Gracias por jugar \n ");
          txtS.append(""+ sdf.format(d));
     void mensaje(String text1){
          JOptionPane.showMessageDialog(this,text1,"Mensaje",1);
     //---------------------METODOS PARA EVENTOS DE MOUSE-------------------
     public void mousePressed(MouseEvent e) {
     if(e.getSource()==lblGirar){
          lblGirar.setIcon(girarPush);
     if(e.getSource()==lblApostUno){
          lblApostUno.setIcon(apostarUnoPush);
     if(e.getSource()==lblApostMax){
          lblApostMax.setIcon(apuestaMaximaPush);
public void mouseReleased(MouseEvent e) {
     if(e.getSource()==lblGirar){
          lblGirar.setIcon(girarIn);
     if(e.getSource()==lblApostUno){
          lblApostUno.setIcon(apostarUnoIn);
     if(e.getSource()==lblApostMax){
          lblApostMax.setIcon(apuestaMaximaIn);
public void mouseEntered(MouseEvent e) {
if(e.getSource()==lblGirar){
          lblGirar.setIcon(girarIn);
if(e.getSource()==lblApostMax){
          lblApostMax.setIcon(apuestaMaximaIn);
if(e.getSource()==lblApostUno){
          lblApostUno.setIcon(apostarUnoIn);
public void mouseExited(MouseEvent e) {
if(e.getSource()==lblGirar){
          lblGirar.setIcon(girarOut);
if(e.getSource()==lblApostMax){
          lblApostMax.setIcon(apuestaMaximaOut);
if(e.getSource()==lblApostUno){
          lblApostUno.setIcon(apostarUnoOut);
//          AudioPlayer.player.stop(betOne);
public void mouseClicked(MouseEvent e) {
//Se ejecuta al darle click al JLabel lblGirar
     if(e.getSource()==lblGirar){
                    if(coins==0){
                         JOptionPane.showMessageDialog(this,"ingrese una moneda",
                         "Mensaje",1);
                    }else if(moneda<0){
                         JOptionPane.showMessageDialog(this,"Recargue su tarjeta",
                         "Mensaje",1);
                    }else{
                    //mediante los numeros aleatorios generamos el n�mero de giros
                    //que dara cada rodillo
                    girosRod1=aleatorio(10,40);
                    girosRod2=aleatorio(girosRod1+10,girosRod1+40);
                    girosRod3=aleatorio(girosRod2+10,girosRod2+40);
                    //inicia el Timer
                    timer.start();
               }//fin de btn girar
               //boton Apostar Uno
               if(e.getSource()==lblApostUno){
//                    AudioPlayer.player.start(betOne);
//                    betOne.play();
                    //si no se tiene credito muestra un mensaje
                    if(moneda<=0){
                         JOptionPane.showMessageDialog(this,"Recargue su tarjeta",
                         "Mensaje",1);
                    //si se tiene credito     
                    }else{     
                         pasarCredito();
                         procesarCoins(coins);
                         procesarCredito(moneda);
               }//fin de apostar uno
               //si se presiona el boton de apuesta m�xima
               if(e.getSource()==lblApostMax){
                    s.playBetMax();
//                    AudioPlayer.player.start(betMax);
//                    betMax.play();
                    //si tiene 2 o mas soles se puede efectuar la apuesta maxima
                    if(moneda>=2){
                         pasarMaximoMonedas();
                         procesarCoins(coins);
                         procesarCredito(moneda);
                    }//sino se muestra un mensaje
                    else{
                         JOptionPane.showMessageDialog(this,
                         "No cuenta con cr�dito suficiente para efectuar una"+
                         "apuesta m�xima ", "Mensaje",1);
               }//fin de apuesta m�xima
}//fin de public
}//fin de la clase
and my class Sonido:
import java.net.URL;
import java.io.FileInputStream;
import sun.audio.*;
public class Sonido {
    public AudioData spinData,betOneData,betMaxData,winBigData;
    public AudioDataStream spinStream, betOneStream, betMaxStream, winBigStream ;
    public ContinuousAudioDataStream continuousSpinStream,continuousBetOneStream,continuousBetMaxStream,continuousWinBigStream;
    static int length;
    public Sonido (URL url) throws java.io.IOException {//ITS ALL CORRECTLY? WHERE I HAVE TO PUT THE URL CLASSES/"FILE.WAV"
        spinData                          = new AudioStream (url.openStream()).getData();
        betOneData                          = new AudioStream (url.openStream()).getData();
        betMaxData                          = new AudioStream (url.openStream()).getData();
        winBigData                          = new AudioStream (url.openStream()).getData();
        spinStream                          = null;
        betOneStream                     = null;
        betMaxStream                     = null;
        winBigStream                     = null;
        continuousSpinStream           = null;
        continuousBetOneStream           = null;
        continuousBetMaxStream           = null;
        continuousWinBigStream           = null;
    public Sonido (String Spin,String WinBig,String BetOne,String BetMax ) throws java.io.IOException {
        FileInputStream spin           = new FileInputStream (Spin);
        FileInputStream winBig           = new FileInputStream (WinBig);
        FileInputStream betOne           = new FileInputStream (BetOne);
        FileInputStream betMax           = new FileInputStream (BetMax);
        AudioStream spinStream           = new AudioStream (spin);
        AudioStream betOneStream      = new AudioStream (winBig);
        AudioStream betMaxStream      = new AudioStream (betOne);
        AudioStream winBigStream      = new AudioStream (betMax);
        spinData                          = spinStream.getData();
        betOneData                          = betOneStream.getData();
        betMaxData                          = betMaxStream.getData();
        winBigData                          = winBigStream.getData();
        spinStream                          = null;
        betOneStream                     = null;
        betMaxStream                     = null;
        winBigStream                     = null;
        continuousSpinStream           = null;
        continuousBetOneStream           = null;
        continuousBetMaxStream           = null;
        continuousWinBigStream           = null;
    public void playSpin() {
        spinStream = new AudioDataStream (spinData);
        AudioPlayer.player.start (spinStream);
    public void loopSpin() {
        continuousSpinStream = new ContinuousAudioDataStream (spinData);
        AudioPlayer.player.start (continuousSpinStream);
    public void stopSpin() {
        if (spinStream != null)
            AudioPlayer.player.stop (spinStream);
        if (continuousSpinStream != null)
            AudioPlayer.player.stop (continuousSpinStream);
    public void playBetOne() {
        betOneStream = new AudioDataStream (betOneData);
        AudioPlayer.player.start (betOneStream);
    public void loopBetOne() {
        continuousBetOneStream = new ContinuousAudioDataStream (betOneData);
        AudioPlayer.player.start (continuousBetOneStream);
    public void stopBetOne() {
        if (betOneStream != null)
            AudioPlayer.player.stop (betOneStream);
        if (continuousBetOneStream != null)
            AudioPlayer.player.stop (continuousBetOneStream);
    public void playBetMax() {
        betMaxStream = new AudioDataStream (betMaxData);
        AudioPlayer.player.start (betMaxStream);
    public void loopBetMax() {
        continuousSpinStream = new ContinuousAudioDataStream (spinData);
        AudioPlayer.player.start (continuousSpinStream);
    public void stopBetMax() {
        if (betMaxStream != null)
            AudioPlayer.player.stop (betMaxStream);
        if (continuousBetMaxStream != null)
            AudioPlayer.player.stop (continuousBetMaxStream);
    public void playWinBig () {
        winBigStream = new AudioDataStream (winBigData);
        AudioPlayer.player.start (winBigStream);
    public void loopWinBig () {
        continuousWinBigStream = new ContinuousAudioDataStream (spinData);
        AudioPlayer.player.start (continuousWinBigStream);
    public void stopWinBig () {
        if (winBigStream != null)
            AudioPlayer.player.stop (winBigStream);
        if (continuousWinBigStream != null)
            AudioPlayer.player.stop (continuousWinBigStream);
//    public static void main (String args[]) throws Exception {
//        URL url1 = new URL ("http://localhost:8080/audio/1.au");
//        URL url2 = new URL ("http://localhost:8080/audio/2.au");
//        PruebaSonido sac1 = new PruebaSonido (url1);
//        PruebaSonido sac2 = new PruebaSonido (url2);
//        PruebaSonido sac3 = new PruebaSonido ("1.au");
//        sac1.play ();
//        sac2.loop ();
//        sac3.play ();
//        try {// Delay for loop
//            Thread.sleep (2000);
//        } catch (InterruptedException ie) {}
//        sac2.stop();
}uhmmmmmm that's all someone know why dont play my .wav files? thanks a lot

in the tutorial the code of the class Sonido is like this:, i cant find a constructor, you can?
import java.net.URL;
import java.io.FileInputStream;
import sun.audio.*;
public class SunAudioClip {
    private AudioData audiodata;
    private AudioDataStream audiostream;
    private ContinuousAudioDataStream continuousaudiostream;
    static int length;
    public SunAudioClip (URL url) throws java.io.IOException {
        audiodata = new AudioStream (url.openStream()).getData();
        audiostream = null;
        continuousaudiostream = null;
    public SunAudioClip (String Spin) throws java.io.IOException {
        FileInputStream fis = new FileInputStream (Spin);
        AudioStream audioStream = new AudioStream (fis);
        audiodata = audioStream.getData();
        audiostream = null;
        continuousaudiostream = null;
    public void play () {
        audiostream = new AudioDataStream (audiodata);
        AudioPlayer.player.start (audiostream);
    public void loop () {
        continuousaudiostream = new ContinuousAudioDataStream (audiodata);
        AudioPlayer.player.start (continuousaudiostream);
    public void stop () {
        if (audiostream != null)
            AudioPlayer.player.stop (audiostream);
        if (continuousaudiostream != null)
            AudioPlayer.player.stop (continuousaudiostream);
    public static void main (String args[]) throws Exception {
        URL url1 = new URL ("http://localhost:8080/audio/1.au");
        URL url2 = new URL ("http://localhost:8080/audio/2.au");
        SunAudioClip sac1 = new SunAudioClip (url1);
        SunAudioClip sac2 = new SunAudioClip (url2);
        SunAudioClip sac3 = new SunAudioClip ("1.au");
        sac1.play ();
        sac2.loop ();
        sac3.play ();
        try {// Delay for loop
            Thread.sleep (2000);
        } catch (InterruptedException ie) {}
        sac2.stop();
}

Similar Messages

  • Extension function error:  Method not found 'round'

    Hi
    In an RTF Template I'm including one of the following expression in a field:
    <?xdoxslt:set_variable($_XDOCTX, 'VSalesNetVal', xdoxslt:round(LOT_NET_SALES_VALUE))?>
    or
    <?xdoxslt:set_variable($_XDOCTX, 'VSalesNetVal', round(LOT_NET_SALES_VALUE))?>
    Preview from BI Publisher Template Builder for Word 10.1.3.3.3 works fine.
    But when I run the report from eBS, which has XML Publisher 5.6.3, the concurrent finishes in error with the following message:
    Post-processing of request 8058734 failed at 11-JUL-2009 19:26:41 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Checked the OPP Log at and got the following stack:
    [7/11/09 10:26:41 PM] [UNEXPECTED] [204214:RT8058734] java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:624)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:421)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:233)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: oracle.xdo.parser.v2.XPathException: Extension function error: Method not found 'round'
         at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1526)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:517)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:485)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:264)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:150)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:187)
         ... 18 more
    Why doesn't it recognize 'round' as a valid function?
    XML Pub v5.6.3 lists "round" as one of xsl functions.
    Any idea or workaround?
    Thanks in advance.
    David

    Any solution for the above problem?
    O.

  • Error: method invokemethod Class not found

    To execute vo we have added the following code in my page class files.
    1.Vo created name as "MyViewObj"
    2.Add code under the AM class as mentioned
    public void setEmployeeData(){
    OAViewObject vo = getMyViewObj();
    vo.executeQuery();
    3.Call Method under the processRequest in controller
    am.invokeMethod("setEmployeeData");
    but system is raising an error " method invokemethod(java.lang.string) class not found

    This error generally comes when the AMImpl doesn't have this method.
    You must have set AM for the page.
    Make sure the method setEmployeeData is in the same AMImpl.
    Regards,
    Peddi.

  • XML-22043: (Error) Extension function error: Method not found 'getDtformat'

    Hi,
    We are using a custom made function for formatting date in the XSL transformation. This jar file has been kept under the domain_name/lib folder, and it is working as expected in our Windows environment. However when I tried to deploy it in Linux environment, it is giving the error XML-22043: (Error) Extension function error: Method not found 'getDtformat' (Full stack trace attached below)
    Appreciate your help!
    Regards,
    Ebrahim Badusha.
    <Oct 21, 2011 3:04:34 PM EDT> <Error> <oracle.soa.bpel.engine.xml> <BEA-000000> <javax.xml.transform.TransformerException: oramds:/deployed-composites/default/MyProject_rev1.0/xsl/xFormValidationsBRE.xsl<Line 27, Column 252>: XML-22043: (Error) Extension function error: Method not found 'getDtformat'>
    <Oct 21, 2011 3:04:34 PM EDT> <Error> <oracle.soa.bpel.engine.xml> <BEA-000000> <
    javax.xml.xpath.XPathExpressionException: javax.xml.transform.TransformerException: oramds:/deployed-composites/default/MyProject_rev1.0/xsl/xFormValidationsBRE.xsl<Line 27, Column 252>: XML-22043: (Error) Extension function error: Method not found 'getDtformat'
    at oracle.xml.xpath.JXPathExpression.evaluate(JXPathExpression.java:242)
    at com.collaxa.cube.xml.xpath.BPELXPathUtil.evaluate(BPELXPathUtil.java:240)
    at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.evalFromExpression(BPEL2FromToOperationPerformer.java:320)
    at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.evalFromValue(BPEL2FromToOperationPerformer.java:220)
    at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.perform(BPEL2FromToOperationPerformer.java:55)
    at com.collaxa.cube.engine.ext.bpel.v2.wmp.BPEL2AssignWMP.__executeStatements(BPEL2AssignWMP.java:69)
    at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:158)
    at com.collaxa.cube.engine.CubeEngine._performActivity(CubeEngine.java:2463)
    at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2334)
    at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1115)
    at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:73)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:220)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:328)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4350)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4281)
    at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:679)
    at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:103)
    at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:145)
    at com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean.syncCreateAndInvoke(BPELEngineBean.java:111)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:94)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:81)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:112)
    at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:105)
    at sun.reflect.GeneratedMethodAccessor1289.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy316.syncCreateAndInvoke(Unknown Source)
    at com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean_51369e_ICubeEngineLocalBeanImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
    at com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean_51369e_ICubeEngineLocalBeanImpl.syncCreateAndInvoke(Unknown Source)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.callCreateAndInvoke(DeliveryHandler.java:790)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:528)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:487)
    at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:162)
    at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.request(CubeDeliveryBean.java:493)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:94)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:81)
    at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:112)
    at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:105)
    at sun.reflect.GeneratedMethodAccessor1289.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy312.request(Unknown Source)
    at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
    at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.request(Unknown Source)
    at oracle.fabric.CubeServiceEngine.request(CubeServiceEngine.java:380)
    at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:139)
    at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:179)
    at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:155)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:59)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy329.request(Unknown Source)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.doMessageProcessing(WebServiceEntryBindingComponent.java:1281)
    at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:859)
    at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1187)
    at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1081)
    at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:581)
    at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:232)
    at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:192)
    at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:459)
    at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:31
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUt
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.jav
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:1
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:13
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    Edited by: Ebrahim Badusha on Oct 21, 2011 12:42 PM

    Any solution for the above problem?
    O.

  • Oracle.xml.parser.v2.XPathException: Extension function error: Method not f

    Hi all,
    When I am trying to call an external java function in XSLT it is throwing the following exception .
    Exception in thread "main" oracle.xml.parser.v2.XPathException: Extension functi
    on error: Method not found 'getValue'
    at oracle.xml.parser.v2.XSLExtFunctions.getMethod(XSLExtFunctions.java:2
    85)
    at oracle.xml.parser.v2.XPathExtFunction.evaluateMethod(XPathExtFunction
    .java:178)
    at oracle.xml.parser.v2.XPathExtFunction.getValue(XPathExtFunction.java:
    137)
    at oracle.xml.parser.v2.XSLExprBase.getStringValue(XSLExprBase.java:369)
    at oracle.xml.parser.v2.XSLValueOf.processAction(XSLValueOf.java:99)
    at oracle.xml.parser.v2.XSLNode.processChildren(XSLNode.java:369)
    at oracle.xml.parser.v2.XSLResultElement.processAction(XSLResultElement.
    java:176)
    at oracle.xml.parser.v2.XSLNode.processChildren(XSLNode.java:369)
    at oracle.xml.parser.v2.XSLResultElement.processAction(XSLResultElement.
    java:176)
    at oracle.xml.parser.v2.XSLNode.processChildren(XSLNode.java:369)
    at oracle.xml.parser.v2.XSLTemplate.processAction(XSLTemplate.java:200)
    at oracle.xml.parser.v2.XSLApplyTemplates.processAction(XSLApplyTemplate
    s.java:214)
    at oracle.xml.parser.v2.XSLApplyTemplates.processAction(XSLApplyTemplate
    s.java:120)
    at oracle.xml.parser.v2.XSLNode.processChildren(XSLNode.java:369)
    at oracle.xml.parser.v2.XSLTemplate.processAction(XSLTemplate.java:200)
    at oracle.xml.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:474)
    at oracle.xml.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:451)
    at oracle.xml.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:248)
    at oracle.xml.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:138)
    at oracle.xml.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:210)
    at Transformer.main(Transformer.java:25)
    My small code is of XSL is:
    <xsl:stylesheet version = '1.0'
    xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:XYZ="http://www.oracle.com/XSL/Transform/java/pack/XYZ">
    <xsl:template match="PatientRecord">
    <patientKey>
    <LastName>
    <xsl:value-of select="XYZ:getValue()"/>
    </LastName>
    <DOB>
    <xsl:value-of select="DOB"/>
    </DOB>
    </patientKey>
    </xsl:template>
    </xsl:stylesheet>
    My small code of java is :
    package pack;
    public class XYZ{
    public String getValue(){
    return "Hello World";
    My small piece of XML is:
    <PatientRecord>
    <RecordType>P</RecordType>
    <FirstName>JAVA</FirstName>
    <LastName>DEVELOPER</LastName>
    <SSN>737747777</SSN>
    <DOB>19740310</DOB>
    <DoctorID>20874</DoctorID>
    <VisitReason>
    Programming stress disorders
    </VisitReason>
    </PatientRecord>
    I added the xmlparserv2.jar and xyz.jar file to classpath and XYZ.class file is in xyz.jar file .
    Could any body help me if they have encounter or know the answer.
    Thanks,
    Reddy

    Hi Vetsrini, Thank you for your response.
    1. I checked the values in the xml and found no nulls. I see all 0 or non-zero numbers.
    2. Following MetaLink Doc ID 362496.1, I find:
    - PDF Producer: PDF file properties shows PDF Producer "Oracle XML Publisher 5.6.3"
    - AD_BUGS SQL: The SQL results show that I have the 5.6.3 patch, but the SQL in the Doc only includes patch numbers up to 5.6.3. I'm not sure how I can find out the patch numbers of more recent patches, to see if i have those.
    - File version of the MetaInfo.class: $Header MetaInfo.java 115.28 2006/08/17 01:24:59 bgkim noship $
    What is the latest XDO patch? I can't find anything newer than what I have in MetaLink, but I probably am missing something...

  • Oracle.xdo.parser.v2.XPathException: Extension function error: Method not f

    Hi,
    I receive this error when I try to view xml from xml publisher template.
    Anybody can help to shed me some lights what to check ? I'm newbie.
    It does contain barcode font. I can view other xml template just fine ( other report )
    and I can view barcode font just fine.
    Only that I'm having error on this new template having barcode font and some query.
    Not sure what's wrong here.
    Thanks.
    Font Dir: C:\Program Files\Oracle\XML Publisher\Template Builder\fonts
    Run XDO Start
    setLocale: en
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:580)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:378)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:197)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:156)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:916)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:178)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1507)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:913)
         at RTF2PDF.runRTFto(RTF2PDF.java:535)
         at RTF2PDF.runXDO(RTF2PDF.java:423)
         at RTF2PDF.main(RTF2PDF.java:217)
    Caused by: oracle.xdo.parser.v2.XPathException: Extension function error: Method not found 'foreach_number'
         at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1526)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:517)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:485)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:264)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:150)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:187)
         ... 15 more

    Hi Vetsrini, Thank you for your response.
    1. I checked the values in the xml and found no nulls. I see all 0 or non-zero numbers.
    2. Following MetaLink Doc ID 362496.1, I find:
    - PDF Producer: PDF file properties shows PDF Producer "Oracle XML Publisher 5.6.3"
    - AD_BUGS SQL: The SQL results show that I have the 5.6.3 patch, but the SQL in the Doc only includes patch numbers up to 5.6.3. I'm not sure how I can find out the patch numbers of more recent patches, to see if i have those.
    - File version of the MetaInfo.class: $Header MetaInfo.java 115.28 2006/08/17 01:24:59 bgkim noship $
    What is the latest XDO patch? I can't find anything newer than what I have in MetaLink, but I probably am missing something...

  • ESB Error - Extension function error: Method not found 'parseEscapedXML'

    Hi All
    I have written an ESB service in which i have used the function 'parseEscapedXML'. The ESB service works fine in one environment but throws the following error in the other env.
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode xmlns="">env:ESBMessageProcessingFailed</faultcode><faultstring xmlns="">XML-22043: (Error) Extension function error: Method not found 'parseEscapedXML'</faultstring></env:Fault></env:Body></env:Envelope>
    I compared the two instances and found that there is a difference in the size of the bpm-services.jar on the two instances. Also the ESB env where the ESB services works in on MLR1 and the instance where its throws an error is on MLR3. Has anyone faced this issue. Does MLR3 overwites this jar with a new jar?
    Thanks
    Rakesh

    Dear,
    The addon is a third party addon which was developed by CitiXSys. so the support is provided by the partner who developed the addon.
    Go to the vendor Citixys for further support will give you a quick reply.
    Regards
    Apple

  • XPathException: Extension function error: Method not found 'abs'

    Hello,
    I am using -XMLP 5.6.3 on EBS 11.5.10.2
    In XML Publisher Admin, View Template page, I click "Preview". I get a report, but all it contains is a long stack trace containing the following messages:
    java.lang.reflect.InvocationTargetException
    Caused by: oracle.xdo.parser.v2.XPathException: Extension function error: Method not found 'abs'
    In my RTF, the offending code is
    <?when:xdoxslt:abs(ACCOUNTED_CR)>xdoxslt:abs(ACCOUNTED_DR)?>It works fine on my pc where I have BI Publisher Desktop 10.1.3.4

    Hi Vetsrini, Thank you for your response.
    1. I checked the values in the xml and found no nulls. I see all 0 or non-zero numbers.
    2. Following MetaLink Doc ID 362496.1, I find:
    - PDF Producer: PDF file properties shows PDF Producer "Oracle XML Publisher 5.6.3"
    - AD_BUGS SQL: The SQL results show that I have the 5.6.3 patch, but the SQL in the Doc only includes patch numbers up to 5.6.3. I'm not sure how I can find out the patch numbers of more recent patches, to see if i have those.
    - File version of the MetaInfo.class: $Header MetaInfo.java 115.28 2006/08/17 01:24:59 bgkim noship $
    What is the latest XDO patch? I can't find anything newer than what I have in MetaLink, but I probably am missing something...

  • Extension function error: Method not found 'trim'

    Hi,
    I am using this function to trim the records before checking the if condition.
    <?if:xdoxslt:trim(./CATEGORYHEADING)!=''?>
    This call is resulting in this error in the OPP log file
    [9/28/09 11:37:03 AM] [UNEXPECTED] [7481690:RT14600648] oracle.xml.parser.v2.XPathException:
    Extension function error: Method not found 'trim'
    at oracle.xml.parser.v2.XSLExtFunctions.getMethod(XSLExtFunctions.java:285)
    Please can you tell me what exactly I should install to get the xdoxslt command to work.
    I looked at the PATCH, bug_number FROM ad_bugs in the oracle db and looks like I have the latest patch.
    PATCH BUG_NUMBER
    XDO.H 3263588
    4.5.0 3554613
    5.0.0 3822219
    5.5.0 4206181
    5.0.1 4236958
    5.6.0 4561451
    5.6.1 4905678
    5.6.2 5097966
    5.6.3 5472959
    Thanks
    Shandrila

    I dont think you have it based on the patches you have. Take 8720251 to get the trim function, among other updates.
    Tim

  • SQL Server Setup failure.SQL Server Setup has encountered the following error: Method not found: 'Boolean Microsoft.SqlServer.Configuration.MsiExtension.MsiExtensionMetadata.get_IsSlipstreamOrPatch()'.. ----------

    Hi Team,
    Earlier i had SQL Server 2008 R2 on my Machine. For one work around i unistall SQL Server 2008 R2 and Trying to install SQL Server 2008 but i am not able to install with below error:
    TITLE: SQL Server Setup failure.
    SQL Server Setup has encountered the following error:
    Method not found: 'Boolean Microsoft.SqlServer.Configuration.MsiExtension.MsiExtensionMetadata.get_IsSlipstreamOrPatch()'..
    Thanks

    Hi Lydia,
    i have followed the above step and i am able to proceed further but while installation i am getting the below error consistently.
    TITLE: Microsoft SQL Server 2008 Setup
    The following error has occurred:
    Locating the SQL Server Browser service component failed with Windows Installer return code '2'. The component ID: '{2E86FD41-C179-456E-8E6A-5157ED427228}'.
    Click 'Retry' to retry the failed action, or click 'Cancel' to cancel this action and continue setup.
    For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=10.0.1600.22&EvtType=0x8510C01B%25400x31BA4472%25401222%254052007
    BUTTONS:
    &Retry
    Cancel
    2: 
    TITLE: Microsoft SQL Server 2008 Setup
    The following error has occurred:
    SQL Server Browser configuration for feature 'SQL_Browser_Redist_SqlBrowser_Cpu32' was cancelled by user after a previous installation failure. The last attempted step: Retrieving full path to the SQL Server Browser service executable using Windows Installer
    API for the SQL Server Browser component with ID '{2E86FD41-C179-456E-8E6A-5157ED427228}'..
    For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=10.0.1600.22&EvtType=0x8510C01B%25400x31BA4472%25401222%254052007
    BUTTONS:
    OK
    After ignoring these step..installation getting complete but ..at the end i am not able to connect to server.
    Could you please help me on this.
    Thanks,
    Sumit

  • SQL Server Setup has encountered the following error: Method not found:'Boolean Microsoft.SqlServer.Configuration.MsiExtension.MsiExtensionMetadata.get_IsSlipstreamOrPatch()

    Hello,
    When I am installing SQL Server 2008 on win7, I encountered an error: SQL Server Setup has encountered the following error: Method not found:'Boolean Microsoft.SqlServer.Configuration.MsiExtension.MsiExtensionMetadata.get_IsSlipstreamOrPatch()‘
    What's the metter? What can I do to deal with it? 
    I need your speed answers.
    Thanks,
    Vicky Song

    Hello,
    Looking at your issue I am wondering if your media is corrupt. 
    What edition of SQL Server you are trying to install? Did you download that media? 
    If you downloaded it, perhaps you should try to download it again.
    Are you able to install that SQL Server 2008 on another machine without any problem?
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • EWAF 016Due to a communications error method GET_CHQ_BOUNCE_INFO could...

    Hello Everyone,
    I have developed a generic sync appln. After deployment, on execution i get the foll error/return message..
    "<b>EWAF 016Due to a communications error method GET_CHQ_BOUNCE_INFO could not be executed</b>"
    I have done the mapppings in the table BWAFMAPP and MEMAPPDEST.
    I have also tested the RFC connection and also tried remote logon. Alls working fine.
    My wrapper is also remote-enabled.
    To check the RFC connection i have also tried calling the wrapper which is in the b/e from a test FM in the middleware. Even that is working.
    The configuration I am using is :-
    MI 25 SP 13 Patch 00
    WAS release 640
    b/e R/3 release 700(ECC 6.0)
    Kindly help me with this.
    Thanks & Regards,
    Saurabh.

    Hi Craig,
    I was actually not using the f4 help of the
    IF_BSP_SERVICES class. Now I want to implement this as I have got many fields on my page. But I am getting the above mentioned error while doing this. The Code in OnInitialization() is:
    data: dataref1 type ref to data.
    data:wa_r8t_prog type ZR8T_S_API_PROG_H.
    get reference of wa_r8t_prog-ZR8CPRGTY into dataref1.
    try.
    call method runtime->ddic_utils->get_simple_helpvalues
    exporting
    data_object_ref = dataref1
    changing
    helpvalue_tab = t_vallist.
    catch cx_bsp_services.
    endtry.
    But I have a search help attached to 'ZR8T_S_API_PROG_H-ZR8CPRGTY' field
    My 'ZR8T_S_API_PROG_H' structure definition is as follows:
    .INCLUDE     ZR8T_REBATE_PROG          0     0     Rebate Program
    ZR8CPRGID     /BIC/OIZR8CPRGID     CHAR     32     0     Rebate Program ID
    COMP_CODE     /BI0/OICOMP_CODE     CHAR     4     0     Company Code
    ZR8CPRGTY     /BIC/OIZR8CPRGTY     CHAR     5     0     Program type
    Can I get f4 help from search help exits or do I have to use only value tables?
    Regards
    Tejaswini
    Message was edited by: Tejaswini Das

  • HOW WE CAN DO TRIAL AND ERROR METHOD TO FIND THE TABLES AND FIELDS?

    HOW WE CAN DO TRIAL AND ERROR METHOD TO FIND THE TABLES AND FIELDS FOR ENHANCING THE AUTOMATIC SERIAL NUMBER PROFILE///

    Hi
    You can find user-exit for that. In user exit function you can use all import parameter. Set debugging in include program and you can see all import parameter.
    Regards,
    M Sajid

  • UI Error 'Method clone not found in class java.lang.Class'

    When attempting to view an application window in the User Interface error I receive the error 'Method clone not found in class java.lang.Class'. The window will run correctly when I execute the application and other objects on the window are displayed correctly in the UI editor.
    Within the window class I have used the following line of code to clone a reference list of values that is loaded just once when the application starts up: -
    dsDefaultComboBoxModel priorityComboBoxModel = (dsDefaultComboBoxModel) dsReferenceLuLists.priorityComboBoxModel.clone();
    And then this line of code to create a combo box: -
    dsGuiComboBoxRefelu priorityComboBox = new dsGuiComboBoxRefelu(priorityComboBoxModel,ReportWindowSql.priorityCodeBuffer);
    And then later on the combo box is displayed.
    detailsArea.add(priorityComboBox, new XYConstraints(250,10,dsGlobalVariables.gvFieldWidthLarge,-1));
    'dsDefaultComboBoxModel' is defined as follows: -
    public class dsDefaultComboBoxModel extends DefaultComboBoxModel implements Cloneable
    public dsDefaultComboBoxModel()
    public Object clone()
    try
    return super.clone();
    catch ( CloneNotSupportedException e )
    // Shouldn't happen.
    throw new InternalError( e.toString() );
    This error occurs using the latest v903, but was also present in previous versions of JDeveloper.
    At the moment this means that I did to execute the window in order to see all of the GUI elements that are displayed. As on option I could use something other than the clone method, but it seems to be such a nice way of copying the static reference lists.
    Thanks for any help.

    Hi Darren,
    My guess is that since DefaultComboBoxModel doesn't implement Cloneable, you can't call super.clone(). Does your code compile?
    Later.
    Dennis

  • Error "Method cache corrupted" when running Photoshop Elements 12 Editor on MAC

    Hello
    Here is a summary of the problem: I have bought Adobe Photoshop Elements 12 on Apple Store.
    Installation well done, no problem. But when and run it I have the error message below (truncated because very long). Not possible to use. I must close the application each time.
    Could you please help me?
    rocess:               Adobe Photoshop Elements 12 Editor [1227]
    Path:                  /Applications/Adobe Photoshop Elements 12 Editor.app/Contents/MacOS/Adobe Photoshop Elements 12 Editor
    Identifier:            com.adobe.pse12editor
    Version:               12.0 (12)
    App Item ID:           768610744
    App External ID:       192852631
    Code Type:             X86-64 (Native)
    Parent Process:        ??? [1]
    Responsible:           Adobe Photoshop Elements 12 Editor [1227]
    User ID:               503
    Date/Time:             2014-11-12 17:31:53.031 +0100
    OS Version:            Mac OS X 10.10 (14A389)
    Report Version:        11
    Anonymous UUID:        0315C57E-E64F-CD95-8347-D0D6B0ECFEDC
    Sleep/Wake UUID:       D1546A61-6A7F-47BF-80FF-D7779735687E
    Time Awake Since Boot: 35000 seconds
    Crashed Thread:        0  Dispatch queue: com.apple.main-thread
    Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes:       EXC_I386_GPFLT
    Application Specific Information:
    objc[1227]: Method cache corrupted. This may be a message to an invalid object, or a memory error somewhere else.
    objc[1227]: receiver 0x600002031ba0, SEL 0x7fff8cf07837, isa 0x1030f10a0, cache 0x1030f10b0, buckets 0x1002d3720, mask 0x861b0, occupied 0x1
    objc[1227]: receiver 32 bytes, buckets 0 bytes
    objc[1227]: selector 'path'
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libsystem_c.dylib             0x00007fff968a8172 strlen + 18
    1   libsystem_c.dylib             0x00007fff968ecf22 __vfprintf + 4887
    2   libsystem_c.dylib             0x00007fff969159cf __v2printf + 679
    3   libsystem_c.dylib             0x00007fff968eb756 _vasprintf + 569
    4   libobjc.A.dylib               0x00007fff8e5533bb _objc_inform_now_and_on_crash + 161
    5   libobjc.A.dylib               0x00007fff8e5522a0 cache_t::bad_cache(objc_object*, objc_selector*, objc_class*) + 210
    6   libobjc.A.dylib               0x00007fff8e5521cd objc_msgSend_corrupt_cache_error + 9
    7   com.adobe.pse12editor         0x0000000100899551 boost::exception_detail::copy_boost_exception(boost::exception*, boost::exception const*) + 8467121
    8   com.adobe.pse12editor         0x000000010073d051 boost::exception_detail::copy_boost_exception(boost::exception*, boost::exception const*) + 7040433
    9   com.adobe.pse12editor         0x0000000100744b72 boost::exception_detail::copy_boost_exception(boost::exception*, boost::exception const*) + 7071954
    10  com.adobe.pse12editor         0x000000010073d3d8 boost::exception_detail::copy_boost_exception(boost::exception*, boost::exception const*) + 7041336
    11  com.adobe.pse12editor         0x000000010073f8a9 boost::exception_detail::copy_boost_exception(boost::exception*, boost::exception const*) + 7050761
    12  com.adobe.pse12editor         0x00000001007e8738 boost::exception_detail::copy_boost_exception(boost::exception*, boost::exception const*) + 7742616
    13  com.adobe.pse12editor         0x00000001002af523 boost::exception_detail::copy_boost_exception(boost::exception*, boost::exception const*) + 2265731
    14  com.adobe.pse12editor         0x00000001002afb59 boost::exception_detail::copy_boost_exception(boost::exception*, boost::exception const*) + 2267321
    15  com.adobe.pse12editor         0x0000000100002df4 0x100000000 + 11764
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib         0x00007fff8f31f22e kevent64 + 10
    1   libdispatch.dylib             0x00007fff97231a6a _dispatch_mgr_thread + 52
    Thread 2:
    0   libsystem_kernel.dylib         0x00007fff8f31e946 __workq_kernreturn + 10
    1   libsystem_pthread.dylib       0x00007fff93d114a1 start_wqthread + 13
    Thread 3:
    0   libsystem_kernel.dylib         0x00007fff8f31e946 __workq_kernreturn + 10
    1   libsystem_pthread.dylib       0x00007fff93d114a1 start_wqthread + 13
    Thread 4:
    0   libsystem_kernel.dylib         0x00007fff8f31e946 __workq_kernreturn + 10
    1   libsystem_pthread.dylib       0x00007fff93d114a1 start_wqthread + 13
    Thread 5:
    0   libsystem_kernel.dylib         0x00007fff8f31e946 __workq_kernreturn + 10
    1   libsystem_pthread.dylib       0x00007fff93d114a1 start_wqthread + 13
    Thread 6:
    Thread 7:
    0   libsystem_kernel.dylib         0x00007fff8f319582 semaphore_timedwait_trap + 10
    1   com.apple.CoreServices.CarbonCore 0x00007fff8f88a658 MPWaitOnSemaphore + 87
    2   MultiProcessor Support         0x000000011013e430 ThreadFunction(void*) + 61
    3   com.apple.CoreServices.CarbonCore 0x00007fff8f88a904 PrivateMPEntryPoint + 58
    4   libsystem_pthread.dylib       0x00007fff93d132fc _pthread_body + 131
    5   libsystem_pthread.dylib       0x00007fff93d13279 _pthread_start + 176
    6   libsystem_pthread.dylib       0x00007fff93d114b1 thread_start + 13
    External Modification Summary:
      Calls made by other processes targeting this process:
        task_for_pid: 2
        thread_create: 0
        thread_set_state: 0
      Calls made by this process:
        task_for_pid: 0
        thread_create: 0
        thread_set_state: 0
      Calls made by all processes on this machine:
        task_for_pid: 11487
        thread_create: 0
        thread_set_state: 0
    VM Region Summary:
    ReadOnly portion of Libraries: Total=353.6M resident=236.1M(67%) swapped_out_or_unallocated=117.5M(33%)
    Writable regions: Total=247.5M written=51.8M(21%) resident=73.1M(30%) swapped_out=0K(0%) unallocated=174.4M(70%)
    REGION TYPE                      VIRTUAL
    ===========                      =======
    Activity Tracing                   2048K
    CG backing stores                  2308K
    CG image                            128K
    CG shared images                    560K
    CoreImage                             8K
    CoreUI image data                   104K
    Image IO                             64K
    Kernel Alloc Once                     8K
    MALLOC                            140.6M
    MALLOC (admin)                       32K
    Memory Tag 240                     16.0M
    Memory Tag 242                       12K
    Memory Tag 251                        8K
    OpenCL                               16K
    STACK GUARD                        56.1M
    Stack                              16.7M
    Stack (reserved)                    520K        reserved VM address space (unallocated)
    VM_ALLOCATE                        73.1M
    __DATA                             40.8M
    __IMAGE                             528K
    __LINKEDIT                         90.3M
    __TEXT                            263.3M
    __UNICODE                           544K
    mapped file                        63.4M
    shared memory                         4K
    ===========                      =======
    TOTAL                             767.1M
    TOTAL, minus reserved VM space    766.5M
    Model: iMac13,1, BootROM IM131.010A.B05, 4 processors, Intel Core i5, 2.9 GHz, 8 GB, SMC 2.9f5
    Graphics: NVIDIA GeForce GT 650M, NVIDIA GeForce GT 650M, PCIe, 512 MB
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533643465238432D50422020
    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533643465238432D50422020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF4), Broadcom BCM43xx 1.0 (7.15.124.12.8)
    Bluetooth: Version 4.3.0f10 14890, 3 services, 27 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: APPLE HDD HTS541010A9E662, 1 TB
    USB Device: My Passport 07A8
    USB Device: Hub
    USB Device: USB 2.0 Hub
    USB Device: USB Receiver
    USB Device: Apple USB SuperDrive
    USB Device: FaceTime HD Camera (Built-in)
    USB Device: Hub
    USB Device: ML-2160 Series
    USB Device: Hub
    USB Device: BRCM20702 Hub
    USB Device: Bluetooth USB Host Controller
    Thunderbolt Bus: iMac, Apple Inc., 23.4

    "Any suggestions for work-around on this?"
    No! 
    Not untill Mac and Adobe and Canon get their collective acts together.  Mac (Apple) has the bad habit of upgrading their stuff and not being forthcoming with the particulars given to 3rd party companies like Canon and Adobe.
    Besides the cost difference of Mac's the compatibility issues are it's worst features. 
    EOS 1Ds Mk III, EOS 1D Mk IV EF 50mm f1.2 L, EF 24-70mm f2.8 L,
    EF 70-200mm f2.8 L IS II, Sigma 120-300mm f2.8 EX APO
    Photoshop CS6, ACR 8.7, Lightroom 5.7

Maybe you are looking for

  • Schedule line confirmed but unable to create delivery

    hi, schedule lines are confirmed but still not able to create delivery, stock is available in the storage location, no reservations are against the storage location, when i try to create a delivery, delivery quantity field is empty then when i try to

  • Power up from external keyboard?

    I'm using my MacBook Pro with an external Apple keyboard, mouse and monitor. Is there anyway to power up the Macbook Pro from the keyboard without opening up the laptop and hitting the power button?

  • ID3 Settings?  Other than MP3????

    I see that we can set ID3 tags for Itunes in the MP3 bouncing dialog. What about if we are wanting to add these in before we send them to be Mastered so the data would be propagated downward from CD to MP3 later? I have STFM on ID3...nothing......is

  • Why won't yahoo or aol load on my mac  pro using Comcast

    I took my Mac Pro to Apple store today, I told them it was taking forever to open  aol.com and yahoo.  They able to make it ok faster.  I brought it home.  I have. Comcast.  It  still takes forever to open them.   Anyone  else ever have this problem.

  • Script  Web item in Web Template not working

    Hi Gurus I m working with BI 7.0 , WAD 7.0 i have requirement of remove a characteristics from Drilldown from the Query output in web template i have tried using SCRIPT_ITEM and from command wizard i have choosen the REMOVE DRILLDOWN command for that