Results 1 to 15 of 15
  1. #1
    ank64 is offline Member
    Join Date
    Aug 2010
    Posts
    10
    Rep Power
    0

    Exclamation JAVA SOUND API's NULL POINTER EXCEPTION

    PHP Code:
          int cnt = sound.targetdataline.read(tempBuffer,0,tempBuffer.length);
    
    i was using this code line to read data from targetdataline in netbeans 6.8
    but my program keeps on giving null pointer exception..
    i wrapped the code in try/catch but that doesn.t helps either
    so the thread stops.
    plz help me resolve this issue.
    
    
    the complete snippet is:- 
    
    class capturethread extends Thread{
    
        byte tempBuffer[] = new byte[10000];
        NewJFrame sound=new NewJFrame();
        public void run(){
        sound.bytearrayoutputstream =
               new ByteArrayOutputStream();
        sound.stopcapture = false;
        try{//Loop until stopCapture is set
            // by another thread that
            // services the Stop button.
          while(!sound.stopcapture){
            //Read data from the internal
            // buffer of the data line.
    
    //this line generates exception
     int cnt = sound.targetdataline.read(tempBuffer,0,tempBuffer.length);
            if(cnt > 0){
              //Save data in output stream
              // object.
              sound.bytearrayoutputstream.write(
                       tempBuffer, 0, cnt);
            }//end if
          }//end while
          sound.bytearrayoutputstream.close();
        }catch (Exception e) {
          e.printStackTrace();
          System.exit(0);
        }//end catch
      }//end run
    }//end inner class CaptureThread

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,882
    Rep Power
    25

    Default

    What is the variable that is null?
    Is it: sound.targetdataline

    Who/what sets the value of the variable?

  3. #3
    ank64 is offline Member
    Join Date
    Aug 2010
    Posts
    10
    Rep Power
    0

    Exclamation

    PHP Code:
    here is wat d error is like
    run:
    java.lang.NullPointerException
            at sound1.capturethread.run(capturethread.java:27)
            at java.lang.Thread.run(Thread.java:619)
    
    //debug window shows:- 
    debug:
    Have no FileObject for C:\Program Files\Java\jdk1.6.0_02\jre\lib\sunrsasign.jar
    Have no FileObject for C:\Program Files\Java\jdk1.6.0_02\jre\classes
    
    bebugging shows cnt is not a known variable in current context.
    it says method read is called on null object
    
    same code whn compiled thru commandpromt runs
    the code is available at:- 
    http://www.developer.com/java/other/article.php/1572251/Java-Sound-Getting-Started-Part-1-Playback.htm
    
    plz help as i need to work on sound api..
    
    thx

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,882
    Rep Power
    25

    Default

    What is the variable that is null?
    Is it: sound.targetdataline
    Who/what sets the value of the variable: sound.targetdataline?

    method read is called on null object
    Find out why sound.targetdataline is null

    Look in the class: NewJFrame

  5. #5
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Can't you debug the code? Are you suing any IDE, if so it's easy? Or else put some print statements in between.

  6. #6
    ank64 is offline Member
    Join Date
    Aug 2010
    Posts
    10
    Rep Power
    0

    Exclamation

    PHP Code:
    /*
     * To change this template, choose Tools | Templates
     * and open the template in the editor.
     */
    
    /*
     * NewJFrame.java
     *
     * Created on 30 Jul, 2010, 11:30:21 PM
     */
    package sound1;
    
    /**
     *
     * @author aNkU
     */
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.InputStream;
    import javax.sound.sampled.*;
    import javax.swing.*;
    import java.util.*;
    
    public class NewJFrame extends javax.swing.JFrame {
        /** Creates new form NewJFrame */
        AudioFormat audioformat;
        TargetDataLine targetdataline;
        SourceDataLine sourcedataline;
        ByteArrayOutputStream bytearrayoutputstream;
        AudioInputStream audioinputstream;
        boolean stopcapture=false;
    
        public NewJFrame(){
            initComponents();
        // UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
       }
    
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
         List\*/
       @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">                          
        private void initComponents() {
    
            jTabbedPane1 = new javax.swing.JTabbedPane();
            jPanel1 = new javax.swing.JPanel();
            jTextField1 = new javax.swing.JTextField();
            jLabel1 = new javax.swing.JLabel();
            jButton1 = new javax.swing.JButton();
            jCheckBox1 = new javax.swing.JCheckBox();
            jButton2 = new javax.swing.JButton();
            jButton3 = new javax.swing.JButton();
            jPanel2 = new javax.swing.JPanel();
            jScrollPane1 = new javax.swing.JScrollPane();
            jList2 = new javax.swing.JList();
            jPanel3 = new javax.swing.JPanel();
            jSlider1 = new javax.swing.JSlider();
            jProgressBar1 = new javax.swing.JProgressBar();
            jPanel4 = new javax.swing.JPanel();
            jScrollPane2 = new javax.swing.JScrollPane();
            jTextPane1 = new javax.swing.JTextPane();
    
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    
            jTextField1.setBackground(new java.awt.Color(204, 204, 204));
            jTextField1.setToolTipText("Enter Destination IP");
    
            jLabel1.setFont(new java.awt.Font("Tahoma", 1, 12));
            jLabel1.setText("Host/Ip Address");
    
            jButton1.setBackground(new java.awt.Color(255, 0, 51));
            jButton1.setText("Connect");
            jButton1.addMouseListener(new java.awt.event.MouseAdapter() {
                public void mouseClicked(java.awt.event.MouseEvent evt) {
                    jButton1MouseClicked(evt);
                }
            });
    
            jCheckBox1.setText("Accept Incoming Connection");
    
            jButton2.setText("Stop");
            jButton2.addMouseListener(new java.awt.event.MouseAdapter() {
                public void mouseClicked(java.awt.event.MouseEvent evt) {
                    jButton2MouseClicked(evt);
                }
            });
    
            jButton3.setText("Play");
            jButton3.addMouseListener(new java.awt.event.MouseAdapter() {
                public void mouseClicked(java.awt.event.MouseEvent evt) {
                    jButton3MouseClicked(evt);
                }
            });
    
            javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
            jPanel1.setLayout(jPanel1Layout);
            jPanel1Layout.setHorizontalGroup(
                jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel1Layout.createSequentialGroup()
                    .addGap(25, 25, 25)
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(jPanel1Layout.createSequentialGroup()
                            .addComponent(jLabel1)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 188, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGap(145, 145, 145))
                        .addGroup(jPanel1Layout.createSequentialGroup()
                            .addComponent(jCheckBox1)
                            .addGap(83, 83, 83)
                            .addComponent(jButton2)
                            .addGap(29, 29, 29)
                            .addComponent(jButton3)
                            .addGap(48, 48, 48))))
                .addGroup(jPanel1Layout.createSequentialGroup()
                    .addGap(189, 189, 189)
                    .addComponent(jButton1)
                    .addContainerGap(202, Short.MAX_VALUE))
            );
            jPanel1Layout.setVerticalGroup(
                jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel1Layout.createSequentialGroup()
                    .addGap(62, 62, 62)
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel1)
                        .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGap(38, 38, 38)
                    .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(45, 45, 45)
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jCheckBox1)
                        .addComponent(jButton2)
                        .addComponent(jButton3))
                    .addContainerGap(38, Short.MAX_VALUE))
            );
    
            jTabbedPane1.addTab("connection", jPanel1);
    
            jList2.setModel(new javax.swing.AbstractListModel() {
                String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" };
                public int getSize() { return strings.length; }
                public Object getElementAt(int i) { return strings[i]; }
            });
            jScrollPane1.setViewportView(jList2);
    
            javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
            jPanel2.setLayout(jPanel2Layout);
            jPanel2Layout.setHorizontalGroup(
                jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel2Layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 444, Short.MAX_VALUE))
            );
            jPanel2Layout.setVerticalGroup(
                jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel2Layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 249, Short.MAX_VALUE)
                    .addContainerGap())
            );
    
            jTabbedPane1.addTab("Mixers", jPanel2);
    
            javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
            jPanel3.setLayout(jPanel3Layout);
            jPanel3Layout.setHorizontalGroup(
                jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel3Layout.createSequentialGroup()
                    .addContainerGap(192, Short.MAX_VALUE)
                    .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup()
                            .addComponent(jSlider1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGap(62, 62, 62))
                        .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup()
                            .addComponent(jProgressBar1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGap(96, 96, 96))))
            );
            jPanel3Layout.setVerticalGroup(
                jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup()
                    .addContainerGap(154, Short.MAX_VALUE)
                    .addComponent(jProgressBar1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(28, 28, 28)
                    .addComponent(jSlider1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(52, 52, 52))
            );
    
            jTabbedPane1.addTab("Audio Settings", jPanel3);
    
            jTextPane1.setBackground(new java.awt.Color(255, 204, 255));
            jTextPane1.setEditable(false);
            jTextPane1.setFont(new java.awt.Font("Viner Hand ITC", 1, 12));
            jTextPane1.setForeground(new java.awt.Color(255, 0, 0));
            jTextPane1.setText("(c)Copyright to :\n\nAuthor: Sahil Khajuria(Software Engg.)\nM.E CSE, B.E IT\n\nContact @:\nsahil.khajuria@hotmail.com");
            jScrollPane2.setViewportView(jTextPane1);
    
            javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
            jPanel4.setLayout(jPanel4Layout);
            jPanel4Layout.setHorizontalGroup(
                jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel4Layout.createSequentialGroup()
                    .addGap(79, 79, 79)
                    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 275, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(100, Short.MAX_VALUE))
            );
            jPanel4Layout.setVerticalGroup(
                jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel4Layout.createSequentialGroup()
                    .addGap(36, 36, 36)
                    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 187, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(48, Short.MAX_VALUE))
            );
    
            jTabbedPane1.addTab("About", jPanel4);
    
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 459, Short.MAX_VALUE)
                    .addContainerGap())
            );
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 299, Short.MAX_VALUE)
                    .addContainerGap())
            );
    
            pack();
        }// </editor-fold>                        
    
        private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {                                      
            // TODO add your handling code here:
    //if(jTextField1.getText().equals(""))JOptionPane.showMessageDialog(jPanel1, "Enter IP","Field Empty", JOptionPane.ERROR_MESSAGE);
    //else{
      //  jButton3.setEnabled(false);
            try{
        captureAudio();
    
        }
    catch(Exception e){
        e.printStackTrace();
    }
      
        }                                     
    
        private void jButton2MouseClicked(java.awt.event.MouseEvent evt) {                                      
            // TODO add your handling code here:
            jButton3.setEnabled(true);
            stopcapture=true;
    
        }                                     
    
        private void jButton3MouseClicked(java.awt.event.MouseEvent evt) {                                      
            // TODO add your handling code here:
            try{
            playaudio();
            }
            catch(Exception e){}
    
    
    
        }                                     
    
        /**
         * @param args the command line arguments
         */
    public void mixvalues(){
    
        Mixer.Info[] ar=AudioSystem.getMixerInfo();
    
       String str[]=new String[ar.length];
       for(int count=0;count<ar.length;count++){
       str[count]=ar[count].getName();
        }
        jList2.setListData(str);
        
      }
    
    public void captureAudio(){
    try{
        soundformat sf=new soundformat();
        audioformat=sf.getAudioFormat();
    
    DataLine.Info datalineinfo =new DataLine.Info(TargetDataLine.class, audioformat);
    
    targetdataline=(TargetDataLine)AudioSystem.getLine(datalineinfo);
    targetdataline.open(audioformat);
    targetdataline.start();
    Thread cp=new Thread(new capturethread());
    cp.start();
    }
    catch(Exception e){
        e.printStackTrace();
    }
    
    
    
    }
    
    
    
    public void playaudio(){
        try{
        byte audiodata[]=bytearrayoutputstream.toByteArray();
        InputStream bytearrayinputstream=new ByteArrayInputStream(audiodata);
        soundformat sf=new soundformat();
        audioformat=sf.getAudioFormat();
        audioinputstream =new AudioInputStream(bytearrayinputstream, audioformat, audiodata.length/audioformat.getFrameSize());
      DataLine.Info dataLineInfo =
                    new DataLine.Info(
                      SourceDataLine.class,
                              audioformat);
          sourcedataline = (SourceDataLine)AudioSystem.getLine(dataLineInfo);
          sourcedataline.open(audioformat);
          sourcedataline.start();
        Thread pl=new Thread(new playthread());
        pl.start();
        }
        catch(Exception e){System.out.println(e);
        }
    }
    
    
    
        public static void main(String Args[]){
            NewJFrame obj=new NewJFrame();
            obj.mixvalues();
            obj.setVisible(true);
    
        }
    
    
        // Variables declaration - do not modify                     
        private javax.swing.JButton jButton1;
        private javax.swing.JButton jButton2;
        private javax.swing.JButton jButton3;
        private javax.swing.JCheckBox jCheckBox1;
        private javax.swing.JLabel jLabel1;
        private javax.swing.JList jList2;
        private javax.swing.JPanel jPanel1;
        private javax.swing.JPanel jPanel2;
        private javax.swing.JPanel jPanel3;
        private javax.swing.JPanel jPanel4;
        private javax.swing.JProgressBar jProgressBar1;
        private javax.swing.JScrollPane jScrollPane1;
        private javax.swing.JScrollPane jScrollPane2;
        private javax.swing.JSlider jSlider1;
        private javax.swing.JTabbedPane jTabbedPane1;
        private javax.swing.JTextField jTextField1;
        private javax.swing.JTextPane jTextPane1;
        // End of variables declaration                   
         
    }


    This is NewJFrame class ,,, targetdataline not null, becs i printed it using printf n it ws nt null
    it contains primary audio driver

  7. #7
    ank64 is offline Member
    Join Date
    Aug 2010
    Posts
    10
    Rep Power
    0

    Exclamation

    hw to sucessfully use debug feature
    i use breakpoints in netbeans 6.8 but it s quite bad...

    vistual studio debugger is awesome,,, it shows variable values ,, whn cursor is taken n thm.

    but nt such feature in netbeans..
    if its there plz help me out use it..

    i hv just started fully using netbeans... n i request ur help

  8. #8
    ank64 is offline Member
    Join Date
    Aug 2010
    Posts
    10
    Rep Power
    0

    Exclamation ths s wat i found

    Exception occurred in target VM:
    java.lang.NullPointerException:
    at javax.sound.sampled.DataLine$Info.toString(DataLin e.java:462)
    at javax.sound.sampled.DataLine$Info.<init>(DataLine. java:335)
    at sound1.NewJFrame.captureAudio(NewJFrame.java:290)
    at sound1.NewJFrame.jButton1MouseClicked(NewJFrame.ja va:243)
    at sound1.NewJFrame.access$000(NewJFrame.java:24)
    at sound1.NewJFrame$1.mouseClicked(NewJFrame.java:77)
    at java.awt.AWTEventMulticaster.mouseClicked(AWTEvent Multicaster.java:253)
    at java.awt.Component.processMouseEvent(Component.jav a:6041)
    at javax.swing.JComponent.processMouseEvent(JComponen t.java:3265)
    at java.awt.Component.processEvent(Component.java:580 3)
    at java.awt.Container.processEvent(Container.java:205 8)
    at java.awt.Component.dispatchEventImpl(Component.jav a:4410)
    at java.awt.Container.dispatchEventImpl(Container.jav a:2116)
    at java.awt.Component.dispatchEvent(Component.java:42 40)
    at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:4322)
    at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:3995)
    at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:3916)
    at java.awt.Container.dispatchEventImpl(Container.jav a:2102)
    at java.awt.Window.dispatchEventImpl(Window.java:2429 )
    at java.awt.Component.dispatchEvent(Component.java:42 40)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java: 599)
    at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:121)

  9. #9
    ank64 is offline Member
    Join Date
    Aug 2010
    Posts
    10
    Rep Power
    0

    Default

    datalineinfo value:-
    interface TargetDataLine supporting format PCM_SIGNED 8000.0 Hz, 8 bit, mono, 1 bytes/frame,

  10. #10
    ank64 is offline Member
    Join Date
    Aug 2010
    Posts
    10
    Rep Power
    0

    Default

    targetdataline value in NewJFrame:-
    com.sun.media.sound.DirectAudioDevice$DirectTDL@97 04d8

  11. #11
    ank64 is offline Member
    Join Date
    Aug 2010
    Posts
    10
    Rep Power
    0

    Default

    i guess there s a problem in capturethread.java

  12. #12
    ank64 is offline Member
    Join Date
    Aug 2010
    Posts
    10
    Rep Power
    0

    Exclamation

    whyt targetdataline becomes null as soon as new capturethread is exceuted.

  13. #13
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by ank64 View Post
    hw to sucessfully use debug feature
    i use breakpoints in netbeans 6.8 but it s quite bad...

    vistual studio debugger is awesome,,, it shows variable values ,, whn cursor is taken n thm.

    but nt such feature in netbeans..
    if its there plz help me out use it..

    i hv just started fully using netbeans... n i request ur help
    NetBeans does the same. Where you stuck with it?

  14. #14
    ank64 is offline Member
    Join Date
    Aug 2010
    Posts
    10
    Rep Power
    0

    Red face

    finally found why targetdataline was becomin null..

    actually new thread ws exten ding Newjframe
    n so new objects wre initialized..

    but now i created all the variables n member f()ns which were used in capturethread located in newjframe as static n thus the value of target dataline obtaind in newjframe gt preserved while new thread ws run


    THX

  15. #15
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. Null Pointer exception
    By diegoyj in forum New To Java
    Replies: 7
    Last Post: 01-29-2010, 05:17 PM
  2. Null pointer exception?
    By coffee in forum New To Java
    Replies: 4
    Last Post: 08-03-2009, 04:22 AM
  3. Null pointer exception
    By talha06 in forum JDBC
    Replies: 5
    Last Post: 07-14-2009, 02:12 AM
  4. Null Pointer Exception
    By andre1011 in forum Advanced Java
    Replies: 4
    Last Post: 02-07-2009, 04:30 AM
  5. Null Pointer Exception
    By ScKaSx in forum New To Java
    Replies: 1
    Last Post: 01-24-2009, 12:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •