Field.set(Object obj, Object value)

As I parse an XML file (Using SAX XML Reader) I'm also building objects dynamically as I go on parsing. I'm using Field.set() successfully to assign values to String or Integer instance variables, but If one of these objects has an instance variable which is say, a vector. then how can I dynamically add (using addElement(object)) objects to it? Could please someone help?
// Get the Class object of member
// Assume member is the current object
Class memberClass = member.getClass();
// Dynamically access the instance variable
memberField = memberClass.getDeclaredField(currentElement);
// Set the value of the instance variable
memberField.set(member,newValue);
Thanks,
Ahmet

This is still a problem for me and I am yet to find a solution. I'd like to define the problem once again and hope for a suggestion that might lead to a solution:
I've got an object called "member" whose instance variables are dynamically being set from a SAX parser ContentHandler modules. In this "member" object all but one instance variables are of type String. With the below logic, I have no problem of setting values for these dynamically;
// Get the Class object of member
Class memberClass = member.getClass();
// Dynamically access the instance variable
memberField = memberClass.getDeclaredField(currentElement);
// Set the value of the instance variable, which is parsed value gotten from String s = new String(ch, start, end); in characters method in ContentHandler class
memberField.set(member,s);
The problem arises when I want to set the only instance variable in the member class which is of type Vector. My intention is to use xxxx.addElements(someObject) where someObject is already created and initialized. How can I use memberField.set(member,s) when the field is Vector and instead of setting a value I want to use addElements.

Similar Messages

  • How to set a Object value by JDI

    How to set a Object value using JDI?
    For example:
    class User{
      private String name;
      private String id;
    set and get method;
    public static void main(String[] args) throws Exception {
            VirtualMachineManager vmm = Bootstrap.virtualMachineManager();
            List<AttachingConnector> connectors = vmm.attachingConnectors();
            SocketAttachingConnector sac = null;
            for (AttachingConnector ac : connectors) {
                if (ac instanceof SocketAttachingConnector) {
                    sac = (SocketAttachingConnector) ac;
                    break;
            if (sac == null) {
                System.out.println("JDI error");
                return;
            Map<String, Connector.Argument> arguments = sac.defaultArguments();
            Connector.Argument hostArg = arguments.get("hostname");
            Connector.Argument portArg = arguments.get("port");
            hostArg.setValue(HOST);
            portArg.setValue(String.valueOf(PORT));
            vmMachine = sac.attach(arguments);
            List<ReferenceType> classesByName = vmMachine.classesByName(CLSNAME);
            if (classesByName == null || classesByName.size() == 0) {
                System.out.println("No class found");
                return;
            ReferenceType rt = classesByName.get(0);
            List<Method> methodsByName = rt.methodsByName(METHODNAME);
            if (methodsByName == null || methodsByName.size() == 0) {
                System.out.println("No method found");
                return;
            Method method = methodsByName.get(0);
    I will connect to server and monitor the remote server JVM , There is a object of User, I want to change its value by the Java Debugger Interface by client.
    so how to set its value by the client, and I can not got the User bean at client.
    I know the basic type filed value changed as follows:
    Value newValue = vmMachine.mirrorOf("change var value");// this field is a string.
    stackFrame.thisObject().setValue(field, newValue);
    But a Object , how can I change its value.
    Thanks Advanced.

    ObjectReference.setValue() is the method for chaining the value of an Object's field. First you need to find the specific Object you want to change, though.
    /Staffan

  • Field.get(Object obj) now returning null with Generics (Java 5.0) ??

    Hello,
    I'm currently using Java 5.0 (especially for the Generics part) on a new Java/J2EE project, but having a strange issue with code working previously in a Java 1.4 project.
    Below is an overriding of the toString() method provided by the Object class which allow me to view nicely in debug (dev. mode) the contents of my Transfer Objects (all the TO's must extend this ATO abstract class).
    Previously this code displayed me something like:
    [field1 => value1, field2 => value2] ... for a TO (sort of "Javabean") having e.g. two String fields with values initialized to "value1" (resp. "value2").
    But unfortunately, this does (or seems) not to work anymore, having such display :
    [field1 => null, field2 => null]I tried to debug, and the problem is that the call fieldValue = field.get(this); returns null while it should returns the actual value of the field.
    I thing it it strongly related to Generics, but could not at the moment found how/why it does not work.
    May someone help...? Thanks.
    public abstract class ATO {
        // Reflection for field value display
        public String toString() {
            StringBuffer sb = new StringBuffer("[");
            MessageFormat mf = new MessageFormat("{0} => {1}, ");
            Field[] fields = this.getClass().getDeclaredFields();
            for (int i = 0; i < fields.length; i++) {
                Field field = (Field) fields;
    String fieldName = field.getName();
    Object fieldValue = null;
    try {
    fieldValue = field.get(this);
    } catch (IllegalArgumentException e) {
    } catch (IllegalAccessException e) {
    mf.format(new Object[] { fieldName, fieldValue }, sb, null);
    if (sb.length() > 1) {
    sb.setLength(sb.length() - 2);
    sb.append("]");
    return sb.toString();

    ejp wrote:
    Field field = (Field) fields;
    This cast is unnecessary.
    Effectively, I haven't noticed it yet. Fixed.
    } catch (IllegalArgumentException e) {
    } catch (IllegalAccessException e) {
    }Either the field value really is null or you are getting one of these exceptions which you are ignoring. Never write empty catch blocks.That's true, I missed something. Fixed with some code to log the eventual exceptions.
    Thanks for you answer.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to set a object value bound to a session to JavaScript variable

    In a JSP, I store an object value in a HttpSession and I also write a Javascript function to display something on the screen. I need to use the Javascript function to display the object value which is stored in the session. How to set the object value to variable of the JavaScript function. Thanks.

    I write a class JavaScriptHelper to convert the object value to variable of the JavaScript;
    1.get the data to a javabean from database;
    2.convert the data to variable of the JavaScript as a String ;
    3.store the object in a HttpSession or Httprequest ;
    4.use in Jsp get the String (variable of the JavaScript )
    YourBean bean = (YourBean) request.getAttribute("model");
         if (bean != null) out.println(bean .getJsCode())
    convert function,(this is only for the matrix):
    public static String formatJsCode(Vector vector) {
    String sJsCode = "";
    //get js head
    sJsCode = getJsHeader();
    //define js array;
    sJsCode += "var data=new Array();\n";
    Vector v = null;
    String sTemp = "", sLine = "";
    for (int i = 0; i < vector.size(); i++) {
    v = (Vector) vector.get(i);
    sLine = "";
    for (int j = 0; j < v.size(); j++) {
    sTemp = (String) v.get(j);
    //replace " to \"
    sTemp = sTemp.replaceAll("\"", "\\\\\\\"");
    //escape Html Tag
    //sTemp = StringUtil.escapeHTMLTags(sTemp);
    //replace \r\n to <br>
    sTemp = sTemp.replaceAll("\r\n", "<br>");
    if (j != 0)
    sLine += ",";
    sLine += "\"" + sTemp + "\"";
    sJsCode += "data[" + i + "]=new Array(" + sLine + ");\n";
    //get js foot
    sJsCode += getJsFooter();
    return sJsCode;
    public static String getJsHeader(){
    return "<script language=\"JavaScript\">";
    public static String getJsFooter(){
    return "</script>";
    }

  • GlobalContainer object values acessed among UDF's  in message mapping ?

    hi
    i have scenario where i am using globalContainer variable functionality in my message mapping.
    in edit java section
    String usr;
    Container container ;
    GlobalContainer globalContainer ;
    intialize usr = "";
    in First UDF
    String inlogin_sess =  " ashutosh test value" ;
    globalContainer.setParameter(usr,inlogin_sess);
    return any value :
    now if i create another 2nd UDF and use :
    String  out =globalContainer.getParameter(usr);
    return out ;
    now 2nd UDF is giving null pointer exception...
    for testing the code functionality..
    IF i  use the  SET and GET in 1st UDF :
    globalContainer.getParameter(usr);   in 1st UDF than it is working sucessfully...
    globalContainer.setParameter(usr,inlogin_sess);
    String  out = globalContainer.getParameter(usr);
    return out ;
    in help.sap it is mentioned that Globalcontainer objects  values can be fetched   among UDF's in one message mapping....
    [http://help.sap.com/saphelp_nw04/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/frameset.htm]
    i have gone a lot of thread in sdn where Global container are used like sequence no creation etc, but every where  the
    GET and SET are used in SAME UDF...
    any clue where is leak..
    Regards,
    ashutosh R

    Hi Abhishek
    Your point is legimate, but for my their is no such issue..
    even i try to use it as :see image..
    [http://www.screenshots.cc/show.php/14137_GlobalVariable.JPG.html]
    UDF1 :
    globalContainer.setParameter(usr,inlogin_sess);
    return any value :
    and in UDF2 
    String  out = globalContainer.getParameter(usr);
    return out ;
    mainting the sequence
    My concern is object globalContainer is local in UDF1, so it will through nullpointer ,if we try to access in UDF2.
    if we declare globalContainer   in edit jave -GlobalVariables also, still it is having the error..
    Regards
    AshutoshR

  • KONP object value in CDHDR

    I am trying to see the changes done on KONP - Pricng table. In CDHDR what will be the Object value for this KONP table. WHen i put the table name and field name in CDPOS, it is not giving me any details
    In short i am trying to see the changed done in KONP table, where do i see these changes and how??
    Regards
    Screams

    Do a change in KONP table and save it. If there is change document generated for it you it will be the last entry added to CDHDR by you so use filter
    CDHDR-USERNAME = ...
    CDHDR-UDATE = today.
    If you don't get any results, this means there is no change document generation triggered. Go to tcode SWEC to check which event of BOR object is triggered for given change document object. You need to add new event here in order to activate change document generation.
    To trace which event is raised during KONP change go to SWEL and turn the trace on. Do a change in KONP table and save it. Go to trace log SWELS and check the event name.
    Now go back to SWEC and add the change doc. gener. for this BOR object and event.
    Turn the trace off using SWEL
    Regards
    Marcin

  • Setting object properties associated with portlet.

    I want to set object properties of a portlet. i am using the following code
    portletResponse.setSettingValue(SettingType.Portlet,"Categories","My CVategories")
    the changed value does not get reflected in the portlet object properties.
    please help me out.
    Regards,
    Prashant

    Hi Prashant,
    The code you are using will set Portlet Preferences not Portlet Object Properties.
    Thanks,
    Bharat

  • Setting objects on not visible rows

    Hi there,
    I'm building a TreeTable (on the 1st column a tree, n the 2nd one some checkboxes, and on all the others some statistics collected from the tree). Particularly, the seconf column allows to select a bunch of tree nodes for later treatments.
    Say all the tree is not expanded and I check a node that has some of its descendant childs node not visibles (parent not currently expanded). I'd like my program to automatically check all descendant childs nodes of the currently being check node - INCLUDED all childs that are not visible.
    In my cellEditor (I can use "row" as the only information to get the right node), I currently have that kind of ugly code to do so:
    public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) {
            CTestTreeNodeData testTreeNodeData = (CTestTreeNodeData) sortTreeTable.getValueAt(row, 0); // get the tree node -> column=0
        short newState = computeNewState(testTreeNodeData.getState()); // compute the new state ("checked" or "not checked")
    t    estTreeNodeData.setState(newState); // set this new value on the model
    switch (newState) {
         case CThreeStateCheckboxModel.SELECTED:
         case CThreeStateCheckboxModel.PARTIALLY_SELECTED:
                   // need to do this in this order to get correctly the rows
                   mainFrame.expandNodeAll(row); // first expand of descendant childs !!!!               
                   mainFrame.checkNodeAll(row, newState); // check all childs from current row (this code is incrementing row, then verify from the new treepath to see if it's a descendant or not and redo it recursively
                   mainFrame.collpaseNode(row); // HACK !!!! restore how it was before
                   break;
          return defaultCellEditor.getTableCellEditorComponent(table, threeStateCheckbox, isSelected, row, column);which looks very bad for me... Is there a better solution to change data on some currently hidden nodes if we have only the row has input ?
    Thx,
    Eg\\*

    Hi Namsheed,
    I think this is normal because the travel request does not include any booking details.
    The travel request is before any online bookings.
    So might be it would help to explain in detail your process and used components.
    Best regards,
    Sigi

  • Getting error while trying to set text for form value field in oaf

    Hi ALL,
    When i am trying to set text for a form value type field it is giving null pointer exception, please help me out.
    I tried below way.
    OAFormValueBean containlineid=(OAFormValueBean)webBean.findChildRecursive("item11");
                containlineid.setText(pageContext,"test");
    Thanks

    HI Keerthi,
    I am able to set and get the value now, i am able to see the data in my log window, but in my page it is erroring out, giving null pointer exception.
    after commenting the two lines setting and getting value page is running fine, so any clue on this, please check the below code.
    public class XXDPECONTAINLINESCO extends OAControllerImpl
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
        OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
          OARawTextBean startDIVTagRawBean =
          (OARawTextBean) webBean.findChildRecursive("DivStart");
          System.out.println("debhorizontal"+ startDIVTagRawBean);
    // addScrollBarsToTable(pageContext, webBean,"DivStart", "DivEnd", true , "400",true,"400");
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
         String preplenish = pageContext.getParameter("item1");
          String pworkorder = pageContext.getParameter("item2");
          String pdmr = pageContext.getParameter("item4");
          String punloading = pageContext.getParameter("item6");
          String prrnum=pageContext.getParameter("item16");
          String pworknum=pageContext.getParameter("item14");
          String pdtr=pageContext.getParameter("item13");  
          Serializable param[] = {preplenish,pworkorder,pdmr,punloading,prrnum,pworknum,pdtr};
          OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
          if(pageContext.getParameter("item11")!=null)
            if(am !=null)
              am.invokeMethod("getSearchData",param);
          if (pageContext.getParameter("item30") != null) {
            String recout = (String)am.invokeMethod("getSelectedData");
               System.out.println("deb multi select test"+recout);        
                System.out.println("1111test1"+pageContext.getParameter("item32")); 
                OAFormValueBean containlineid=(OAFormValueBean)webBean.findChildRecursive("item32");
                System.out.println("1111test2"+pageContext.getParameter("item32"));
                //containlineid.setValue(pageContext,recout);
                System.out.println("1111"+pageContext.getParameter("item32"));
              ///  System.out.println("22222"+containlineid.getValue(pageContext));
            containlineid.setValue(pageContext,recout);
            containlineid.getValue(pageContext);                            
               System.out.println("1111test3"+pageContext.getParameter("item32"));
    --------------Error it is giving in the page as----------------
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at _OA._jspService(_OA.java:71) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) ## Detail 0 ## java.lang.NullPointerException at xxdpe.oracle.apps.ak.xxdpecontain.webui.XXDPECONTAINLINESCO.processFormRequest(XXDPECONTAINLINESCO.java:123) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.beans.layout.OAMessageComponentLayoutBean.processFormRequest(Unknown Source
    Thnaks

  • Setting a default initial value to a CHAR type field in a custom table

    Is it possible to set a default initial value to a field in a customer table(Ztable) that is not SPACE?  SAP sets the initial value to " " space for datatype CHAR.
    I am looking at creating a field in a table that would always default to 'X' on creation of a new row.
    Your response is appreciated..

    Hi,
    I believe this cannot be done..
    If you are inserting the row through a program then you can insert the field value to be 'X'.. If the value is not passed ..Then it will be blank..
    If you are using table maintenance then in the PAI ..you can insert values..
    Thanks,
    Naren

  • Workitem ID wise to get the Object value

    Hi All,
    is it possible to get the object value form Workitem id wise.
    for example workitem id '446085' based on that workitem id i want to retrieve the object value.
    Please clarify.,
    Thanks & Regards
    K.Gunasekar.

    Hi
    I want to update the object Reference.
    for example i am getting the object value from SAP_WAPI_GET_OBJECTS. (F.M)
    based on the workitem_id.
    i want to update the objects reference from the original one.
    if is it possible means please let me know.
    Thanks & Regards
    K.Gunasekar.

  • JTree get selected node/object values

    I wan to get all the selected nodes/objects values that I added to the JTree. How can I do this?
    Thanks.

    TreePath[] paths = tree.getSelectedPath();
    for(int i = 0; i < paths.length; i++){
    TreeNode node = (TreeNode)paths.getLastPathComponent();
    Object mySelectedObject = node.getUserObject();
    }Some minor Errors
    We have to use array paths[i] instead of paths
    The correct code as used by me is
            javax.swing.tree.TreePath[] paths = jTree1.getSelectionModel().getSelectionPaths();
            for(int i = 0; i < paths.length; i++){
                javax.swing.tree.TreeNode node = (javax.swing.tree.TreeNode)paths.getLastPathComponent();
    System.out.println(((javax.swing.tree.DefaultMutableTreeNode)node).getUserObject());
    CSJakharia

  • Reload object value from session

    Hi, I use a for loop to get object value "JPEG" from servlet.
    My servlet create different value of "JPEG".
    But the result is JPEG keeps in its first value.
    The value won't change!!
    Can anyone tell me how to solve this bug ??
    Thanks in advance
    <%
    String x[] ={"80" ,"241" ,"401" ,"561" ,"80" ,"241" ,"401" ,"561" ,
    "80" ,"241" ,"401" ,"561" ,"80" ,"241" ,"401" ,"561" };
    String y[] ={"40" ,"40" ,"40" ,"40" ,"161" ,"161" ,"161" ,"161" ,
    "281" ,"281" ,"281" ,"281" ,"401" ,"401" ,"401" ,"401" };
    for (int i=0;i<10;i++){
    String jpeg = (String) session.getValue("JPEG");
    int jpeg_ch = Integer.parseInt(jpeg,10);
    %>
    <img style="position: absolute; left:<%= x[jpeg_ch] %>; top:<%= y[jpeg_ch] %>; width: 160; height:120;" Src="http://192.168.10.110:8080/servlet/Servlet?jpeg=<%= jpeg_ch %>">
    <%
    %>

    <code>
    for (int i=0;i<10;i++){
    String jpeg = (String) session.getValue("JPEG");<i>// Wrong</i>
    int jpeg_ch = Integer.parseInt(jpeg,10);
    %>
    // That should be the following:
    String jpeg;
    for (int i=0;i<10;i++){
    jpeg = (String) session.getValue("JPEG");<i>// Wrong</i>
    int jpeg_ch = Integer.parseInt(jpeg,10);
    %>
    </code>

  • Openscript - adf   unable to identify object value

    Hi Everyone,
    Please find the screenshot in the below shared link, where the adf inputtext object value is not identified while doing object test.
    https://docs.google.com/file/d/0B0qqXKChgAG1VkRmR1Y0eEYyQlE/edit?usp=sharing
    Kindly suggest on this whether it is a bug .
    Regards,
    Mohan.

    Can we also get a screenshot of all the read-only attributes of that object?

  • "Can't set object server" Error during SLD Initialization

    Hi,
    During System Installation at SLD configuration, problems occured and
    we skipped the step for later execution. After Installation and SPS13
    Application, we tried again but the following error occurs.
    Can't set object server
    com.sap.engine.interfaces.cross.ObjectReferenceImpl incompatible with
    com.sap.engine.services.applocking.LogicalLockingFactory
    Here I'm attaching the defaulttrace.log section produced during the error
    Defaulttrace.log
    tion#administrators#SAP-J2EE-Engine#administrators#
    #1.#001125BDBC10007600000028001420FA000443E69BC669DF#1200557641853#com.sap.lcr.webui.Admin#sap.com/com.sap.lcr#com.sap.lcr.webui.Admin#Administrator#6330##bporprod_BPP_1663750#Administrator#22947de0c4d411dccb66001125bdbc10#SAPEngine_Application_Thread[impl:3]_13##0#0#Error#1#/Applications/SLD#Plain###Can't set object server#
    #1.#001125BDBC10007600000029001420FA000443E69BC66ACD#1200557641853#com.sap.lcr.webui.Admin#sap.com/com.sap.lcr#com.sap.lcr.webui.Admin#Administrator#6330##bporprod_BPP_1663750#Administrator#22947de0c4d411dccb66001125bdbc10#SAPEngine_Application_Thread[impl:3]_13##0#0#Error##Plain###Thrown:
    java.lang.ClassCastException: com.sap.engine.interfaces.cross.ObjectReferenceImpl incompatible with com.sap.engine.services.applocking.LogicalLockingFactory
            at com.sap.rprof.dbprofiles.JDBCProfileLock.<init>(JDBCProfileLock.java:52)
            at com.sap.rprof.dbprofiles.JDBCProfileFactory.newProfileLock(JDBCProfileFactory.java:41)
            at com.sap.rprof.dbprofiles.RemoteProfile.getRemoteProfileFromFactoryForUpdate(RemoteProfile.java:230)
            at com.sap.lcr.start.EnvManager.getWriteableEnv(EnvManager.java:512)
            at com.sap.lcr.webui.Admin.actionInitialSetup(Admin.java:877)
            at com.sap.lcr.webui.Admin.doGet(Admin.java:231)
            at com.sap.lcr.webui.Admin.doPost(Admin.java:61)
            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:401)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
            at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
            at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
            at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.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(AccessController.java:215)
            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    #1.#001125BDBC10005F000092B3001420FA000443E69BE47659#1200557643822#com.sap.engine.services.security.roles.SecurityRoleImpl#sap.com/irj#com.sap.engine.services.security.roles.SecurityRoleImpl#Guest#6332####6047b4f0c44211dc8975001125bdbc10#Thread[Thread-53,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error#1#/System/Security/Audit/J2EE#Java###: Authorization check for caller assignment to J2EE security role [ : ].#3#ACCESS.ERROR#SAP-J2EE-Engine#administrators#
    does anyone faced the problem, and please a solution purpose
    regards

    defo an autorisation issue
    #1.#001125BDBC10005F000092B3001420FA000443E69BE47659#1200557643822#com.sap.engine.services.security.roles.SecurityRoleImpl#sap.com/irj#com.sap.engine.services.security.roles.SecurityRoleImpl#Guest#6332####6047b4f0c44211dc8975001125bdbc10#Thread[Thread-53,5,SAPEngine_Application_Threadimpl:3]_Group##0#0#Error#1#/System/Security/Audit/J2EE#Java###: Authorization check for caller assignment to J2EE security role : .#3#ACCESS.ERROR#SAP-J2EE-Engine#administrators#
    Where you assign the role depends on how you have setup your ume configuration - to the ABAP stack or have it managed in the Java stack
    If its just a java stack configuration for user management page of the java stack
    http://<servername>:50000/useradmin and give the user as many roles and permissions from there
    otherwise its PFCG in the abap stack of your system

Maybe you are looking for

  • Export / Import  from Memory in background.

    Hi, I have a trouble and I dont know very well how to solve it. I have a Z report running in background, and this report uses a SUBMIT to call another one. Before the SUBMIT, there is an EXPORT to memory sentence; and the second report read this memo

  • What happened to command control D over text?

    In Snow Leopard and Lion, you could hold down command control D over text (try it in TextEdit or Safari) and the definition for the word would pop up. What happened to this?  Why is it gone?  How can this be restored? Anyone? It is so bothersome when

  • What are you're thoughts on OSX cracked for PC

    http://apple.slashdot.org/article.pl?sid=06/10/27/2056225&from=rss I read this article and am a little bit worried about being a future mac user. Am I understanding right that eventually hackers will be able to find a way to put OSX on non apple hard

  • Lightroom 4.3 camera profiles. V3 beta no more available!

    After fresh installation of Lightroom 4.3, I am not able to install old nikon camera profiles v3 beta, therefore my old pictures are darker by -0,5EV. Copied profiles to the proper directory and NOTHING!

  • Transfer Music with other software! Please help

    I was reading one of the FAQ from nomadness.net and they said that if you have connection problem with Zen then you could try some other transfer software such as Windows Media Player. Does anyone know how to transfer music with these other software