• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

How to solve NullpointerException

Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi, i hardly trying this using fileInputStream retrieve a xls file from particular directory like /var/www/html/sara/book1.xls i getting nullpointer exception


conn = DriverManager.getConnection("jdbc dbc river={Microsoft Excel Driver ( *.xls)};DBQ=" + dis);//file name i given has dis this only giving nullpointer exception please see my below code you will get full flow

please see below code:

I am very thank full if you solved that problem please help me

JCE: Please use code tags in the future
[ August 07, 2008: Message edited by: Joe Ess ]
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic