Report Name is Missing When creating Excel data adapter

3

Hi, has someone any idea of the following:

When creating a datasource from excel it says Report Design not Valid: 1. Report name is missing.

And I'm not able to use Excel.

Thanks

raul.castro's picture
Joined: Aug 22 2017 - 11:08am
Last seen: 1 year 2 months ago

5 Answers:

-2

Hi,
the error is quite self-explaining. It seems you have an empty "Report name" for your JRXML. Is it possible that for some reasons you deleted this property?
Try to edit the report name using the properties view.
This should fix the error.

Regards,
Massimo.

mrabbi's picture
6230
Joined: Oct 31 2011 - 9:20am
Last seen: 1 week 3 days ago
0

Thanks mrabbi,

The report does have a name under "Report Name" property.

It happens immediately after selecting the Excel File.

Here is the first few rows of the exception:

net.sf.jasperreports.engine.design.JRValidationException: Report design not valid : 
     1. Report name is missing.
    at net.sf.jasperreports.engine.design.JRAbstractCompiler.verifyDesign(JRAbstractCompiler.java:280)
    at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:152)
    at net.sf.jasperreports.engine.JasperCompileManager.compile(JasperCompileManager.java:357)
    at com.jaspersoft.studio.utils.ExpressionUtil.initBuiltInParameters(ExpressionUtil.java:372)
    at com.jaspersoft.studio.utils.parameter.ParameterUtil.setParameters(ParameterUtil.java:27)
    at com.jaspersoft.studio.data.excel.ExcelFieldsProvider.getFields(ExcelFieldsProvider.java:34)
    at com.jaspersoft.studio.data.excel.ExcelDataAdapterDescriptor.getFields(ExcelDataAdapterDescriptor.java:62)
    at com.jaspersoft.studio.data.excel.ExcelDataAdapterComposite.getExcelColumns(ExcelDataAdapterComposite.java:645)
    at com.jaspersoft.studio.data.excel.ExcelDataAdapterComposite.fireFileChanged(ExcelDataAdapterComposite.java:603)
    at com.jaspersoft.studio.data.AFileDataAdapterComposite$2.widgetSelected(AFileDataAdapterComposite.java:118)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
    at org.eclipse.jface.window.Window.open(Window.java:794)

 

 

raul.castro's picture
Joined: Aug 22 2017 - 11:08am
Last seen: 1 year 2 months ago
1

Same problem here. I'm unable to import xls or xlsx file, even with a new project.

Kitof's picture
12
Joined: Nov 20 2017 - 12:07pm
Last seen: 1 year 4 months ago
1

Hi there,  I have the same problem.

philipp.walter's picture
Joined: Dec 5 2017 - 7:35pm
Last seen: 1 year 1 month ago
2

I entered this as a bug.  I see this on both the Mac and Ubuntu.

[#10176] - Report Name is Missing When Creating Excel Data Adapter

walkerca's picture
Joined: Jul 15 2010 - 4:51pm
Last seen: 1 year 4 months ago
Feedback