Selfservice API fails :nullpointer exception when creating Trading Partners

When I am using the sample file and xsd that's supplied I get this error
oracle> java oracle.tip.adapter.b2b.selfservice.TradingPartnerManager tp7.xml
EntityResolver called: publicID- SystemID- OrclTPProfileV2-6.xsd
java.lang.NullPointerException
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processSupportedBusinessAction(TradingPartnerManager.java:742)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processOperationalCapability(TradingPartnerManager.java:529)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processTradingPartner(TradingPartnerManager.java:412)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processTPProfiles(TradingPartnerManager.java:229)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.main(TradingPartnerManager.java:182)
Exception in thread "main" Error -: AIP-11001: Transaction closed: Error -: AIP-11001: Transaction closed
at oracle.tip.buslogic.common.Transaction.commit(Transaction.java:72)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processTPProfiles(TradingPartnerManager.java:297)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.main(TradingPartnerManager.java:182)
Caused by: Error -: AIP-11001: Transaction closed
at oracle.tip.repos.core.driver.CatalogTransaction.commit(CatalogTransaction.java:1464)
at oracle.tip.buslogic.common.Transaction.commit(Transaction.java:70)
... 2 more
When I validated the xml with the xsd it failed (attributes for ExchangeProtocolRevision), so I fixed them and tried again , now oracle started complaing the xml is invalid when in xml spy it was showing as vaid against the xsd.
I got other errors like
org.xml.sax.SAXParseException: <Line 80, Column 55>: XML-24536: (Error) Missing Attribute 'Version'
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:428)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:290)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:287)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:185)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processTPProfiles(TradingPartnerManager.java:218)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.main(TradingPartnerManager.java:182)
Exception in thread "main" Error -: AIP-51960: An error occured while processing TP/Agreement XML: org.xml.sax.SAXParseException: <Line 80, Column 55>: XML-24536: (Error) Missing Attribute 'Version'
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:303)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:287)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:185)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processTPProfiles(TradingPartnerManager.java:218)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.main(TradingPartnerManager.java:182)
and
oracle> java oracle.tip.adapter.b2b.selfservice.TradingPartnerManager tp7.xml
EntityResolver called: publicID- SystemID- OrclTPProfileV2-6.xsd
Error:
org.xml.sax.SAXParseException: <Line 81, Column 107>: XML-24535: (Error) Attribute 'Protocol' not expected.
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:428)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:290)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:287)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:185)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processTPProfiles(TradingPartnerManager.java:218)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.main(TradingPartnerManager.java:182)
Exception in thread "main" Error -: AIP-51960: An error occured while processing TP/Agreement XML: org.xml.sax.SAXParseException: <Line 81, Column 107>: XML-24535: (Error) Attribute 'Protocol' not expected.
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:303)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:287)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:185)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.processTPProfiles(TradingPartnerManager.java:218)
at oracle.tip.adapter.b2b.selfservice.TradingPartnerManager.main(TradingPartnerManager.java:182)
the xsd that was supplied clearly indicates that the attributes for ExchangeProtocolRevision
are name , Protocol and Revision where as teh xml has just Version.
can some one look into this and let me know where the issue is ?
Thanks,
Kalyan

Hi Ramesh/Dheeraj,
Tested Dev Patch and sent comments couple of days back, can you review and let me know the status
Thanks,
Kalyan

Similar Messages

  • Is there any API or Open Interface to import Trading Partners?

    Hi,
    Is there any API or Open Interface to import Trading Partners?
    Thanks in advance.

    Hi user;
    Please check:
    http://www.oracleappsblog.com/index.php?ACT=33&fid=27&aid=54_xNjHKqlfFIZZQjy1iytr&board_id=1
    http://download.oracle.com/docs/cd/A60725_05/html/comnls/us/ec/import.htm
    http://download.oracle.com/docs/cd/A60725_05/html/comnls/us/ec/tp.htm
    http://www.scribd.com/doc/3186838/Oracle-Apps-Payable
    Hope one of them could helps u
    Regard
    Helios

  • Exception - when create a new factory by Persistence class

    Hey,
    I need to create factory in run time because i dont know the shema names.
    A new schema is allocated to the user after he register to the system.
    I am working in Jboss 4.2.
    I have a stateless session bean with the following method:
    public void createEntityManagerFactoryWithPersistenceAPI() {
    try {
    Hotel h = new Hotel("Bla","Bla");
    //****************** Map configuration
    Map configOverrides = new HashMap();
    configOverrides.put("javax.persistence.jtaDataSource", "java:/TestDS");
    configOverrides.put("hibernate.hbm2ddl.auto", "create");
    configOverrides.put("hibernate.connection.driver_class", "com.mysql.jdbc.Driver");
    configOverrides.put("hibernate.dialect", "org.hibernate.dialect.MySQLDialect");
    configOverrides.put("hibernate.default_schema", "Test");
    EntityManagerFactory programmaticEmf =
    Persistence.createEntityManagerFactory("Demo",configOverrides);
    new InitialContext().rebind("java:/TestEMF", programmaticEmf);
    }catch(Exception e){
    I get an exception when i try to create the factory:
    19:14:49,492 ERROR [STDERR] javax.persistence.PersistenceException: org.hibernate.HibernateException: The chosen transaction strategy requir
    es access to the JTA TransactionManager
    19:14:49,492 ERROR [STDERR] at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:720)
    19:14:49,492 ERROR [STDERR] at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:121)
    19:14:49,492 ERROR [STDERR] at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51)
    19:14:49,492 ERROR [STDERR] at service.impl.HotelServiceBean.createEntityManagerFactoryWithPersistenceAPI(HotelServiceBean.java:83)
    if i set to the following to the properties:
    configOverrides.put("javax.persistence.transactionType", "RESOURCE_LOCAL");
    the factory is created, but when i try to use it i get an exception:
    18:36:54,138 ERROR [JDBCTransaction] JDBC commit failed
    java.sql.SQLException: You cannot commit during a managed transaction!
    at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.jdbcCommit(BaseWrapperManagedConnection.java:543)
    My DS:
    <datasources>
    <local-tx-datasource>
    <jndi-name>TestDS</jndi-name>
    <connection-url>jdbc:mysql://localhost:3306/</connection-url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <user-name>root</user-name>
    <password>1234</password>
    <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter</exception-sorter-class-name>
    <!-- should only be used on drivers after 3.22.1 with "ping" support
    <valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker</valid-connection-checker-class-name>
    -->
    <!-- sql to call when connection is created
    <new-connection-sql>some arbitrary sql</new-connection-sql>
    -->
    <!-- sql to call on an existing pooled connection when it is obtained from pool - MySQLValidConnectionChecker is preferred for newer drivers
    <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql>
    -->
    My persistence.xml file:
    <persistence>
    <persistence-unit name="Demo">
    <jta-data-source>java:/InsiteDS</jta-data-source>
    <properties>
    <property name="hibernate.connection.driver_class" value="com.mysql.jdbc.Driver" />
    <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect" />
    </properties>
    </persistence-unit>
    </persistence>
    <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
    <metadata>
    <type-mapping>mySQL</type-mapping>
    </metadata>
    </local-tx-datasource>
    </datasources>
    Thank you!!!!!

    Check whether you are providing the correct login credentials while importing the RFC.

  • Nullpointer exception when calling Task.getPayloadAsElement()

    Hi all,
    I have deployed an simple bpel in my 10.1.3.1 bpel engine. The proces contains a simpel human tasks, which I want to complete using the human workflow 10.1.3 api. This is the task message which includes my payload:
    initiateTask_ApproveLoanRequestTask
    [2006/12/04 20:59:48]
    Invoked 2-way operation "initiateTask" on partner "TaskService".
    - <messages>
    - <initiateTaskInput>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
    - <initiateTask xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">
    - <task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
    <title>
    Aprove Loan Request task
    </title>
    - <payload>
    - <approveLoanRequestPayload xmlns="http://xmlns.oracle.com/approveLoanRequest">
    <nameRequester>
    Tom
    </nameRequester>
    <loanRequest>
    1000
    </loanRequest>
    <currency/>
    <isApproved/>
    </approveLoanRequestPayload>
    </payload>
    <taskDefinitionURI>
    http://xesoa1.iteye.local:8894/orabpel/default/approveLoanRequest/1.0/ApproveLoanRequestTask/ApproveLoanRequestTask.task
    </taskDefinitionURI>
    <creator>
    Tom
    </creator>
    <ownerUser>
    bpeladmin
    </ownerUser>
    <ownerGroup/>
    <priority>
    3
    </priority>
    <identityContext/>
    <userComment/>
    <attachment/>
    - <processInfo>
    <domainId>
    default
    </domainId>
    <instanceId>
    100008
    </instanceId>
    <processId>
    approveLoanRequest
    </processId>
    <processName>
    approveLoanRequest
    </processName>
    <processType>
    BPEL
    </processType>
    <processVersion>
    1.0
    </processVersion>
    </processInfo>
    <systemAttributes/>
    <systemMessageAttributes/>
    <titleResourceKey/>
    <callback/>
    <identificationKey/>
    </task>
    </initiateTask>
    </part>
    </initiateTaskInput>
    - <initiateTaskResponseMessage>
    - <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
    - <initiateTaskResponse xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">
    - <workflowContext xmlns="http://xmlns.oracle.com/bpel/workflow/common">
    - <credential>
    <login>
    bpeladmin
    </login>
    <identityContext>
    jazn.com
    </identityContext>
    </credential>
    <token>
    13PdID5l3hQSt5QrDDwIyW0GK01koYzxtTLKFTV8e75uWJsSEkJuTRpE7+PJfcK3VL1koQYczeHlUE3fl4yvA9GAsezTFonLuQtb84khaEJpaOUFsBflwg1c5n7J/JE37eJW6HeqoT2utGTwWCfWP3Pm9InF5TUTQkqsguXpd29z+qEllTtnbJAbSRtyeUu5TtQGzcQcBWedYko8rql7XGSFba/O5DJriVW/nrgH7oC5c4diUencB0aVZzWTW2jrOogcTxbQfk8=
    </token>
    </workflowContext>
    - <task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
    <title>
    Aprove Loan Request task
    </title>
    - <payload>
    - <approveLoanRequestPayload xmlns="http://xmlns.oracle.com/approveLoanRequest">
    <nameRequester>
    Tom
    </nameRequester>
    <loanRequest>
    1000
    </loanRequest>
    <currency/>
    <isApproved/>
    </approveLoanRequestPayload>
    - <approveLoanRequestPayload xmlns="http://xmlns.oracle.com/approveLoanRequest">
    <nameRequester>
    Tom
    </nameRequester>
    <loanRequest>
    1000
    </loanRequest>
    <currency/>
    <isApproved/>
    </approveLoanRequestPayload>
    </payload>
    <taskDefinitionURI>
    http://xesoa1.iteye.local:8894/orabpel/default/approveLoanRequest/1.0/ApproveLoanRequestTask/ApproveLoanRequestTask.task
    </taskDefinitionURI>
    <creator>
    Tom
    </creator>
    <ownerUser>
    bpeladmin
    </ownerUser>
    <ownerGroup/>
    <priority>
    3
    </priority>
    <identityContext>
    jazn.com
    </identityContext>
    <userComment/>
    <attachment/>
    - <processInfo>
    <domainId>
    default
    </domainId>
    <instanceId>
    100008
    </instanceId>
    <processId>
    approveLoanRequest
    </processId>
    <processName>
    approveLoanRequest
    </processName>
    <processType>
    BPEL
    </processType>
    <processVersion>
    1.0
    </processVersion>
    </processInfo>
    - <systemAttributes>
    <approvalDuration>
    0
    </approvalDuration>
    <assignedDate>
    2006-12-04T20:59:47.547+01:00
    </assignedDate>
    - <assigneeGroups>
    <id>
    Supervisor
    </id>
    </assigneeGroups>
    <createdDate>
    2006-12-04T20:59:47.555+01:00
    </createdDate>
    <digitalSignatureRequired>
    false
    </digitalSignatureRequired>
    <expirationDate/>
    <inShortHistory>
    true
    </inShortHistory>
    <isGroup>
    true
    </isGroup>
    <numberOfTimesModified>
    1
    </numberOfTimesModified>
    <passwordRequiredOnUpdate>
    false
    </passwordRequiredOnUpdate>
    <pushbackSequence>
    -1
    </pushbackSequence>
    <secureNotifications>
    false
    </secureNotifications>
    <state>
    ASSIGNED
    </state>
    <taskId>
    2043f79925decda1:559dec6a:10f4e2a1a3b:-7ac9
    </taskId>
    <taskNumber>
    10063
    </taskNumber>
    - <updatedBy>
    <id>
    Tom
    </id>
    </updatedBy>
    <updatedDate>
    2006-12-04T20:59:47.555+01:00
    </updatedDate>
    <version>
    1
    </version>
    <versionReason>
    TASK_VERSION_REASON_INITIATED
    </versionReason>
    <taskDefinitionId>
    default_approveLoanRequest_1.0_ApproveLoanRequestTask
    </taskDefinitionId>
    <taskDefinitionName>
    ApproveLoanRequestTask
    </taskDefinitionName>
    </systemAttributes>
    <systemMessageAttributes/>
    <titleResourceKey/>
    <callback/>
    <identificationKey/>
    </task>
    </initiateTaskResponse>
    </part>
    </initiateTaskResponseMessage>
    </messages>
    When I want to parse the payload to binding objects the method task.getPayloadAsElement returns a nullpointer exception. I'm using the Remote client variant of the API.
    I hope some one can help me on this issue.
    Thanks in advance!
    -Tom

    The task payload is not populated when fetching a list of tasks using the queryTasks() method. You need to explicitly call getTaskDetailsById() or getTaskDetailsByNumber() to retrieve the complete task with the payload. Then the method task.getPayloadAsElement() should return you the payload as expected.

  • JCO$Exception when creating RFC model

    Hi all,
    I'm getting this fatal error when creating an RFC model in Web Dynpro for Java (connecting to a BW system):
    com.sap.mw.JCO$Exception: Missing R3NAME=... or ASHOST=... in connect_param in RfcOpenEx
    I have absolutely no clue what's going wrong...
    The RFC model gets created, but when running the application it doesn't work...
    Any help appreciated!
    Jeroen

    Raj,
    Thanks for your reply.
    I had already solved the problem... After a long time I found out it was due to the language: when creating an RFC model one should use the language of SLD.
    kind regards,
    Jeroen

  • Exception when creating instance of a class with native method by JNI

    I am trying to use JNI - I want to have a Java class Foo have a
    method, that is a native C function.
    I follow the Sun's tutorial
    http://java.sun.com/developer/onlineTraining/Programming/JDCBook/jnie...
    exactly, and everything compiles fine, and I have compiled my C .dll
    as well (on Win XP). So I am ready to run - ...
    Now when I finally try to run the Java application, it throws this
    exception when it tries to create the Foo instance:
    at Foo.<init>(Foo.java:11)
    at
    sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at
    sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:
    513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at sun.applet.AppletPanel.createApplet(AppletPanel.java:786)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:715)
    at sun.applet.AppletPanel.run(AppletPanel.java:369)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.security.AccessControlException: access denied
    (java.lang.Runtim
    ePermission loadLibrary.Foo)
    Why would this be so??? Thank you for your insights

    Mark_Galeck wrote:
    I am trying to use JNI - I want to have a Java class Foo have a
    method, that is a native C function.
    I follow the Sun's tutorial
    http://java.sun.com/developer/onlineTraining/Programming/JDCBook/jnie...
    exactlyNot quite exactly. Yours is an applet, theirs is an application.
    Applets are not allowed many things that applications can do.
    Among them, loading native libraries.

  • Nullpoint exception when population HtmlPanelGrid

    Hello All.
    I Have battled with this problem for two solid days now, I realy need you guys help on this one. The following code workes in another part of my program but on this part, I just can't get it right and end up with a nullpoint exception.
    Here are some code:
    test.jsp
    <%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <f:view>
    <html>
    <head>
    <title>Test</title>
    </head>
    <body bgcolor="#ffffff">
    <h:form id="testform">
    <h:panelGrid id="listData" binding="#{TestBean.listData}" />
    </h:form>
    </body>
    </html>
    </f:view>
    TestBean.class (modified to sute forum posting)
    package beans.backingBeans;
    import beans.BeanFactory;
    //do relevant imports
    public class TestBean {
    private HtmlPanelGrid listData; //panelgrid that holds data
    public CreateSurveyBean() {
    populateData();
    public HtmlPanelGrid getListData() {
    return listData;
    public void setListData(HtmlPanelGrid listData) {
    this.listData = listData;
    * fetch data to HtmlPanelGrid
    * @param
    * @return void
    public void populateData() {
    Application application = FacesContext.getCurrentInstance().getApplication(); //getApplication context
    List children = getListData().getChildren(); //get children of component
    children.clear(); //clear children
    List dataSet = BeanFactory.geInstance().getData(); //get populationData from factoryBean
    for(int i=0; i<questionSet.size(); i++) {
         //irrelevant code that create som content for HtmlPanelGrid
    children.add(item);
    faces-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config xmlns="http://java.sun.com/JSF/Configuration">
    <managed-bean>
    <description>SurveyBean</description>
    <display-name>SurveyBean</display-name>
    <managed-bean-name>SurveyBean</managed-bean-name>
    <managed-bean-class>beans.backingBeans.SurveyBean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    </faces-config>
    Nullpoint exception (from the webserver logfile)
    java.lang.NullPointerException     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206)     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)     at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:386)     at javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:999)     at javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1026)     at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:739)     at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)     
    The exception seems to come from the row:
    List children = getListData().getChildren(); //get children of component
    in the testBean.class file. As I said before. This has worked in other parts of the program but now it doesn't. After some debugging runs I have found out that the getListData -method indead returns null, But I can't figure out why.

    Well, Sometimes the question is more complex than the answer ;-)
    Thanks for the help.
    It still puzzels me that I don't have to instanciate the HtmlPanelGrid at the other jsf page in my app. It seems as it gets instanciated by some pagical means because I don't have a
    HtmlPanelGrid data = new HtmlPanelGrid();
    or
    data = foo;
    Anywhere.
    The only thing that separates the two jsf pages from eachother is that in the case that workes, the page reloads several times before I present the HtmlPanelGrid. Can this be the answer somehow?
    Well... Anyhwo. It workes!

  • Exception when creating ABAP client proxy using WSDL

    Hi Experts,
    I tried to create a client proxy on the CRM system for a web service URL (where the WSDL exists), in the transaction SE80.
    When I tried creating this, i got exception as follows.
    Exception occured in communication framework:error in HTTP framework:404 conn failed http://inld50054696a:8080/clearspace/rpc/rest?forumservice?wsdl
    Please let me know, how to tackle this problem.
    What are all the settings that needs to be done in this regard.
    Regards
    Lakshman

    Hi Vasanth,
    There are many threads and blogs on this topic.
    Choose the search Forum on the Forum page and select "All categories" in the Category field and enter your topic "ABAP client proxy from WSDL" in the search field.
    Rgds,
    Sam Raju

  • Jco.JCO$Exception when create a new adaptive model in NWDS

    HI friends:
    when I create a new adaptive model in NWDS, error occurs:
    Warning:Creating a connection with Metamodel language <zh_CN> failed. Continuing with language <zh>
    Fatal: com.sap.mw.jco.JCO$Exception: Missing R3NAME=... or ASHOST=... in connect_param in RfcOpenEx
    but when I used a existent model to reimport model  , it has no error
    Thank you in advance.
    Yonk
    Edited by: Yonk King on Nov 7, 2008 11:11 AM

    Check whether you are providing the correct login credentials while importing the RFC.

  • Null pointer exception when creating new model-

    Hi Experts,
    When I create a new model in NWDS i get the following error.
    java.lang.NullPointerException
         at com.sap.ide.jcb.core.service.SAPLogonHelper.<init>(SAPLogonHelper.java:48)
         at com.sap.ide.jcb.core.wizardpages.SAPLogonPage$MessageServerPane.fillUpLoadBalancingPaneSystems(SAPLogonPage.java:1003)
         at com.sap.ide.jcb.core.wizardpages.SAPLogonPage$MessageServerPane.show(SAPLogonPage.java:303)
         at com.sap.ide.jcb.core.wizardpages.SAPLogonPage.createControl(SAPLogonPage.java:91)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard.createPageControls(ModelWizard.java:408)
         at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:524)
         at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:473)
         at org.eclipse.jface.window.Window.create(Window.java:302)
         at org.eclipse.jface.window.Window.open(Window.java:552)
         at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.createModel(ModelEditorCallback.java:52)
         at com.sap.ide.webdynpro.service.modeleditor.ModelService.createModelWithUI(ModelService.java:70)
         at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.createModel(ServiceWithUI.java:49)
         at com.sap.ide.webdynpro.tsmodel.application.provider.ModelNodeProvider.createUniqueName(ModelNodeProvider.java:55)
         at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntityUin(EntityImpl.java:936)
         at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntity(EntityImpl.java:502)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.runInternal(CreationAction.java:76)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.access$000(CreationAction.java:24)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction$1.run(CreationAction.java:51)
         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.run(CreationAction.java:57)
         at com.sap.ide.webdynpro.projectbrowser.actions.PBCreateModelAction.run(PBCreateModelAction.java:95)
         at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
         at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    !ENTRY com.tssap.util 4 0 Mar 18, 2008 15:02:50.286
    !MESSAGE Mar 18, 2008 3:02:50 PM          com.sap.ide.webdynpro.ui.service.ServicesUI          [Thread[main,5,main]] Error: Internal error
       Plugin name: Web Dynpro Model Editor
       Plugin ID  : com.sap.ide.webdynpro.modeleditor
       Class      : com.sap.ide.webdynpro.modeleditor.ModelEditorCallback
       Method     : createModel
       Message    : An error ocurred. See error log for more details.
       Exception  : java.lang.NullPointerException: null
    Seems to be a plugin problem.What can I do to correct this..?
    Also where can i see the error log(The above error message is from .log file in sap workspace.)

    If you have Windows Seven (and probably Windows Vista) ...
    Close NWDS.
    Make backup \IDE70\eclipse\plugins\com.sap.ide.jcb.core_2.0.0\SapJavaConnectivityBuilderCore.jar.
    Get file-archive \IDE70\eclipse\plugins\com.sap.ide.jcb.core_2.0.0\SapJavaConnectivityBuilderCore.jar,
    in it get file \com\sap\ide\jcb\core\service\com\sap\ide\jcb\core\service\SAPLogonHelper.class,
    Change this .class file in any HexEditor,
    text "windows 2003" to text "indows vista" (not "windows vista"),
    save,
    replace original in
    \IDE70\eclipse\plugins\com.sap.ide.jcb.core_2.0.0\SapJavaConnectivityBuilderCore.jar
    inner path = \com\sap\ide\jcb\core\service\com\sap\ide\jcb\core\service\
    done!!!

  • NullPointer exception when using XMLIdentityStore to get UserProfile etc

    I am attempting to use the oracle.security.idm package to retrieve user profile information from the application server.
    My code looks something like:
    Hashtable env = new Hashtable();
    env.put("ADF_IM_FILE_PATH", filePath);
    env.put("ADF_IM_FILE_PERSISTENCE", "ALL");
    env.put("ADF_IM_SUBSCRIBER_NAME", realm);
    IdentityStoreFactory factory = new IdentityStoreFactoryBuilder().getIdentityStoreFactory("oracle.security.idm.providers.jaznxml.XMLIdentityStoreFactory", env);
    IdentityStore identityStore = factory.getIdentityStoreInstance(env);
    I have similar code working well for OID, based on the example documentation (http://download.oracle.com/docs/cd/B32110_01/web.1013/b28957/userrole.htm). Unfortunately, there is little documentation for the XML provider -- I've been relying on the decompiled samples embedded in identitystore.jar.
    The call to getIdentityStoreInstance(env) in my code above fails with a NullPointerException and the following stack trace:
    oracle.security.idm.providers.jaznxml.XMLIdentityStore.<init>(XMLIdentityStore.java:83)
    oracle.security.idm.providers.jaznxml.XMLIdentityStoreFactory.getIdentityStoreInstance(XMLIdentityStoreFactory.java:59)
    As far as I can tell, it's getting at least as far as the call to jaznConfig.getRealmManager(); inside XMLIdentityStore, because it throws an exception from this method if I pass complete rubbish for the file path.
    Has anybody at all been able to get this provider to work? Would anyone from Oracle with access to the source code be able to comment?
    See also: Regarding identitystore.jar to get userprofile- User and Role API Framework

    Congrats Darek!
    That function really works... here is my program test:
    package integracao.sap.teste;
    import java.util.Properties;
    import integracao.sap.config.ConfigUtil;
    import integracao.sap.funcao.RFC_READ_TABLE;
    import com.sap.mw.jco.IRepository;
    import com.sap.mw.jco.JCO;
    public class TestJCOError {
         private static Properties config;
         private static JCO.Client createJCOClient(){
              JCO.Client client = JCO.createClient(config.getProperty("numClient"), config.getProperty("user"), config.getProperty("password"), "EN", config.getProperty("host"), config.getProperty("numPrograma"));
              return (client);
    @param args
         public static void main(String[] args) {
              config = ConfigUtil.getConfig();
              JCO.Client client = createJCOClient();
              client.connect();
              IRepository repository = JCO.createRepository("REP", client);
              JCO.Function func = RFC_READ_TABLE.createFunction(repository);
              func.getImportParameterList().setValue("MARC", "QUERY_TABLE");
              func.getImportParameterList().setValue(";",    "DELIMITER");
              func.getTableParameterList().getTable("OPTIONS").appendRow();
              func.getTableParameterList().getTable("OPTIONS").setValue("MATNR = '000000000000000011'", "TEXT");
              func.getTableParameterList().getTable("FIELDS").appendRow();
              func.getTableParameterList().getTable("FIELDS").setValue("MATNR", "FIELDNAME");
              client.execute(func);
              JCO.Table table = func.getTableParameterList().getTable("DATA");
              System.out.println("NumRows: " + table.getNumRows());
              System.out.println("Content: " + table.getValue("WA"));
    Result:
    NumRows: 1
    Content: 000000000000000011
    Hope it helps everybody!
    Regards,
    Danilo Andrade

  • ADF-SOA integration getting class cast exception when creating a BPEL task

    Hi,
    We are creating a BPEL task programmatically using below code snippet
    IInitiateTaskResponse tResponse = iTask.initiateTask(task);
    when initiateTask() is called i keep getting below exception.
    oracle.bpel.services.workflow.task.ejb.TaskServiceBean_399vcw_HomeImpl_1036_WLStub cannot be cast to oracle.bpel.services.workflow.task.ejb.TaskServiceRemoteHome.
    Sometime restarting the servers(soa and wls) solves the issue but most of the time i get above exception. I have a integrated WLS server and a remote SOA server. i have done necessary JNDI configuration in my integrated server and global trust is created betwen both the servers.
    Any pointers will help us in our development which is stuck because of this issue.

    Mozakkir,
    My name is Phil DeLaine and I work for one of Oracle's Gold Partners, TechDemocracy.
    I saw your post about the SOA/BPEL integration issue.
    Given the potential complexity of your situation, would it make sense to use one of our SOA experts to solve the problem and deliver your project?
    Please let me know how we can help. You can reach out to me anytime.
    Regards,
    Phil
    Phil DeLaine
    Sales Director
    TechDemocracy
    (978) 758-3156 (Cell)
    [email protected]
    http://www.techdemocracy.com/
    Our Successes:
    1) We won the 2011 Oracle Titan Award for the Best Middleware Implementation. Our award winning solutions included SOA, IAM and BI.
    2) We have been awarded with the highly prestigious Oracle ACE Director status for outstanding industry achievement and track record.
    3) We sit on several Advisory Boards for Oracle Product Management (for Fusion Middleware Products).
    4) We are an Oracle Center of Excellence Partner for SOA and IAM.
    5) We are frequently invited to speak at a number of Oracle Customer Success forums such as Oracle's "OpenWorld".
    6) We have been rated by Inc. Magazine as one of the top 10 fastest growing companies for 3 consecutive years.
    7) We have won and successfully deliveried several projects at Fortune 100, 500 and 1,000 companies. (References Available)

  • How to avoid duplicate DN exception when creating Active Directory Account

    I am using OIM 9.1.0.2 to provision Active Directory accounts.
    I run into issues when the DN of the user to be created already exists and I would like to know if anyone has some logic I can use to generate a different DN for new user by adding a number or something like that to the DN
    Here is an example.
    User 1 exists already and their DN: cn=john smith, cn=users, dc=company,dc=org
    New user joins the company and his name is also john smith and he has no middle name: so system attempts to create his account as cn=john smith, cn=users, dc=company,dc=org
    how can I accomplish this by making the account say cn=john smith_1, cn=users, dc=company,dc=org

    855640 wrote:
    I run into issues when the DN of the user to be created already exists and I would like to know if anyone has some logic I can use to generate a different DN for new user by adding a number or something like that to the DN
    There are two different questions:
    1. How to generate a sequence of candidates for the name attribute
    2. How to check if a record with the given name candidate already exists in the Active Directory, and hence try the next candidate from the sequence.
    The answer for the first part is usually defined by the policy existing in your organization, in the simplest case you can append sequential integer numbers to the end of the original name.
    The answer for the second question is not so simple if you use are provisioning with MSAD connector.
    There are two places you can put the check:
    -- in the pre-populate adapter for the UD_ADUSER_COMMONNAME field
    -- in the adpADCSCREATEUSER event handler, which is responsible for new AD user record creation.
    Both cases need some coding, since you have to obtain the AD connection and search AD for matching records.
    Pros & cons
    Placing check code in the pre-populate adapter:
    Pros:
    the result is visible in the form, administrator can change the pre-calculated value if he wishes
    Cons:
    you need to have all access to connection parameters, and establish one extra connection
    this is not the way OIM is supposed to work :-(
    Placing check code in the AD user creation task:
    Pros:
    you have all access to connection parameters, and open a connection here anyway
    Cons:
    the result is not present in the form, so no way for manual interaction by administrator here
    BTW: this problem is not only related to DN generation, some other AD attributes (e.g. sAMAccountName, mailNickName, userPrincipalName, mail) should be unique in the AD domain scope.
    Edited by: madhatter on Sep 7, 2012 12:02 AM

  • VHV Exception when creating Version Tree

    I am getting the following VHV Exception every time I try to create a Version Tree for a file (happens to any file) that I checked out from the SVN repository. The Version History works fine, the problem is with the Version Tree. I am just reporting the issue. My platform is Ubuntu 10.04 64bit - with latest JDK and Sql Developer.
    R/ Zaf
    java.lang.NullPointerException
         at oracle.ide.vhv.model.VersionTreeLayoutManager.showAllNodes(VersionTreeLayoutManager.java:797)
         at oracle.ide.vhv.model.VersionTree.showAllNodes(VersionTree.java:538)
         at oracle.ide.vhv.view.VHVControl.install(VHVControl.java:287)
         at oracle.ide.vhv.VHVViewer.installVersionTree(VHVViewer.java:326)
         at oracle.ide.vhv.VHVViewer.access$1000(VHVViewer.java:59)
         at oracle.ide.vhv.VHVViewer$3.done(VHVViewer.java:281)
         at javax.swing.SwingWorker$5.run(SwingWorker.java:717)
         at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:814)
         at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:95)
         at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:824)
         at javax.swing.Timer.fireActionPerformed(Timer.java:291)
         at javax.swing.Timer$DoPostEvent.run(Timer.java:221)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
         at java.awt.EventQueue.access$000(EventQueue.java:85)
         at java.awt.EventQueue$1.run(EventQueue.java:603)
         at java.awt.EventQueue$1.run(EventQueue.java:601)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    The database is running on a VM, and the 32bit OS for running the RCU was running on a separate VM on the same host.
    Changing /etc/hosts so that each machine knew the name of the other VM did indeed fix the problem I've been experiencing, which looks to be identical to the person posing the question (at least, the stack trace was exactly the same).
    Thank you so much!

  • Persistence exception when creating UME users

    Hello,
    I'm encountering a persistence exception while attempting to create users in the Portal using ABAP as my UME store. The exception indicates that a user name is too long to be valid (e.g. 1Z8uN8K0JUdBbS~Z1WN8). This name is apparently generated since it is different in each error message in the log.
    I've read the Help files throughly and have configured the SAPJSF user to be in the proper role for writing (SAP_BC_JSF_COMMUNICATION) and made sure that the authorizations for that role are properly generated and assigned. The values for the ume settings in configtool are configured to connect properly and everything tests fine in the portal (except creating users, of course). I'm running everything on SPS09.
    The detailed error message is below. TIA for your thoughts.
    Rob
    Date : 12/11/2006
    Time : 17:07:09:486
    Message : An exception was thrown in the UME/ABAP user management connector. Message: Not a valid SAP user ID:
    "1Z8uN8K0JUdBbS~Z1WN8". Reason: SAP user ID must contain at least 1 and at most 12 characters.
    [EXCEPTION]
    com.sap.security.core.persistence.datasource.PersistenceException: Not a valid SAP user ID: "1Z8uN8K0JUdBbS~Z1WN8".
    Reason: SAP user ID must contain at least 1 and at most 12 characters     at
    com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:178
    )     at com.sap.security.core.persistence.datasource.imp.R3Persistence.getPrivateIDPart(R3Persistence.java:2532)     
    at
    com.sap.security.core.persistence.datasource.imp.DataSourceBaseImplementation.bindNewPrincipalDatabag(DataSourceBaseI
    mplementation.java:340)     at
    com.sap.security.core.persistence.datasource.imp.R3Persistence$Transaction.bindNewPrincipalDatabag(R3Persistence.java
    :8727)     at
    com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.bindNewPrincipalDatabag(PrincipalDatabagFactory
    Instance.java:4640)     at
    com.sap.security.core.persistence.imp.PrincipalDatabag.getIDParts(PrincipalDatabag.java:1034)     at
    com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.isPrincipalDatabagAttributeModifiable(Principal
    DatabagFactoryInstance.java:2331)     at
    com.sap.security.core.imp.PrincipalFactory.isPrincipalAttributeModifiable(PrincipalFactory.java:255)     at
    com.sap.security.core.imp.PrincipalFactory.isPrincipalAttributeModifiable(PrincipalFactory.java:215)     at
    com.sap.security.core.jmx.impl.CompanyPrincipalFactory.isPrincipalAttributeCreateable(CompanyPrincipalFactory.java:24
    71)     at com.sap.security.core.jmx.impl.JmxLayoutHelper.getAttributeLayoutInformation(JmxLayoutHelper.java:67)     
    at com.sap.security.core.jmx.impl.JmxServer.getAttributeLayoutInformation(JmxServer.java:304)     at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     at
    java.lang.reflect.Method.invoke(Method.java:324)     at
    com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)     at
    javax.management.StandardMBean.invoke(StandardMBean.java:286)     at
    com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)     at
    com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)     at
    com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:409)     at
    com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)     at
    com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:258)     at
    com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)     at
    com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)     at
    com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)     at
    com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:776)     at
    com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)     at
    com.sap.security.core.jmx._gen.IJmxServer$Impl.getAttributeLayoutInformation(IJmxServer.java:1695)     at
    com.sap.security.core.wd.jmxmodel.JmxModelCompInterface.getAttributeLayoutInformation(JmxModelCompInterface.java:485)     
    at
    com.sap.security.core.wd.jmxmodel.wdp.InternalJmxModelCompInterface.getAttributeLayoutInformation(InternalJmxModelCom
    pInterface.java:441)     at
    com.sap.security.core.wd.jmxmodel.wdp.InternalJmxModelCompInterface$External.getAttributeLayoutInformation(InternalJm
    xModelCompInterface.java:712)     at
    com.sap.security.core.wd.umeuifactory.UmeUiFactoryCompInterface.getAttributeLayoutInformation(UmeUiFactoryCompInterfa
    ce.java:675)     at
    com.sap.security.core.wd.umeuifactory.wdp.InternalUmeUiFactoryCompInterface.getAttributeLayoutInformation(InternalUme
    UiFactoryCompInterface.java:519)     at
    com.sap.security.core.wd.umeuifactory.wdp.InternalUmeUiFactoryCompInterface$External.getAttributeLayoutInformation(In
    ternalUmeUiFactoryCompInterface.java:856)     at
    com.sap.security.core.wd.maintainuser.WriteableDetailInterfaceView.onPlugCopyIn(WriteableDetailInterfaceView.java:179
    )     at
    com.sap.security.core.wd.maintainuser.WriteableDetailInterfaceView.onPlugCreateIn(WriteableDetailInterfaceView.java:1
    11)     at
    com.sap.security.core.wd.maintainuser.wdp.InternalWriteableDetailInterfaceView.wdInvokeEventHandler(InternalWriteable
    DetailInterfaceView.java:110)     at
    com.sap.tc.webdynpro.progmodel.generation.DelegatingInterfaceView.invokeEventHandler(DelegatingInterfaceView.java:85)     
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:826)     at
    com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)     at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)     at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)     at
    com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)     at
    com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)     at
    com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)     at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:731)     at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:667)     at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)     at
    com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)     at
    com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)     at
    com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProx
    y.java:879)     at
    com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java
    :77)     at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1291)     at
    com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:325)     at
    com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:831)     at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)     at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)     at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)     at
    com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)     at
    com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)     at
    com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)     at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)     
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)     at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)     at
    com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)     at
    com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)     at
    com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)     at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:760)     at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)     at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)     at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)     at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)     at
    com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)     at
    com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)     at
    com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)     at
    com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)     at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMe
    ssageListener.java:33)     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)     at
    com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)     at
    java.security.AccessController.doPrivileged(Native Method)     at
    com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)     at
    com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)----
    caused by
    com.sap.security.core.persistence.datasource.imp.r3persistence.SapUidFormatException: Not a valid SAP user
    ID: "1Z8uN8K0JUdBbS~Z1WN8". Reason: SAP user ID must contain at least 1 and at most 12 characters     at
    com.sap.security.core.persistence.datasource.imp.r3persistence.Util.assertSapUidLength(Util.java:73)     at
    com.sap.security.core.persistence.datasource.imp.R3Persistence.getPrivateIDPart(R3Persistence.java:2512)     at
    com.sap.security.core.persistence.datasource.imp.DataSourceBaseImplementation.bindNewPrincipalDatabag(DataSourceBaseI
    mplementation.java:340)     at
    com.sap.security.core.persistence.datasource.imp.R3Persistence$Transaction.bindNewPrincipalDatabag(R3Persistence.java
    :8727)     at
    com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.bindNewPrincipalDatabag(PrincipalDatabagFactory
    Instance.java:4640)     at
    com.sap.security.core.persistence.imp.PrincipalDatabag.getIDParts(PrincipalDatabag.java:1034)     at
    com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.isPrincipalDatabagAttributeModifiable(Principal
    DatabagFactoryInstance.java:2331)     at
    com.sap.security.core.imp.PrincipalFactory.isPrincipalAttributeModifiable(PrincipalFactory.java:255)     at
    com.sap.security.core.imp.PrincipalFactory.isPrincipalAttributeModifiable(PrincipalFactory.java:215)     at
    com.sap.security.core.jmx.impl.CompanyPrincipalFactory.isPrincipalAttributeCreateable(CompanyPrincipalFactory.java:24
    71)     at com.sap.security.core.jmx.impl.JmxLayoutHelper.getAttributeLayoutInformation(JmxLayoutHelper.java:67)     
    at com.sap.security.core.jmx.impl.JmxServer.getAttributeLayoutInformation(JmxServer.java:304)     at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     at
    java.lang.reflect.Method.invoke(Method.java:324)     at
    com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)     at
    javax.management.StandardMBean.invoke(StandardMBean.java:286)     at
    com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)     at
    com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)     at
    com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:409)     at
    com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)     at
    com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:258)     at
    com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)     at
    com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)     at
    com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)     at
    com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:776)     at
    com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)     at
    com.sap.security.core.jmx._gen.IJmxServer$Impl.getAttributeLayoutInformation(IJmxServer.java:1695)     at
    com.sap.security.core.wd.jmxmodel.JmxModelCompInterface.getAttributeLayoutInformation(JmxModelCompInterface.java:485)     
    at
    com.sap.security.core.wd.jmxmodel.wdp.InternalJmxModelCompInterface.getAttributeLayoutInformation(InternalJmxModelCom
    pInterface.java:441)     at
    com.sap.security.core.wd.jmxmodel.wdp.InternalJmxModelCompInterface$External.getAttributeLayoutInformation(InternalJm
    xModelCompInterface.java:712)     at
    com.sap.security.core.wd.umeuifactory.UmeUiFactoryCompInterface.getAttributeLayoutInformation(UmeUiFactoryCompInterfa
    ce.java:675)     at
    com.sap.security.core.wd.umeuifactory.wdp.InternalUmeUiFactoryCompInterface.getAttributeLayoutInformation(InternalUme
    UiFactoryCompInterface.java:519)     at
    com.sap.security.core.wd.umeuifactory.wdp.InternalUmeUiFactoryCompInterface$External.getAttributeLayoutInformation(In
    ternalUmeUiFactoryCompInterface.java:856)     at
    com.sap.security.core.wd.maintainuser.WriteableDetailInterfaceView.onPlugCopyIn(WriteableDetailInterfaceView.java:179
    )     at
    com.sap.security.core.wd.maintainuser.WriteableDetailInterfaceView.onPlugCreateIn(WriteableDetailInterfaceView.java:1
    11)     at
    com.sap.security.core.wd.maintainuser.wdp.InternalWriteableDetailInterfaceView.wdInvokeEventHandler(InternalWriteable
    DetailInterfaceView.java:110)     at
    com.sap.tc.webdynpro.progmodel.generation.DelegatingInterfaceView.invokeEventHandler(DelegatingInterfaceView.java:85)     
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:826)     at
    com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)     at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)     at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)     at
    com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)     at
    com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)     at
    com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)     at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:731)     at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:667)     at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)     at
    com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)     at
    com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)     at
    com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProx
    y.java:879)     at
    com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java
    :77)     at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1291)     at
    com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:325)     at
    com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:831)     at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)     at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)     at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)     at
    com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)     at
    com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)     at
    com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)     at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)     
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)     at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)     at
    com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)     at
    com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)     at
    com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)     at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:760)     at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)     at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)     at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)     at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)     at
    com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)     at
    com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)     at
    com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)     at
    com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)     at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMe
    ssageListener.java:33)     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)     at
    com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)     at
    java.security.AccessController.doPrivileged(Native Method)     at
    com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)     at
    com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Severity : Error
    Category : /System/Security/Usermanagement
    Location : com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.getPrivateIDPart()
    Application : sap.com/tcwddispwda
    Thread : SAPEngine_Application_Thread[impl:3]_49
    Datasource : 19184150:D:\usr\sap\PTD\JC01\j2ee\cluster\server0\log\defaultTrace.trc
    Message ID : 000C29F20933005300000AB9000006580004245B630B0BAC
    Source Name : com.sap.security.core.persistence.datasource.imp.R3PersistenceBase
    Argument Objs : Not a valid SAP user ID: "1Z8uN8K0JUdBbS~Z1WN8". Reason: SAP user ID must contain at least 1 and at
    most 12 characters,com.sap.security.core.persistence.datasource.PersistenceException: Not a valid SAP user ID:
    "1Z8uN8K0JUdBbS~Z1WN8". Reason: SAP user ID must contain at least 1 and at most 12 characters     at
    com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:178
    )     at com.sap.security.core.persistence.datasource.imp.R3Persistence.getPrivateIDPart(R3Persistence.java:2532)     
    at
    com.sap.security.core.persistence.datasource.imp.DataSourceBaseImplementation.bindNewPrincipalDatabag(DataSourceBaseI
    mplementation.java:340)     at
    com.sap.security.core.persistence.datasource.imp.R3Persistence$Transaction.bindNewPrincipalDatabag(R3Persistence.java
    :8727)     at
    com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.bindNewPrincipalDatabag(PrincipalDatabagFactory
    Instance.java:4640)     at
    com.sap.security.core.persistence.imp.PrincipalDatabag.getIDParts(PrincipalDatabag.java:1034)     at
    com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.isPrincipalDatabagAttributeModifiable(Principal
    DatabagFactoryInstance.java:2331)     at
    com.sap.security.core.imp.PrincipalFactory.isPrincipalAttributeModifiable(PrincipalFactory.java:255)     at
    com.sap.security.core.imp.PrincipalFactory.isPrincipalAttributeModifiable(PrincipalFactory.java:215)     at
    com.sap.security.core.jmx.impl.CompanyPrincipalFactory.isPrincipalAttributeCreateable(CompanyPrincipalFactory.java:24
    71)     at com.sap.security.core.jmx.impl.JmxLayoutHelper.getAttributeLayoutInformation(JmxLayoutHelper.java:67)     
    at com.sap.security.core.jmx.impl.JmxServer.getAttributeLayoutInformation(JmxServer.java:304)     at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     at
    java.lang.reflect.Method.invoke(Method.java:324)     at
    com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)     at
    javax.management.StandardMBean.invoke(StandardMBean.java:286)     at
    com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)     at
    com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)     at
    com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:409)     at
    com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)     at
    com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:258)     at
    com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)     at
    com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)     at
    com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)     at
    com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:776)     at
    com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)     at
    com.sap.security.core.jmx._gen.IJmxServer$Impl.getAttributeLayoutInformation(IJmxServer.java:1695)     at
    com.sap.security.core.wd.jmxmodel.JmxModelCompInterface.getAttributeLayoutInformation(JmxModelCompInterface.java:485)     
    at
    com.sap.security.core.wd.jmxmodel.wdp.InternalJmxModelCompInterface.getAttributeLayoutInformation(InternalJmxModelCom
    pInterface.java:441)     at
    com.sap.security.core.wd.jmxmodel.wdp.InternalJmxModelCompInterface$External.getAttributeLayoutInformation(InternalJm
    xModelCompInterface.java:712)     at
    com.sap.security.core.wd.umeuifactory.UmeUiFactoryCompInterface.getAttributeLayoutInformation(UmeUiFactoryCompInterfa
    ce.java:675)     at
    com.sap.security.core.wd.umeuifactory.wdp.InternalUmeUiFactoryCompInterface.getAttributeLayoutInformation(InternalUme
    UiFactoryCompInterface.java:519)     at
    com.sap.security.core.wd.umeuifactory.wdp.InternalUmeUiFactoryCompInterface$External.getAttributeLayoutInformation(In
    ternalUmeUiFactoryCompInterface.java:856)     at
    com.sap.security.core.wd.maintainuser.WriteableDetailInterfaceView.onPlugCopyIn(WriteableDetailInterfaceView.java:179
    )     at
    com.sap.security.core.wd.maintainuser.WriteableDetailInterfaceView.onPlugCreateIn(WriteableDetailInterfaceView.java:1
    11)     at
    com.sap.security.core.wd.maintainuser.wdp.InternalWriteableDetailInterfaceView.wdInvokeEventHandler(InternalWriteable
    DetailInterfaceView.java:110)     at
    com.sap.tc.webdynpro.progmodel.generation.DelegatingInterfaceView.invokeEventHandler(DelegatingInterfaceView.java:85)     
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:826)     at
    com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)     at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)     at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)     at
    com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)     at
    com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)     at
    com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)     at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:731)     at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:667)     at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)     at
    com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)     at
    com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)     at
    com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProx
    y.java:879)     at
    com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java
    :77)     at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1291)     at
    com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:325)     at
    com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:831)     at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)     at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)     at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)     at
    com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)     at
    com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)     at
    com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)     at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)     
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)     at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)     at
    com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)     at
    com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)     at
    com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)     at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:760)     at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)     at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)     at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)     at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)     at
    com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)     at
    com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)     at
    com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)     at
    com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)     at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMe
    ssageListener.java:33)     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)     at
    com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)     at
    java.security.AccessController.doPrivileged(Native Method)     at
    com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)     at
    com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)----
    caused by
    com.sap.security.core.persistence.datasource.imp.r3persistence.SapUidFormatException: Not a valid SAP user
    ID: "1Z8uN8K0JUdBbS~Z1WN8". Reason: SAP user ID must contain at least 1 and at most 12 characters     at
    com.sap.security.core.persistence.datasource.imp.r3persistence.Util.assertSapUidLength(Util.java:73)     at
    com.sap.security.core.persistence.datasource.imp.R3Persistence.getPrivateIDPart(R3Persistence.java:2512)     at
    com.sap.security.core.persistence.datasource.imp.DataSourceBaseImplementation.bindNewPrincipalDatabag(DataSourceBaseI
    mplementation.java:340)     at
    com.sap.security.core.persistence.datasource.imp.R3Persistence$Transaction.bindNewPrincipalDatabag(R3Persistence.java
    :8727)     at
    com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.bindNewPrincipalDatabag(PrincipalDatabagFactory
    Instance.java:4640)     at
    com.sap.security.core.persistence.imp.PrincipalDatabag.getIDParts(PrincipalDatabag.java:1034)     at
    com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.isPrincipalDatabagAttributeModifiable(Principal
    DatabagFactoryInstance.java:2331)     at
    com.sap.security.core.imp.PrincipalFactory.isPrincipalAttributeModifiable(PrincipalFactory.java:255)     at
    com.sap.security.core.imp.PrincipalFactory.isPrincipalAttributeModifiable(PrincipalFactory.java:215)     at
    com.sap.security.core.jmx.impl.CompanyPrincipalFactory.isPrincipalAttributeCreateable(CompanyPrincipalFactory.java:24
    71)     at com.sap.security.core.jmx.impl.JmxLayoutHelper.getAttributeLayoutInformation(JmxLayoutHelper.java:67)     
    at com.sap.security.core.jmx.impl.JmxServer.getAttributeLayoutInformation(JmxServer.java:304)     at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)     at
    java.lang.reflect.Method.invoke(Method.java:324)     at
    com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)     at
    javax.management.StandardMBean.invoke(StandardMBean.java:286)     at
    com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)     at
    com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)     at
    com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:409)     at
    com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)     at
    com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:258)     at
    com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)     at
    com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)     at
    com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)     at
    com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:776)     at
    com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)     at
    com.sap.security.core.jmx._gen.IJmxServer$Impl.getAttributeLayoutInformation(IJmxServer.java:1695)     at
    com.sap.security.core.wd.jmxmodel.JmxModelCompInterface.getAttributeLayoutInformation(JmxModelCompInterface.java:485)     
    at
    com.sap.security.core.wd.jmxmodel.wdp.InternalJmxModelCompInterface.getAttributeLayoutInformation(InternalJmxModelCom
    pInterface.java:441)     at
    com.sap.security.core.wd.jmxmodel.wdp.InternalJmxModelCompInterface$External.getAttributeLayoutInformation(InternalJm
    xModelCompInterface.java:712)     at
    com.sap.security.core.wd.umeuifactory.UmeUiFactoryCompInterface.getAttributeLayoutInformation(UmeUiFactoryCompInterfa
    ce.java:675)     at
    com.sap.security.core.wd.umeuifactory.wdp.InternalUmeUiFactoryCompInterface.getAttributeLayoutInformation(InternalUme
    UiFactoryCompInterface.java:519)     at
    com.sap.security.core.wd.umeuifactory.wdp.InternalUmeUiFactoryCompInterface$External.getAttributeLayoutInformation(In
    ternalUmeUiFactoryCompInterface.java:856)     at
    com.sap.security.core.wd.maintainuser.WriteableDetailInterfaceView.onPlugCopyIn(WriteableDetailInterfaceView.java:179
    )     at
    com.sap.security.core.wd.maintainuser.WriteableDetailInterfaceView.onPlugCreateIn(WriteableDetailInterfaceView.java:1
    11)     at
    com.sap.security.core.wd.maintainuser.wdp.InternalWriteableDetailInterfaceView.wdInvokeEventHandler(InternalWriteable
    DetailInterfaceView.java:110)     at
    com.sap.tc.webdynpro.progmodel.generation.DelegatingInterfaceView.invokeEventHandler(DelegatingInterfaceView.java:85)     
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:826)     at
    com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)     at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)     at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)     at
    com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)     at
    com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)     at
    com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)     at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:731)     at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:667)     at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)     at
    com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)     at
    com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)     at
    com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProx
    y.java:879)     at
    com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java
    :77)     at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1291)     at
    com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:325)     at
    com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:831)     at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)     at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)     at
    com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)     at
    com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)     at
    com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)     at
    com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)     at
    com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)     
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)     at
    com.sap.tc.webdynpro.clientserver.session.ClientSessio

    I found the solution to my own problem. My guess that the generated ID was causing problems was correct. The fix was to change the ume.logon.security_policy.
    useridmaxlength to 12 instead of the default of 20.
    After I did that and restarted, UME users were working properly. SAP help does describe this issue at the bottom of http://help.sap.com/saphelp_nw04/helpdata/en/b5/16c43bdd3da244a1d3372a77b5f83f/content.htm which I found after the issue had been fixed.
    <rant>This is another case of a sub-optimal default value in NW2004s. Why not make it 12  to match the limitation in ABAP by default? There are way too many little things like this in the current stack.</rant>
    Rob

Maybe you are looking for

  • Error while creating Supplier Contact through API

    Hi, I am not able to create supplier contact through an API: ap_vendor_pub_pkg.create_vendor_contact The return status (x_return_status)from the API is 'U' and x_msg_data is 'FND'. Please help with your suggestions ! Thanks, Sambit

  • Can i use iphone 5 with my other att lines do i need a new sim?

    can i use iphone 5 with different phone number than the one i used when i ordered the phone if i have a family plan with muliple lines

  • FTP access

    I have a snowlwopard server setup for classes and have a problem with FTP access.  I think the FTP and share points settings are correct, but when I add a student user and give access to a specific folder he can see everything that is in the entire d

  • Using AIR,HTML,Flex

    I apologize I might be a little lost as I had to put a project down to work on another one (as often happens). I though that you would be able to launch flash/flex from html within the AIR application, I remember having this problem in early beta and

  • Check In Page Customisation

    We need to change the default content check-in page in UCM, and haven't had luck finding info in the documentation. The two things we want to do are: 1. Change True/False and Yes/No option lists to check/tick boxes 2. Change width of metadata fields