You are not logged in.
Hello, I trying to setup a simple csv list as parameter, but its giving me a strange error.
As datasource i've used CSV List with Text Connector, and put a simple test for months:
month
01
02
...
12
But every time i try to use as parameter, not only this specific list, i performed plenty of tests, its giving me this error:
1) [Guice/NullInjectedIntoNonNullable]: null returned by binding at ManagedQueryFactory.create()
but the 5th parameter of ManagedQuery.<init>(ManagedQuery.java:63) is not @Nullable
at ManagedQueryFactory.create(ManagedQueryFactory.java:1)
at ManagedQuery.<init>(ManagedQuery.java:63)
\_ for 5th parameter
while locating ManagedQuery annotated with @UniqueAnnotations$Internal(value=1)
Learn more:
https://github.com/google/guice/wiki/NU … N_NULLABLE
1 error
======================
Full classname legend:
======================
ManagedQuery: "net.datenwerke.rs.base.service.dbhelper.querybuilder.ManagedQuery"
ManagedQueryFactory: "net.datenwerke.rs.base.service.dbhelper.ManagedQueryFactory"
UniqueAnnotations$Internal: "com.google.inject.internal.UniqueAnnotations$Internal"
========================
End of classname legend:
========================
at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:251)
at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1104)
at com.google.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:906)
at com.sun.proxy.$Proxy153.create(Unknown Source)
at net.datenwerke.rs.base.service.datasources.table.impl.TableDBDataSource.<init>(TableDBDataSource.java:101)
at net.datenwerke.rs.base.service.datasources.transformers.csv.Csv2TableTransformer.transformResult(Csv2TableTransformer.java:63)
at net.datenwerke.rs.base.service.datasources.transformers.csv.Csv2TableTransformer.transformResult(Csv2TableTransformer.java:1)
at net.datenwerke.rs.base.service.datasources.transformers.csv.Csv2XTransformer.transform(Csv2XTransformer.java:99)
at net.datenwerke.rs.base.service.datasources.transformers.DatasourceTransformationServiceImpl.transform(DatasourceTransformationServiceImpl.java:28)
at net.datenwerke.rs.base.service.reportengines.table.SimpleDataSupplier.getData(SimpleDataSupplier.java:165)
at net.datenwerke.rs.base.service.parameters.datasource.DatasourceParameterServiceImpl.getParameterData(DatasourceParameterServiceImpl.java:158)
... 49 common frames omitted
I using ReportServer 4.6.2 Community, tried to downgrade to 4.6.1 but still gving me the same error.
For now the only way i found to circumvent this is creating a static select, but feels dirty.
Appreciate any help. Thanks.
Offline
Hi fotorious,
I cannot reproduce the problem. Can you pls post some screenshots of your exact datasource configuration? You can use http://imgbb.com for this.
Regards,
Eduardo
Offline
Defnitely can, following the image links for datasource config, parameter config and the error:
https://ibb.co/T8FYrLB
https://ibb.co/LnV7JPr
https://ibb.co/BctxqdT
The error happens right after selecting the datasource and after clicking on "Apply".
Don't know if it has any influence, but the reportserver is running from the docker, with a simple self-made Dockerfile I did.
Offline
Hi fotorious,
thanks for the screenshots. We raised RS-8386 for looking into this.
Regards,
Eduardo
Offline