<p>hi</p>
<p>I have created my own report item extensions, following the examples described in the book Integrating and Extending BIRT.</p>
<p> </p>
<p>But I also want to add hyperlink ability to my report item. If you click on it, you are taken to another more detailed report.</p>
<p> </p>
<p>Initially, the menu option was not available. I added the following line and it now appears in the designer tool.</p>
<p> </p>
<div>generalPage = AttributesUtil.buildGeneralPage( tabFolder,</div>
<div>new String[]{</div>
<div>null,</div>
<div>AttributesUtil.BORDER,</div>
<div>AttributesUtil.MARGIN,</div>
<div>AttributesUtil.SECTION,</div>
<div>AttributesUtil.VISIBILITY,</div>
<div><strong>AttributesUtil.HYPERLINK,</strong></div>
<div>AttributesUtil.TOC,</div>
<div>AttributesUtil.BOOKMARK,</div>
<div>AttributesUtil.USERPROPERTIES,</div>
<div>AttributesUtil.NAMEDEXPRESSIONS,</div>
<div>AttributesUtil.ADVANCEPROPERTY</div>
<div>},</div>
<div> </div>
<div>When I test it, the hyperlink option and page appear....</div>
<div><img src="
http://www.wizadora.com/image001.png" alt="image001.png"></div>
<div> </div>
<div>But thats when the success stopped

</div>
<div> </div>
<div>If I click Edit, I get an exception:</div>
<div> </div>
<div>
<pre class="_prettyXprint">
java.lang.NullPointerException
at org.eclipse.birt.report.designer.ui.dialogs.HyperlinkBuilder.initDialog(HyperlinkBuilder.java:1681)
at org.eclipse.birt.report.designer.ui.dialogs.BaseDialog.open(BaseDialog.java:109)
at org.eclipse.birt.report.designer.internal.ui.views.attributes.provider.HyperLinkDescriptorProvider.hyperLinkSelected(HyperLinkDescriptorProvider.java:108)
at org.eclipse.birt.report.designer.internal.ui.views.attributes.page.HyperLinkPage$1.widgetSelected(HyperLinkPage.java:44)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
</pre>
<p>Is there more I need to add into my report item extension? Could anyone give me some pointers which way to go to move forward...I'm stuck

</p>
<p> </p>
<p>many thanks</p>
<p>cel</p>
<p> </p>
</div>