Skip to main content



      Home
Home » Archived » BIRT » cannot open report editor
cannot open report editor [message #163256] Sun, 21 May 2006 20:39
Eclipse UserFriend
Originally posted by: faireni.walla.com

i'm trying on the tutorial at
http://tools.osmosis.gr/blog/archives/2005/03/birt_rcp_viewe r_1.html.

i have a openReportEditor method as shown below:
private void openReportEditor() {

serverUrlText.setText("http://127.0.0.1:8181/birt/");
String uri = serverUrlText.getText();

ReportEditorInput input = new ReportEditorInput();
input.setUri(uri);

OpenNewBrowserAction action = new OpenNewBrowserAction(input);
action.run();}

when i have created a button and i would like to call the
openReportEditor. i did it in this way,

button2.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
openReportEditor();
}

but the exception of ' java.lang.NullPointerException' is caught.
how to fix it?? thanks.
Previous Topic:Dataset parameter GregorianCalendar getYear()
Next Topic:Template question
Goto Forum:
  


Current Time: Fri May 02 02:50:15 EDT 2025

Powered by FUDForum. Page generated in 0.03201 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top