Java file uri with xml file null pointer exception
I am using windows OS,
and want to parse xml file, but get null pointer error....

        public void print( )
        throws SAXException, IOException {
        		
        		 private DocumentBuilder builder;
        
        		Document document = builder.parse( "D:\\my\\xml.xml");//null pointer exception
    
    }


Java file uri with xml file null pointer exception
===

I am using windows OS,
and want to parse xml file, but get null pointer error....

        public void print( )
        throws SAXException, IOException {
        		
        		 private DocumentBuilder builder;
        
        		Document document = builder.parse( "D:\\my\\xml.xml");//null pointer exception
    
    }

