Results 1 to 13 of 13
  1. #1
    mathidioticz is offline Member
    Join Date
    Jan 2012
    Posts
    48
    Rep Power
    0

    Default Null pointer exception

    I am trying to pass my object from this panel to the other panel. But it always gave me a null pointer exception problems.
    it died on line 234 when i want to go the other panel.

    Java Code:
     
    
    package OOPJ.ui;
    
    
    import javax.swing.JPanel;
    import java.awt.Color;
    import javax.swing.JLabel;
    import java.awt.Dimension;
    import java.awt.Rectangle;
    import java.awt.Font;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import java.util.ArrayList;
    import javax.swing.DefaultListModel;
    import javax.swing.JOptionPane;
    import javax.swing.JScrollPane;
    import javax.swing.ListSelectionModel;
    import javax.swing.SwingConstants;
    import javax.swing.ImageIcon;
    import javax.swing.JTextField;
    import javax.swing.JButton;
    import Signup.entity.SignUp;
    import cancer.entity.CancerDetails;
    import javax.swing.JList;
    
    
    public class CancerPanel extends JPanel {
    		
    	private static final long serialVersionUID = 1L;
    	private JLabel jLabelLogo3 = null;
    	private JLabel jLabelSearch = null;
    	private JTextField jTextField1 = null;
    	private JLabel jLabelCancer = null;
    	private JButton jButtonGo = null;
    	private JLabel jLabelResults = null;
    	private JButton jButtonMenu = null;
    	private JLabel jLabelCancerImage1 = null;
    	private MainFrame myFrame = null;
    	private JButton jButtonAdd = null;
    	private DefaultListModel model;
    	private JList dbList = null;
    	private JScrollPane pane = null;
    	ArrayList<CancerDetails> result;
    	private CancerDetails c2;
    
    
    	
    	/**
    	 * This is the default constructor
    	 */
    	public CancerPanel() {
    		super();
    		model = new DefaultListModel(); 
    		initialize();    
    	}
    public CancerPanel(MainFrame f) { 
    		this(); 
    		myFrame = f; 
    
    	}
    	/**
    	 * This method initializes this
    	 * 
    	 * @return void
    	 */
    	private void initialize() {
    		jLabelCancerImage1 = new JLabel();
    		jLabelCancerImage1.setBounds(new Rectangle(334, 144, 326, 286));
    		jLabelCancerImage1.setIcon(new ImageIcon(getClass().getResource("/images/ui/images/cancer.jpg")));
    		jLabelCancerImage1.setText("JLabel");
    		jLabelResults = new JLabel();
    		jLabelResults.setBounds(new Rectangle(42, 149, 229, 30));
    		jLabelResults.setFont(new Font("Dialog", Font.BOLD, 18));
    		jLabelResults.setHorizontalAlignment(SwingConstants.CENTER);
    		jLabelResults.setHorizontalTextPosition(SwingConstants.CENTER);
    		jLabelResults.setText("Recommended Articles:");
    		jLabelCancer = new JLabel();
    		jLabelCancer.setBounds(new Rectangle(176, 8, 431, 70));
    		jLabelCancer.setFont(new Font("Dialog", Font.BOLD, 24));
    		jLabelCancer.setHorizontalAlignment(SwingConstants.CENTER);
    		jLabelCancer.setHorizontalTextPosition(SwingConstants.CENTER);
    		jLabelCancer.setIcon(new ImageIcon(getClass().getResource("/images/ui/images/Cancer Title.jpg")));
    		jLabelCancer.setText("");
    		jLabelSearch = new JLabel();
    		jLabelSearch.setBounds(new Rectangle(142, 88, 68, 26));
    		jLabelSearch.setHorizontalAlignment(SwingConstants.CENTER);
    		jLabelSearch.setHorizontalTextPosition(SwingConstants.CENTER);
    		jLabelSearch.setText("Search:");
    		jLabelLogo3 = new JLabel();
    		jLabelLogo3.setBounds(new Rectangle(14, 8, 137, 66));
    		jLabelLogo3.setFont(new Font("Dialog", Font.BOLD, 24));
    		jLabelLogo3.setHorizontalAlignment(SwingConstants.LEFT);
    		jLabelLogo3.setHorizontalTextPosition(SwingConstants.RIGHT);
    		jLabelLogo3.setIcon(new ImageIcon(getClass().getResource("/images/ui/images/logo.jpg")));
    		jLabelLogo3.setText("");
    		this.setLayout(null);
    		this.setSize(700, 500);
    		this.setBackground(Color.white);
    		this.add(jLabelLogo3, null);
    		this.add(jLabelSearch, null);
    		this.add(getJTextField1(), null);
    		this.add(jLabelCancer, null);
    		this.add(getJButtonGo(), null);
    		this.add(jLabelResults, null);
    		this.add(getJButtonMenu(), null);
    		this.add(jLabelCancerImage1, null);
    		this.add(getJButtonAdd(), null);
    		//this.add(getDbList(), null);
    		this.add(getDbList(), null);
    		this.add(getPane(), null);
    		//this.add(getPane(), null);
    	}
    
    	
    	/**
    	 * This method initializes jTextField1	
    	 * 	
    	 * @return javax.swing.JTextField	
    	 */
    	private JTextField getJTextField1() {
    		if (jTextField1 == null) {
    			jTextField1 = new JTextField();
    			jTextField1.setBounds(new Rectangle(218, 87, 326, 28));
    		}
    		return jTextField1;
    	}
    
    	/**
    	 * This method initializes jButtonGo	
    	 * 	
    	 * @return javax.swing.JButton	
    	 */
    	private JButton getJButtonGo() {
    		if (jButtonGo == null) {
    			jButtonGo = new JButton();
    			jButtonGo.setBounds(new Rectangle(553, 88, 53, 26));
    			jButtonGo.setText("GO");
    			jButtonGo.addActionListener(new java.awt.event.ActionListener() {
    				public void actionPerformed(java.awt.event.ActionEvent e) {
    
    					String searchPhrase = jTextField1.getText();
    					
    					if (jTextField1.getText().trim().length() == 0) {
    					JOptionPane.showMessageDialog(null, "Do not leave the field empty", "Error", JOptionPane.ERROR_MESSAGE);	
    					} 
    					
    					else 
    					{
    						//pane.setToolTipText(result);
    						 ArrayList<CancerDetails> result = CancerDetails.searchCancer(searchPhrase);
    							System.out.println("count " +result.size()); 
    
    							
    							for (CancerDetails s : result) 
    							{ 
    								System.out.println("getC_articleTitle" + s.getC_articleTitle());
    								model.addElement(s.getC_articleTitle());
    							}
    					}
    	
    					}
    			}
    
    					 );
    		}
    		return jButtonGo;
    	}
    	/**
    	 * This method initializes jButtonMenu	
    	 * 	
    	 * @return javax.swing.JButton	
    	 */
    	private JButton getJButtonMenu() {
    		if (jButtonMenu == null) {
    			jButtonMenu = new JButton();
    			jButtonMenu.setBounds(new Rectangle(562, 440, 85, 34));
    			jButtonMenu.setFont(new Font("Dialog", Font.BOLD, 16));
    			jButtonMenu.setText("Menu");
    			jButtonMenu.addActionListener(new java.awt.event.ActionListener() {
    				public void actionPerformed(java.awt.event.ActionEvent e) {
    					JPanel panel = new MenuPanel(myFrame);
    					myFrame.getContentPane().removeAll();
    					myFrame.getContentPane().add(panel);
    					myFrame.getContentPane().validate();
    					myFrame.getContentPane().repaint();
    				}
    			});
    		}
    		return jButtonMenu;
    	}
    
    	/**
    	 * This method initializes jButtonAdd	
    	 * 	
    	 * @return javax.swing.JButton	
    	 */
    	private JButton getJButtonAdd() {
    		if (jButtonAdd == null) {
    			jButtonAdd = new JButton();
    			jButtonAdd.setBounds(new Rectangle(601, 15, 94, 32));
    			jButtonAdd.setText("Add");
    			jButtonAdd.addActionListener(new java.awt.event.ActionListener() {
    				public void actionPerformed(java.awt.event.ActionEvent e) {
    					JPanel panel = new CancerCreatePanel(myFrame); 
    					myFrame.getContentPane().removeAll(); 
    					myFrame.getContentPane().add(panel);
    					myFrame.getContentPane().validate(); 
    					myFrame.getContentPane().repaint(); 
    				}
    			});
    		}
    		return jButtonAdd;
    	}
    	
    	private JList getDbList() {
    		if (dbList == null) {
    			
    			 dbList = new JList(model);
    			 dbList.setVisibleRowCount(5); 
    			 dbList.setBounds(new Rectangle(39, 199, 201, 106));
    			 dbList.setFixedCellHeight(27); 
    			 dbList.setFixedCellWidth(130); 
    			 dbList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    			 dbList.addMouseListener(new MouseAdapter(){
    				public void mouseClicked(MouseEvent me){
    			    	if(me.getClickCount() ==2) { 
    			    		  int rowSelected = dbList.getSelectedIndex();
    			    		 if ( rowSelected >= 0)  { 
    			    		  
    			       String cancer = (String) dbList.getSelectedValue();
    			       c2 = new CancerDetails(cancer);
    			       c2.retrieveCancer(); 
    			       System.out.println("CancerPanel mouseclick" );
    			       
    			       JPanel panel = new CancerDetailsPanel(myFrame,c2);
                                                  System.out.println("testing"); 
                                            myFrame.getContentPane().removeAll();
    					myFrame.getContentPane().add(panel);
    					myFrame.getContentPane().validate();
    					myFrame.getContentPane().repaint();    
    	
    			    		 } }
    			    	 
    				}
    				});
    		}
    		return dbList;
    	}
    
    	private JScrollPane getPane() {
    		if (pane == null) 
    		 pane = new JScrollPane();
    		 pane.getViewport().add(dbList);
    		 pane.setPreferredSize(new Dimension(250, 200));
    		 pane.setBounds(new Rectangle(27, 195, 281, 256));	
    		return pane;
    	} 
    }
    here is the error:
    Java Code:
     
    connection is jdbc:odbc:CFDatabase
    DB Query: SELECT * FROM USER WHERE USERNAME ='cat'
    Connection is closed
    connection is jdbc:odbc:CFDatabase
    DB Query: SELECT * FROM CANCER WHERE c_articleTitle LIKE '%lung%'
    Connection is closed
    count 1
    getC_articleTitlesymptoms for lung cancer
    connection is jdbc:odbc:CFDatabase
    DB Query: SELECT * FROM CANCER WHERE c_articleTitle ='symptoms for lung cancer'
    Connection is closed
    CancerPanel mouseclick
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    	at OOPJ.ui.CancerDetailsPanel.initialize(CancerDetailsPanel.java:88)
    	at OOPJ.ui.CancerDetailsPanel.<init>(CancerDetailsPanel.java:37)
    	at OOPJ.ui.CancerDetailsPanel.<init>(CancerDetailsPanel.java:41)
    	at OOPJ.ui.CancerPanel$4.mouseClicked(CancerPanel.java:242)
    	at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
    	at java.awt.Component.processMouseEvent(Unknown Source)
    	at javax.swing.JComponent.processMouseEvent(Unknown Source)
    	at java.awt.Component.processEvent(Unknown Source)
    	at java.awt.Container.processEvent(Unknown Source)
    	at java.awt.Component.dispatchEventImpl(Unknown Source)
    	at java.awt.Container.dispatchEventImpl(Unknown Source)
    	at java.awt.Component.dispatchEvent(Unknown Source)
    	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    	at java.awt.Container.dispatchEventImpl(Unknown Source)
    	at java.awt.Window.dispatchEventImpl(Unknown Source)
    	at java.awt.Component.dispatchEvent(Unknown Source)
    	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    	at java.awt.EventQueue.access$000(Unknown Source)
    	at java.awt.EventQueue$1.run(Unknown Source)
    	at java.awt.EventQueue$1.run(Unknown Source)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    	at java.awt.EventQueue$2.run(Unknown Source)
    	at java.awt.EventQueue$2.run(Unknown Source)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    	at java.awt.EventQueue.dispatchEvent(Unknown Source)
    	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    	at java.awt.EventDispatchThread.run(Unknown Source)
    Last edited by mathidioticz; 02-04-2012 at 04:04 AM.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: Null pointer exception

    The error message is telling you that the error originates not in the CancerPanel but in the CancerDetailsPanel, line 88:

    Java Code:
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at OOPJ.ui.CancerDetailsPanel.initialize(CancerDetailsPanel.java:88)  // **** here
    So you need to look at that file and on that line and then figure out why the variable there is null.

  3. #3
    mathidioticz is offline Member
    Join Date
    Jan 2012
    Posts
    48
    Rep Power
    0

    Default Re: Null pointer exception

    This one is the exacted code from the CancerDetailsPanel, line 88.

    Java Code:
     
    jTextFieldArticleTitle.setText(c2.getC_articleTitle());
    System.out.println(c2.getC_articleTitle());
    jTextAreaDetails.setText(c2.getC_articleDetails());
    jLabelImg.setIcon(new ImageIcon(c2.getC_image1()));
    jLabelImg.setText(c2.getC_image1());

    When i trying to set the text to this detailspanel, it is null perhaps that the value had not pass to it.
    but i had pass the value on the line 234 :

    Java Code:
     
    JPanel panel = new CancerDetailsPanel(myFrame,c2);
    passing the code using the variable c2. But it doesn't work..

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

  5. #5
    mathidioticz is offline Member
    Join Date
    Jan 2012
    Posts
    48
    Rep Power
    0

    Default Re: Null pointer exception

    Sorry, I had just started learning java for few months, so i will slow in catching what you said..

    Java Code:
     
    		jTextFieldArticleTitle.setText(c2.getC_articleTitle()); //here is line 88
    		System.out.println(c2.getC_articleTitle());
    		jTextAreaDetails.setText(c2.getC_articleDetails());
    		jLabelImg.setIcon(new ImageIcon(c2.getC_image1()));
    		jLabelImg.setText(c2.getC_image1());

  6. #6
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: Null pointer exception

    OK, so from this we can tell that either jTextFieldArticleTitle is null or c2 is null. So what happens if you place the following lines immediately before the offending line?

    Java Code:
    // *** add these guys:
    System.out.println("jTextFieldArticleTitle is null: " + (jTextFieldArticleTitle == null));
    System.out.println("c2 is null: " + (c2 == null));
    
    jTextFieldArticleTitle.setText(c2.getC_articleTitle());// the offending line

  7. #7
    mathidioticz is offline Member
    Join Date
    Jan 2012
    Posts
    48
    Rep Power
    0

    Default Re: Null pointer exception

    This is what i got from the console.

    Java Code:
     
    jTextFieldArticleTitle is null: false
    c2 is null: true
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    	at OOPJ.ui.CancerDetailsPanel.initialize(CancerDetailsPanel.java:90)
    	at OOPJ.ui.CancerDetailsPanel.<init>(CancerDetailsPanel.java:36)
    	at OOPJ.ui.CancerDetailsPanel.<init>(CancerDetailsPanel.java:40)
    	at OOPJ.ui.CancerPanel$4.mouseClicked(CancerPanel.java:242)
    	at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
    So is it meant that I did not pass in the value from CancerPanel to CancerDetailsPanel correctly as c2 is null?

  8. #8
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: Null pointer exception

    Quote Originally Posted by mathidioticz View Post
    This is what i got from the console.

    ...

    So is it meant that I did not pass in the value from CancerPanel to CancerDetailsPanel correctly as c2 is null?
    We don't know that yet since all I can tell you with confidence is that your c2 variable is null on the line that is throwing the NPE. Now you have to look back in the code to see why. Are you not initializing the field correctly? Are you re-declaring the variable inside of the current method so that you "shadow" the class field? I don't know. You'll want to look back into your code to see if you can find the answers. If so, please let us know what you found. If not, then show us the code and perhaps we can help further.

  9. #9
    mathidioticz is offline Member
    Join Date
    Jan 2012
    Posts
    48
    Rep Power
    0

    Default Re: Null pointer exception

    I could't find what's wrong with the code at CancerPanel, except for one part..


    This code is passed from CancerPanel to CancerDetailsPanel.

    Java Code:
    JPanel panel = new CancerDetailsPanel(myFrame,c2);  //line 234
    System.out.println("testing");
    I was thinking that this might be the problem code, because I put at S.O.P there, and the word "testing" didn't appear.. which mean that the program did not run there.
    Last edited by mathidioticz; 02-04-2012 at 06:08 AM.

  10. #10
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

  11. #11
    mathidioticz is offline Member
    Join Date
    Jan 2012
    Posts
    48
    Rep Power
    0

    Default Re: Null pointer exception

    This is the code for CancerDetailsPanel :

    Java Code:
     
    
    package OOPJ.ui;
    
    import javax.swing.JPanel;
    import java.awt.Dimension;
    import javax.swing.JLabel;
    import java.awt.Rectangle;
    import java.awt.Point;
    import javax.swing.ImageIcon;
    import java.awt.Color;
    import java.awt.event.KeyEvent;
    import javax.swing.JFrame;
    import javax.swing.SwingConstants;
    import javax.swing.JTextField;
    import Signup.entity.SignUp;
    import cancer.entity.CancerDetails;
    import javax.swing.JTextArea;
    import javax.swing.JButton;
    import javax.swing.JScrollBar;
    import java.awt.Font;
    
    
    public class CancerDetailsPanel extends JPanel {
    
    	private static final long serialVersionUID = 1L;
    	private JLabel jLabelTitle = null;
    	private JTextField jTextFieldArticleTitle = null;
    	private static JLabel jLabelImg = null;
    	private JTextArea jTextAreaDetails = null;
    	private CancerDetails c2; 
    	private MainFrame myFrame = null; 
    	private JButton jButtonEdit = null;
    
    	
    	public CancerDetailsPanel() {
    		super();
    		initialize();
    	}
    	
    	public CancerDetailsPanel(MainFrame f, CancerDetails cancer) { 
    		this(); 
    		initialize();
    		myFrame = f; 
    		this.c2= cancer;
    	
    	
    	}
    
    	private void initialize() {
    		jLabelImg = new JLabel();
    		jLabelImg.setBounds(new Rectangle(46, 191, 257, 248));
    		jLabelImg.setText("");
    		jLabelImg.setDisplayedMnemonic(KeyEvent.VK_UNDEFINED);
    		
    		jLabelTitle = new JLabel();
    		jLabelTitle.setText("");
    		jLabelTitle.setSize(new Dimension(431, 70));
    		jLabelTitle.setIcon(new ImageIcon(getClass().getResource("/images/ui/images/Cancer Title.jpg")));
    		jLabelTitle.setHorizontalAlignment(SwingConstants.CENTER);
    		jLabelTitle.setLocation(new Point(131, 27));
    		this.setLayout(null);
    		this.setBackground(Color.white);
    		this.setBounds(new Rectangle(0, 0, 700, 500));
    		this.add(jLabelTitle, null);
    		this.add(getJTextFieldArticleTitle(), null);
    		this.add(jLabelImg, null);
    		this.add(getJTextAreaDetails(), null);
    		this.add(getJButtonEdit(), null);
    
    		System.out.println("jTextFieldArticleTitle is null: " + (jTextFieldArticleTitle == null));
    		System.out.println("c2 is null: " + (c2 == null));
    		
    		jTextFieldArticleTitle.setText(c2.getC_articleTitle());
    		System.out.println(c2.getC_articleTitle());
    		jTextAreaDetails.setText(c2.getC_articleDetails());
    		jLabelImg.setIcon(new ImageIcon(c2.getC_image1()));
    		jLabelImg.setText(c2.getC_image1());	
    	}
    
    	/**
    	 * This method initializes jTextFieldArticleTitle	
    	 * 	
    	 * @return javax.swing.JTextField	
    	 */
    	private JTextField getJTextFieldArticleTitle() {
    		if (jTextFieldArticleTitle == null) {
    			jTextFieldArticleTitle = new JTextField();
    			jTextFieldArticleTitle.setBounds(new Rectangle(35, 119, 634, 46));
    			jTextFieldArticleTitle.setHorizontalAlignment(JTextField.CENTER);
    			jTextFieldArticleTitle.setBackground(Color.white);
    
    		}
    		return jTextFieldArticleTitle;
    	}
    
    	  private JButton getJButtonEdit() {
    		if (jButtonEdit == null) {
    			jButtonEdit = new JButton();	
    			jButtonEdit.setBounds(new Rectangle(581, 23, 98, 32));
    			jButtonEdit.setText("Edit");
    			
    			jButtonEdit.addActionListener(new java.awt.event.ActionListener() {
    				public void actionPerformed(java.awt.event.ActionEvent e) {
    					String a = jTextFieldArticleTitle.getText(); 
    					CancerDetails sickness=new CancerDetails();
    					sickness.setC_articleTitle(a);
    
    					JPanel panel = new CancerEditPanel(myFrame,a,sickness);
    					
    					myFrame.getContentPane().removeAll();
    					myFrame.getContentPane().add(panel);
    					myFrame.getContentPane().validate();
    					myFrame.getContentPane().repaint();    
    				}
    				});
    		}
    		return jButtonEdit;
    	} 
    
    	
    	private JTextArea getJTextAreaDetails() {
    		if (jTextAreaDetails == null) {
    			jTextAreaDetails = new JTextArea();
    			jTextAreaDetails.setBounds(new Rectangle(313, 177, 369, 261));
    		}
    		return jTextAreaDetails;
    	}
    
    }

  12. #12
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: Null pointer exception

    aha.... the code never lies!

    1. Look at the method where the NPE occurs.
    2. Look at where you call this method.
    3. Look at where you initialize c2 relative to calling this method.
    4. Got it figured out?

  13. #13
    mathidioticz is offline Member
    Join Date
    Jan 2012
    Posts
    48
    Rep Power
    0

    Default Re: Null pointer exception

    I've got it figured out! ThankYou so much! :D
    It because the initialize code in the CancerDetailsPanel. I placed the sequencing wrong. That's why my c2 is null.
    Last edited by mathidioticz; 02-04-2012 at 06:41 PM.

Similar Threads

  1. Null pointer exception
    By DBaskov in forum New To Java
    Replies: 14
    Last Post: 07-10-2011, 11:16 PM
  2. Null Pointer Exception
    By musasabi in forum New To Java
    Replies: 3
    Last Post: 05-12-2010, 03:52 AM
  3. Null pointer exception
    By talha06 in forum JDBC
    Replies: 5
    Last Post: 07-14-2009, 01:12 AM
  4. Help with null pointer exception
    By gammaman in forum New To Java
    Replies: 4
    Last Post: 07-14-2009, 12:23 AM
  5. getting a null pointer exception
    By Rjava in forum XML
    Replies: 4
    Last Post: 07-16-2008, 05:56 AM

Posting Permissions

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