This discussion is archived
7 Replies Latest reply: Jun 17, 2011 12:43 AM by Daniel Redfern RSS

OIA Script error

781655 Newbie
Currently Being Moderated
Hi,
I'm trying the import functionality provided in OIA 11g. while trying to click the link(rbacx console -> Adminstration -> import/Export)
Import Users
Import Resource Metadata
Import Policies
Import Roles
Import Accounts.
I encounter a script error saying

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.2; Tablet PC 2.0; MS-RTC LM 8)
Timestamp: Wed, 15 Jun 2011 05:30:30 UTC


Message: 's4' is undefined
Line: 979
Char: 3
Code: 0
URI: http://localhost:8080/rbacx/secure/dwr/engine.js

I tried the import option from different browser like IE 8 and firefox 3.3.x version. Both the browser is showing the same script error message.

Has anyone faced the same issue. Help me understand this issue.
thanks in advance.
  • 1. Re: OIA Script error
    Daniel Redfern Explorer
    Currently Being Moderated
    You need, if you haven't already, to set up a provisioning server (in the configuration -> provisioning server) to understand where to retrieve the files from

    Regards,
    Daniel
  • 2. Re: OIA Script error
    781655 Newbie
    Currently Being Moderated
    Provisioning server has been set properly. Still we are facing the script error.
  • 3. Re: OIA Script error
    Daniel Redfern Explorer
    Currently Being Moderated
    What does it say in the rbacx.log?

    Regards,
    Daniel
  • 4. Re: OIA Script error
    781655 Newbie
    Currently Being Moderated
    There is no specific error msg in the rbacx.log related to script error.
  • 5. Re: OIA Script error
    Daniel Redfern Explorer
    Currently Being Moderated
    Then you need to increase the logging within the log4j.properties

    Once done post the error

    Regards,
    Daniel
  • 6. Re: OIA Script error
    781655 Newbie
    Currently Being Moderated
    Here is the script error logged
    *11:01:04,599 ERROR [DefaultConverterManager] No converter found for 'java.lang.Class'*
    *11:01:04,599 WARN [CollectionConverter] Conversion error for java.util.ArrayList.*
    org.directwebremoting.extend.MarshallException: Error marshalling com.vaau.rbacx.core.metadata.domain.Namespace: null. See the logs for more details.
    at org.directwebremoting.convert.BasicObjectConverter.convertOutbound(BasicObjectConverter.java:200)
    at org.directwebremoting.dwrp.DefaultConverterManager.convertOutbound(DefaultConverterManager.java:192)
    at org.directwebremoting.convert.CollectionConverter.convertOutbound(CollectionConverter.java:206)
    at org.directwebremoting.dwrp.DefaultConverterManager.convertOutbound(DefaultConverterManager.java:192)
    at org.directwebremoting.extend.ScriptBufferUtil.createOutput(ScriptBufferUtil.java:56)
    at org.directwebremoting.dwrp.BaseCallMarshaller$CallScriptConduit.addScript(BaseCallMarshaller.java:512)
    at org.directwebremoting.extend.EnginePrivate.remoteHandleCallback(EnginePrivate.java:56)
    at org.directwebremoting.dwrp.BaseCallMarshaller.marshallOutbound(BaseCallMarshaller.java:330)
    at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:53)
    at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
    at org.directwebremoting.spring.DwrController.handleRequestInternal(DwrController.java:234)
    at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
    at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
    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.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378)
    at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    at org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:116)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    at org.springframework.security.concurrent.ConcurrentSessionFilter.doFilterHttp(ConcurrentSessionFilter.java:99)
    at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
    at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390)
    at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175)
    at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    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:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
    at org.directwebremoting.convert.MapConverter.convertOutbound(MapConverter.java:191)
    at org.directwebremoting.dwrp.DefaultConverterManager.convertOutbound(DefaultConverterManager.java:192)
    at org.directwebremoting.convert.BasicObjectConverter.convertOutbound(BasicObjectConverter.java:189)
    *... 57 more*
    *11:01:04,599 ERROR [DefaultConverterManager] No converter found for 'java.lang.Class'*
    *11:01:04,599 ERROR [DefaultConverterManager] No converter found for 'java.lang.Class'*
    *11:01:04,599 ERROR [DefaultConverterManager] No converter found for 'java.lang.Class'*
    *11:01:04,609 ERROR [DefaultConverterManager] No converter found for 'java.lang.Class'*
    *11:01:04,609 ERROR [DefaultConverterManager] No converter found for 'java.lang.Class'*
    *11:01:04,609 ERROR [DefaultConverterManager] No converter found for 'java.lang.Class'*
    *11:01:04,609 DEBUG [DebuggingPrintWriter] out(27): var s2={};var s12=[];var s15={};var s30=[];var s31={};var s16={};var s32=[];var s33={};var s17={};var s34=[];var s35={};var s18={};var s36=[];var s37={};var s19={};var s38=[];var s39={};var s20={};var s40=[];var s41={};var s21={};var s42=[];var s43={};var s22={};var s44=[];var s45={};var s23={};var s46=[];var s47={};var s24={};var s48=[];var s49={};var s25={};var s50=[];var s51={};var s26={};var s52=[];var s53={};var s27={};var s54=[];var s55={};var s28={};var s56=[];var s57={};var s29={};var s58=[];var s59={};var s13={};var s14={};var s5={};var s60=[];var s3={};var s63=[];var s9={};var s65=[];var s66={};var s7={};var s67=[];var s68={};var s8={};var s69=[];var s70={};var s10={};var s71=[];var s72={};var s6={};var s73=[];var s74={};var s11={};var s75=[];var s76={};var s64={};var s61={};var s62={};s2.attributeCategories=s12;s2.extendedProperties=null;s2.id=1011;s2.multivalueDelimiter=",";s2.namespaceAttributes=s13;s2.namespaceComments="";s2.namespaceName="MySQL1";s2.namespaceShortName="mysql";s2.originalState=s14;s2.srmCreateDate=null;s2.srmUpdateDate=null;s2.typeLDAP=false;*
    s12[0]=s15;s12[1]=s16;s12[2]=s17;s12[3]=s18;s12[4]=s19;s12[5]=s20;s12[6]=s21;s12[7]=s22;s12[8]=s23;s12[9]=s24;s12[10]=s25;s12[11]=s26;s12[12]=s27;s12[13]=s28;s12[14]=s29;
    s15.attributeCategoryGroup=false;s15.attributeCategoryName="name";s15.attributeCategoryOrder=1;s15.attributes=s30;s15.extendedProperties=null;s15.id=10001;s15['namespace']=s2;s15.originalState=s31;s15.srmCreateDate=null;s15.srmUpdateDate=null;

    s16.attributeCategoryGroup=false;s16.attributeCategoryName="comments";s16.attributeCategoryOrder=2;s16.attributes=s32;s16.extendedProperties=null;s16.id=10002;s16['namespace']=s2;s16.originalState=s33;s16.srmCreateDate=null;s16.srmUpdateDate=null;

    s17.attributeCategoryGroup=false;s17.attributeCategoryName="endpoint";s17.attributeCategoryOrder=3;s17.attributes=s34;s17.extendedProperties=null;s17.id=10003;s17['namespace']=s2;s17.originalState=s35;s17.srmCreateDate=null;s17.srmUpdateDate=null;

    s18.attributeCategoryGroup=false;s18.attributeCategoryName="domain";s18.attributeCategoryOrder=4;s18.attributes=s36;s18.extendedProperties=null;s18.id=10004;s18['namespace']=s2;s18.originalState=s37;s18.srmCreateDate=null;s18.srmUpdateDate=null;

    s19.attributeCategoryGroup=false;s19.attributeCategoryName="suspended";s19.attributeCategoryOrder=5;s19.attributes=s38;s19.extendedProperties=null;s19.id=10005;s19['namespace']=s2;s19.originalState=s39;s19.srmCreateDate=null;s19.srmUpdateDate=null;

    s20.attributeCategoryGroup=false;s20.attributeCategoryName="locked";s20.attributeCategoryOrder=6;s20.attributes=s40;s20.extendedProperties=null;s20.id=10006;s20['namespace']=s2;s20.originalState=s41;s20.srmCreateDate=null;s20.srmUpdateDate=null;

    s21.attributeCategoryGroup=false;s21.attributeCategoryName="AcidAll";s21.attributeCategoryOrder=7;s21.attributes=s42;s21.extendedProperties=null;s21.id=10007;s21['namespace']=s2;s21.originalState=s43;s21.srmCreateDate=null;s21.srmUpdateDate=null;

    s22.attributeCategoryGroup=false;s22.attributeCategoryName="AcidXAuth";s22.attributeCategoryOrder=8;s22.attributes=s44;s22.extendedProperties=null;s22.id=10008;s22['namespace']=s2;s22.originalState=s45;s22.srmCreateDate=null;s22.srmUpdateDate=null;

    s23.attributeCategoryGroup=false;s23.attributeCategoryName="Fullname";s23.attributeCategoryOrder=9;s23.attributes=s46;s23.extendedProperties=null;s23.id=10009;s23['namespace']=s2;s23.originalState=s47;s23.srmCreateDate=null;s23.srmUpdateDate=null;

    s24.attributeCategoryGroup=false;s24.attributeCategoryName="GroupMemberOf";s24.attributeCategoryOrder=10;s24.attributes=s48;s24.extendedProperties=null;s24.id=10010;s24['namespace']=s2;s24.originalState=s49;s24.srmCreateDate=null;s24.srmUpdateDate=null;

    s25.attributeCategoryGroup=false;s25.attributeCategoryName="InstallationData";s25.attributeCategoryOrder=11;s25.attributes=s50;s25.extendedProperties=null;s25.id=10011;s25['namespace']=s2;s25.originalState=s51;s25.srmCreateDate=null;s25.srmUpdateDate=null;

    s26.attributeCategoryGroup=false;s26.attributeCategoryName="ListDataResource";s26.attributeCategoryOrder=12;s26.attributes=s52;s26.extendedProperties=null;s26.id=10012;s26['namespace']=s2;s26.originalState=s53;s26.srmCreateDate=null;s26.srmUpdateDate=null;

    s27.attributeCategoryGroup=false;s27.attributeCategoryName="ListDataSource";s27.attributeCategoryOrder=13;s27.attributes=s54;s27.extendedProperties=null;s27.id=10013;s27['namespace']=s2;s27.originalState=s55;s27.srmCreateDate=null;s27.srmUpdateDate=null;

    s28.attributeCategoryGroup=false;s28.attributeCategoryName="M8All";s28.attributeCategoryOrder=14;s28.attributes=s56;s28.extendedProperties=null;s28.id=10014;s28['namespace']=s2;s28.originalState=s57;s28.srmCreateDate=null;s28.srmUpdateDate=null;

    s29.attributeCategoryGroup=true;s29.attributeCategoryName="name2";s29.attributeCategoryOrder=1;s29.attributes=s58;s29.extendedProperties=null;s29.id=10015;s29['namespace']=s2;s29.originalState=s59;s29.srmCreateDate=null;s29.srmUpdateDate=null;

    s5.attributeCategories=s60;s5.extendedProperties=null;s5.id=1021;s5.multivalueDelimiter=",";s5.namespaceAttributes=s61;s5.namespaceComments="";s5.namespaceName="LDAP1";s5.namespaceShortName="LDAP";s5.originalState=s62;s5.srmCreateDate=null;s5.srmUpdateDate=null;s5.typeLDAP=false;
    s60[0]=s3;
    s3.attributeCategoryGroup=false;s3.attributeCategoryName="General Details";s3.attributeCategoryOrder=1;s3.attributes=s63;s3.extendedProperties=null;s3.id=10031;s3['namespace']=s5;s3.originalState=s64;s3.srmCreateDate=null;s3.srmUpdateDate=null;
    s63[0]=s9;s63[1]=s7;s63[2]=s8;s63[3]=s10;s63[4]=s6;s63[5]=s11;
    s9.attributeCase=0;s9.attributeCategory=s3;s9.attributes=s65;s9.auditable=false;s9.certifiable=false;s9.classifications=null;s9.defaultValue=null;s9.description=null;s9.editType=0;s9.excludedValues=null;s9.extendedProperties=null;s9.hidden=false;s9.id=100011;s9.importable=true;s9.label=null;s9.managed=true;s9.mandatory=false;s9.maxLength=20;s9.maxValue=null;s9.minLength=3;s9.minValue=null;s9.minable=false;s9.multiValue=false;s9.name="uid";s9.namespaceName=null;s9.order=0;s9.originalState=s66;s9.parent=-1;s9.spaceAllowedIn=false;s9.srmCreateDate=null;s9.srmUpdateDate=null;s9.syntax=s4;s9.type="string";s9.typeClass=null;s9.values=null;

    s7.attributeCase=0;s7.attributeCategory=s3;s7.attributes=s67;s7.auditable=false;s7.certifiable=false;s7.classifications=null;s7.defaultValue=null;s7.description=null;s7.editType=0;s7.excludedValues=null;s7.extendedProperties=null;s7.hidden=false;s7.id=100012;s7.importable=true;s7.label=null;s7.managed=true;s7.mandatory=false;s7.maxLength=0;s7.maxValue=null;s7.minLength=0;s7.minValue=null;s7.minable=false;s7.multiValue=false;s7.name="cn";s7.namespaceName=null;s7.order=0;s7.originalState=s68;s7.parent=-1;s7.spaceAllowedIn=false;s7.srmCreateDate=null;s7.srmUpdateDate=null;s7.syntax=s4;s7.type="string";s7.typeClass=null;s7.values=null;

    s8.attributeCase=0;s8.attributeCategory=s3;s8.attributes=s69;s8.auditable=false;s8.certifiable=false;s8.classifications=null;s8.defaultValue=null;s8.description=null;s8.editType=0;s8.excludedValues=null;s8.extendedProperties=null;s8.hidden=false;s8.id=100013;s8.importable=true;s8.label=null;s8.managed=true;s8.mandatory=false;s8.maxLength=0;s8.maxValue=null;s8.minLength=0;s8.minValue=null;s8.minable=false;s8.multiValue=false;s8.name="userPassword";s8.namespaceName=null;s8.order=0;s8.originalState=s70;s8.parent=-1;s8.spaceAllowedIn=false;s8.srmCreateDate=null;s8.srmUpdateDate=null;s8.syntax=s4;s8.type="string";s8.typeClass=null;s8.values=null;

    s10.attributeCase=0;s10.attributeCategory=s3;s10.attributes=s71;s10.auditable=false;s10.certifiable=false;s10.classifications=null;s10.defaultValue=null;s10.description=null;s10.editType=0;s10.excludedValues=null;s10.extendedProperties=null;s10.hidden=false;s10.id=100014;s10.importable=true;s10.label=null;s10.managed=true;s10.mandatory=false;s10.maxLength=0;s10.maxValue=null;s10.minLength=0;s10.minValue=null;s10.minable=false;s10.multiValue=false;s10.name="givenname";s10.namespaceName=null;s10.order=0;s10.originalState=s72;s10.parent=-1;s10.spaceAllowedIn=false;s10.srmCreateDate=null;s10.srmUpdateDate=null;s10.syntax=s4;s10.type="string";s10.typeClass=null;s10.values=null;

    s6.attributeCase=0;s6.attributeCategory=s3;s6.attributes=s73;s6.auditable=false;s6.certifiable=false;s6.classifications=null;s6.defaultValue=null;s6.description=null;s6.editType=0;s6.excludedValues=null;s6.extendedProperties=null;s6.hidden=false;s6.id=100015;s6.importable=true;s6.label=null;s6.managed=true;s6.mandatory=false;s6.maxLength=0;s6.maxValue=null;s6.minLength=0;s6.minValue=null;s6.minable=false;s6.multiValue=false;s6.name="sn";s6.namespaceName=null;s6.order=0;s6.originalState=s74;s6.parent=-1;s6.spaceAllowedIn=false;s6.srmCreateDate=null;s6.srmUpdateDate=null;s6.syntax=s4;s6.type="string";s6.typeClass=null;s6.values=null;

    s11.attributeCase=0;s11.attributeCategory=s3;s11.attributes=s75;s11.auditable=false;s11.certifiable=false;s11.classifications=null;s11.defaultValue=null;s11.description=null;s11.editType=0;s11.excludedValues=null;s11.extendedProperties=null;s11.hidden=false;s11.id=100016;s11.importable=true;s11.label=null;s11.managed=true;s11.mandatory=false;s11.maxLength=0;s11.maxValue=null;s11.minLength=0;s11.minValue=null;s11.minable=false;s11.multiValue=false;s11.name="modifyTimeStamp";s11.namespaceName=null;s11.order=0;s11.originalState=s76;s11.parent=-1;s11.spaceAllowedIn=false;s11.srmCreateDate=null;s11.srmUpdateDate=null;s11.syntax=s4;s11.type="string";s11.typeClass=null;s11.values=null;

    s61.sn=s6;s61.cn=s7;s61.userpassword=s8;s61.uid=s9;s61.givenname=s10;s61.modifytimestamp=s11;

    *dwr.engine._remoteHandleCallback('4','0',[null,s2,s5]);*

    In the below line "11:01:04,609 DEBUG [DebuggingPrintWriter] out(27): ........." i could clearly understand that s4 attribute is not defined, but am unsure while file to do this...
  • 7. Re: OIA Script error
    Daniel Redfern Explorer
    Currently Being Moderated
    No converter found for .java.lang.class.... YIKES! Sounds like a bigger issue the IE or firefox ;-)

    PLease check if you can see the following file and you have all the necessary access to that file

    /WEB-INF/classes/com/vaau/rbacx/core/metadata/domainNamespace.class
    Caused by: java.lang.NullPointerException
    Sounds like you're missing a jar file, or that you cannot see the files properly, or that the application server cannot compile the jar files correctly, probably because it cannot access the file the incorrect permissions have not been applied

    Regards,
    Daniel

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points