Table example from tutorial ends with NPE in Jaspersoft Studio

Hi everybody,

at the moment I'm evaluating Jaspersoft Studio. So i came to the example for tables

But whenever I want to add a table from the palette and follow the instructions in the section 'The Tables', I get stuck : whenever I try to finish the wizard, I get a NullPointerException. It doesn't matter, if I use a blank report or the cherry table template, if I use a new or existing data source (or even an empty data source) : i always get a NPE and there is no source code produced in the jrxml file.

I tried already to re-install, install on a different computer, install in an existing eclipse 4.4 as plug-in, different JREs (1.7 and 1.8), start with -clean option etc. No difference...

I guess, that I made something wrong in some settings, because i couldn't find anything about this kind of error here and it comes from Jface (see stack trace), but merely I got stuck here.

Btw, when I use the cherry template, the initial table that is already contained in the template is created and runs perfectly. But adding another one leads to the NPE again.


I appreciate any help and tips very much, many thanks in advance !!!


Full stack trace from log file:

!ENTRY org.eclipse.jface 4 2 2015-04-22 11:38:14.247
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
    at org.eclipse.gef.commands.CommandStack.execute(
    at org.eclipse.gef.dnd.AbstractTransferDropTargetListener.drop(
    at org.eclipse.jface.util.DelegatingDropAdapter$
    at org.eclipse.ui.internal.JFaceUtil$
    at org.eclipse.jface.util.DelegatingDropAdapter.drop(
    at org.eclipse.swt.dnd.DNDListener.handleEvent(
    at org.eclipse.swt.widgets.EventTable.sendEvent(
    at org.eclipse.swt.widgets.Widget.sendEvent(
    at org.eclipse.swt.widgets.Widget.sendEvent(
    at org.eclipse.swt.widgets.Widget.sendEvent(
    at org.eclipse.swt.widgets.Widget.notifyListeners(
    at org.eclipse.swt.dnd.DropTarget.Drop(
    at org.eclipse.swt.dnd.DropTarget.Drop_64(
    at org.eclipse.swt.dnd.DropTarget$3.method6(
    at org.eclipse.swt.internal.ole.win32.COMObject.callback6(
    at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
    at org.eclipse.swt.dnd.DragSource.drag(
    at org.eclipse.swt.dnd.DragSource.access$0(
    at org.eclipse.swt.dnd.DragSource$1.handleEvent(
    at org.eclipse.swt.widgets.EventTable.sendEvent(
    at org.eclipse.swt.widgets.Widget.sendEvent(
    at org.eclipse.swt.widgets.Display.runDeferredEvents(
    at org.eclipse.swt.widgets.Display.readAndDispatch(
    at org.eclipse.ui.internal.Workbench.runEventLoop(
    at org.eclipse.ui.internal.Workbench.runUI(
    at org.eclipse.ui.internal.Workbench.access$4(
    at org.eclipse.ui.internal.Workbench$
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(
    at org.eclipse.equinox.launcher.Main.basicRun(

J.Pook's picture
Joined: Apr 16 2015 - 1:38am
Last seen: 7 years 1 month ago

Can you please detail on which version of JSS plugin you installed? Last version 6.0.4?

mrabbi - 7 years 5 months ago

I just tried to run the table samples using both the development environment and the JSS 6.0.4 installed into a Luna 4.4.2.

No exception was raised following the steps proposed in the tutorial.


mrabbi - 7 years 5 months ago

1 Answer:

I will try to verify the steps of the tutorial in order to reproduce your error.
Next time when you face exception or errors please open a bug in the tracker so we can better handle the issue.


mrabbi's picture
Joined: Oct 31 2011 - 9:20am
Last seen: 2 months 4 days ago