You are not logged in.

Unanswered posts



Important! This site has been replaced. All content here is read-only. Please visit our brand-new community at https://community.talend.com/. We look forward to hearing from you there!



#1 2013-08-28 20:47:22

mlefebvre
Member
8 posts

mlefebvre said:

[resolved] Problem Browsing Data in Web App

I have created a view as shown in the attached image. I want a view that I can just see ALL the records.  I have deployed it to my MDM server.  When I go to the web interface and try to see the records that were pushed up to the MDM server, I get an error and the log output looks as follows.

Im not sure WHAT fieldname is being referenced that is null or empty and how do I set it?


2013-08-28 09:39:46,405 ERROR [com.amalto.core.delegator.IItemCtrlDelegator] Unable to single search: : java.lang.IllegalArgumentException: Field name can not be null nor empty.
java.lang.IllegalArgumentException: Field name can not be null nor empty.
    at org.talend.mdm.commmon.metadata.ComplexTypeMetadataImpl.getField(ComplexTypeMetadataImpl.java:129)
    at com.amalto.core.query.user.UserQueryHelper.getField(UserQueryHelper.java:224)
    at com.amalto.core.delegator.IItemCtrlDelegator.viewSearch(IItemCtrlDelegator.java:221)
    at com.amalto.core.ejb.ItemCtrl2Bean.viewSearch(ItemCtrl2Bean.java:417)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    at org.jboss.ejb.Container.invoke(Container.java:960)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
    at com.sun.proxy.$Proxy217.viewSearch(Unknown Source)
    at com.amalto.webapp.core.util.IXtentisRMIPort.viewSearch(IXtentisRMIPort.java:532)
    at org.talend.mdm.webapp.browserecords.server.actions.BrowseRecordsAction.getItemBeans(BrowseRecordsAction.java:931)
    at org.talend.mdm.webapp.browserecords.server.actions.BrowseRecordsAction.queryItemBeans(BrowseRecordsAction.java:865)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
    at org.talend.mdm.webapp.general.gwt.ProxyGWTServiceImpl.doProcessCall(ProxyGWTServiceImpl.java:103)
    at org.talend.mdm.webapp.base.server.AbstractService.processCall(AbstractService.java:52)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
    at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
    at org.apache.catalina.authenticator.MDMSingleSignOn.invoke(MDMSingleSignOn.java:73)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
    at java.lang.Thread.run(Thread.java:724)
2013-08-28 09:39:46,424 ERROR [org.talend.mdm.webapp.browserecords.server.actions.BrowseRecordsAction] ; nested exception is:
    com.amalto.webapp.core.util.WebCoreException: java.lang.IllegalArgumentException: Field name can not be null nor empty.
java.rmi.RemoteException: ; nested exception is:
    com.amalto.webapp.core.util.WebCoreException: java.lang.IllegalArgumentException: Field name can not be null nor empty.
    at com.amalto.webapp.core.util.IXtentisRMIPort.handleException(IXtentisRMIPort.java:2607)
    at com.amalto.webapp.core.util.IXtentisRMIPort.handleException(IXtentisRMIPort.java:2602)
    at com.amalto.webapp.core.util.IXtentisRMIPort.viewSearch(IXtentisRMIPort.java:540)
    at org.talend.mdm.webapp.browserecords.server.actions.BrowseRecordsAction.getItemBeans(BrowseRecordsAction.java:931)
    at org.talend.mdm.webapp.browserecords.server.actions.BrowseRecordsAction.queryItemBeans(BrowseRecordsAction.java:865)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
    at org.talend.mdm.webapp.general.gwt.ProxyGWTServiceImpl.doProcessCall(ProxyGWTServiceImpl.java:103)
    at org.talend.mdm.webapp.base.server.AbstractService.processCall(AbstractService.java:52)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
    at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
    at org.apache.catalina.authenticator.MDMSingleSignOn.invoke(MDMSingleSignOn.java:73)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
    at java.lang.Thread.run(Thread.java:724)
Caused by: com.amalto.webapp.core.util.WebCoreException: java.lang.IllegalArgumentException: Field name can not be null nor empty.
    at com.amalto.webapp.core.util.IXtentisRMIPort.handleException(IXtentisRMIPort.java:2604)
    ... 36 more
Caused by: java.lang.IllegalArgumentException: Field name can not be null nor empty.
    at org.talend.mdm.commmon.metadata.ComplexTypeMetadataImpl.getField(ComplexTypeMetadataImpl.java:129)
    at com.amalto.core.query.user.UserQueryHelper.getField(UserQueryHelper.java:224)
    at com.amalto.core.delegator.IItemCtrlDelegator.viewSearch(IItemCtrlDelegator.java:221)
    at com.amalto.core.ejb.ItemCtrl2Bean.viewSearch(ItemCtrl2Bean.java:417)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    at org.jboss.ejb.Container.invoke(Container.java:960)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
    at com.sun.proxy.$Proxy217.viewSearch(Unknown Source)
    at com.amalto.webapp.core.util.IXtentisRMIPort.viewSearch(IXtentisRMIPort.java:532)
    ... 34 more
mini_116355_Talend3.JPGmini_116355_Talend4.JPG

Offline

#2 2013-08-29 01:15:13

mlefebvre
Member
8 posts

mlefebvre said:

Re: [resolved] Problem Browsing Data in Web App

Problem resolved.   I thought I could add a whole schema by selecting the root node, but in reality, you need to select each and every field you want to include the browsing.  Once I changed this, it worked.  Image below of what my view looks like now.
mini_116360_Talend5.JPG

Offline

#3 2013-08-29 17:28:01

fhuaulme
Talend Team


fhuaulme said:

Re: [resolved] Problem Browsing Data in Web App

Indeed, the XPath in the view were not correct. However, the exception message could be less scary and/or cryptic, thanks for raising this problem.

Offline

#4 2013-10-03 13:40:19

AlanCooper
Member
1 post

AlanCooper said:

Re: [resolved] Problem Browsing Data in Web App

Please tell me, and if I want to make a path for your project custom application development. It will depend on the root node, or on areas too?

Last edited by AlanCooper (2013-10-03 13:43:14)

Offline

#5 2016-09-16 07:49:21

jamessmatbite
Member
2 posts

jamessmatbite said:

Re: [resolved] Problem Browsing Data in Web App

AlanCooper,

Please tell me, and if I want to make a path for your project custom application development. It will depend on the root node, or on areas too?

I guess it will depend only on root node.

Offline

#6 2016-09-16 07:55:59

jamessmatbite
Member
2 posts

jamessmatbite said:

Re: [resolved] Problem Browsing Data in Web App

However the most interesting thing is that, not so long ago I came across the same case for one of my project at Adoriasoft - http://adoriasoft.com/ and found the solution in the way you did.

Last edited by jamessmatbite (2016-09-16 07:57:06)

Offline

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy