Jump to content
JasperReports Library 7.0 is now available ×

Nullpointer when connecting to database


ktrinad

Recommended Posts

By: Alireza Fattahi - afattahi

Nullpointer when connecting to database

2003-10-26 05:27

Hi,

 

I got the last version of iReport (windows version) I got the nullpointer execption whenever I try to connect the database and hit the Test button on

"New/Modify Connection ..." Window.

I am using jdk 1.4.1. Is it the case.

 

I tried lots of databases but none of them worked :(

 

Please help.

thanks

Alireza

 

Stack trace********************************

ava.lang.NullPointerException

at com/businesslogic/ireport/ui/DBConnectionForm.buttonTest_click

at com/ms/wfc/core/EventHandler.invoke

at com/ms/wfc/core/Component.fireEvent

at com/ms/wfc/ui/Control.onClick

at com/ms/wfc/ui/Button.onClick

at com/ms/wfc/ui/Button.wndProc

at com/ms/wfc/ui/Control$ControlWindow.wndProc

at com/ms/wfc/app/Window.callback

at com/ms/wfc/win32/Windows.SendMessage

at com/ms/wfc/ui/Control.sendMessage

at com/ms/wfc/ui/Control.reflectMessage

at com/ms/wfc/ui/Control.wmCommand

at com/ms/wfc/ui/Control.wndProc

at com/ms/wfc/ui/Form.wndProc

at com/ms/wfc/ui/Control$ControlWindow.wndProc

at com/ms/wfc/app/Window.callback

at com/ms/wfc/win32/Windows.CallWindowProc

at com/ms/wfc/app/Window.defWndProc

at com/ms/wfc/ui/Control$ControlWindow.defWndProc

at com/ms/wfc/ui/Control.defWndProc

at com/ms/wfc/ui/Control.wmMouseUp

at com/ms/wfc/ui/Control.wndProc

at com/ms/wfc/ui/Button.wndProc

at com/ms/wfc/ui/Control$ControlWindow.wndProc

at com/ms/wfc/app/Window.callback

at com/ms/wfc/win32/Windows.DispatchMessage

at com/ms/wfc/app/Application$ThreadContext.runMessageLoop

at com/ms/wfc/app/Application.runDialog

at com/ms/wfc/ui/Form.showDialog

at com/ms/wfc/ui/Form.showDialog

at com/businesslogic/ireport/ui/DBConnectionsForm.buttonModF_click

at com/ms/wfc/core/EventHandler.invoke

at com/ms/wfc/core/Component.fireEvent

at com/ms/wfc/ui/Control.onClick

at com/ms/wfc/ui/Button.onClick

at com/ms/wfc/ui/Button.wndProc

at com/ms/wfc/ui/Control$ControlWindow.wndProc

at com/ms/wfc/app/Window.callback

at com/ms/wfc/win32/Windows.SendMessage

at com/ms/wfc/ui/Control.sendMessage

at com/ms/wfc/ui/Control.reflectMessage

at com/ms/wfc/ui/Control.wmCommand

at com/ms/wfc/ui/Control.wndProc

at com/ms/wfc/ui/Control$ControlWindow.wndProc

at com/ms/wfc/app/Window.callback

at com/ms/wfc/win32/Windows.CallWindowProc

at com/ms/wfc/app/Window.defWndProc

at com/ms/wfc/ui/Control$ControlWindow.defWndProc

at com/ms/wfc/ui/Control.defWndProc

at com/ms/wfc/ui/Control.wmMouseUp

at com/ms/wfc/ui/Control.wndProc

at com/ms/wfc/ui/Button.wndProc

at com/ms/wfc/ui/Control$ControlWindow.wndProc

at com/ms/wfc/app/Window.callback

at com/ms/wfc/win32/Windows.DispatchMessage

at com/ms/wfc/app/Application$ThreadContext.runMessageLoop

at com/ms/wfc/app/Application.run

at com/businesslogic/ireport/MainForm.main

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...