One Star DCH
One Star

Installing MDM 5.3.1 on Win7: unable to create a record in the Web UI

Hello,
I just installed TOS 5.3.1 on Win 7 32 bit (from TOS_MDM-All-r104014-V5.3.1.zip) and am trying to follow the tutorial at http://www.talendforge.org/tutorials/tutorial.php?language=english&idTuto=60 .
With a few adjustments, presumably due to a difference in TOS versions, I was able to follow the tutorial until step 3 included (the view is defined).
In step 4 however, although I can open the Web UI and see the Product Entity there, clicking on "Create" returns an error message:
Error on line 1 of document : The value of the attribute "prefix="xmlns",localpart="NS1",rawname="xmlns:NS1"" is invalid. Prefixed namespace bindings may not be empty. Nested exception: The value of the attribute "prefix="xmlns",localpart="NS1",rawname="xmlns:NS1"" is invalid. Prefixed namespace bindings may not be empty.
The server console also shows an error:
13:47:28,599 ERROR Error on line 1 of document : The value of the attribute "prefix="xmlns",local
part="NS1",rawname="xmlns:NS1"" is invalid. Prefixed namespace bindings may not be empty. Nested exception: The value of
the attribute "prefix="xmlns",localpart="NS1",rawname="xmlns:NS1"" is invalid. Prefixed namespace bindings may not be e
mpty.
org.dom4j.DocumentException: Error on line 1 of document : The value of the attribute "prefix="xmlns",localpart="NS1",r
awname="xmlns:NS1"" is invalid. Prefixed namespace bindings may not be empty. Nested exception: The value of the attribu
te "prefix="xmlns",localpart="NS1",rawname="xmlns:NS1"" is invalid. Prefixed namespace bindings may not be empty.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.DocumentHelper.parseText(DocumentHelper.java:278)
at org.talend.mdm.webapp.base.server.util.XmlUtil.parseText(XmlUtil.java:111)
at org.talend.mdm.webapp.browserecords.server.actions.BrowseRecordsAction.executeVisibleRule(BrowseRecordsAction
.java:2453)
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.Http11AprProcessor.process(Http11AprProcessor.java:856)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:566)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
at java.lang.Thread.run(Thread.java:724)
Nested exception:
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 22; The value of the attribute "prefix="xmlns",localpart="NS
1",rawname="xmlns:NS1"" is invalid. Prefixed namespace bindings may not be empty.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanAttribute(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.dom4j.DocumentHelper.parseText(DocumentHelper.java:278)
at org.talend.mdm.webapp.base.server.util.XmlUtil.parseText(XmlUtil.java:111)
at org.talend.mdm.webapp.browserecords.server.actions.BrowseRecordsAction.executeVisibleRule(BrowseRecordsAction
.java:2453)
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.Http11AprProcessor.process(Http11AprProcessor.java:856)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:566)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
at java.lang.Thread.run(Thread.java:724)
What should I do to avoid this error?
Thx - Didier

6 REPLIES
One Star DCH
One Star

Re: Installing MDM 5.3.1 on Win7: unable to create a record in the Web UI

Well, it seems that this issue is present in Internet Explorer 9, but with Firefox it works just fine.
Hence marking the issue as resolved.

One Star DCH
One Star

Re:Installing MDM 5.3.1 on Win7: unable to create a record in the Web UI

Follow-up with a general question on MDM 5.3.1 Web UI compatibility per browser is in http://www.talendforge.org/forum/viewtopic.php?id=31147 .

Employee

Re:Installing MDM 5.3.1 on Win7: unable to create a record in the Web UI

This is a rather unexpected problem: can you create a bug report on jira.talendforge.org? (please also attach your data model).

One Star DCH
One Star

Re:Installing MDM 5.3.1 on Win7: unable to create a record in the Web UI

Jira ticket created, with data model attached: https://jira.talendforge.org/browse/TMDM-6191

Employee

Re:Installing MDM 5.3.1 on Win7: unable to create a record in the Web UI

I am afraid I will have to reject your bug. Your feedback was so unexpected that we have put Talend Open Studio r104014-V5.3.1 back to the test with Windows 7, and we cannot reproduce your problem on IE 9. They tried Windows 64 bits and 32 bits too.
I am assuming you deleted your cache and cookies prior to reporting the bug though. GWT does a pretty good job at caching, but when you switch from one MDM version to another the client cache usually becomes inconsistent with the server. I believe the install & upgrade guide actually states that you must clear your cache & cookies.

One Star DCH
One Star

Re:Installing MDM 5.3.1 on Win7: unable to create a record in the Web UI

Hello,
I understand the difficulty to reproduce this kind of issue.
As now noted in the jira ticket, there was no previous version of the tool on my computer when I encountered the bug. And clearing the cache as advised didn't help either. So the cause of the issue remains a mystery.
If this really becomes an issue in the way that we may want to use Talend MDM here, I will get back to pre-sales instead.
Didier