Saving Buttonmodel results in exception

Hi, I'm trying to save the state of a group of JRadioButtons on a GUI. I have an Object which contains all the gui components, it's called Zone. The constructor takes String and float [ ] and a DefaultButtonModel [ ] and gives them to the fields of Zone. Until there everything works fine. But when I'm trying to write Zone to a file the writeObject(zone) method in ObjectOutputStream throws an Exception.
If I construct the DefaultButtonModel [ ] as a dummy with new DefaultButtonModel( ) elements the exception is not thrown. Does anyone have an idea what's happening?

Execute BW query using ABAP Part III

Similar Messages

  • I am using Lightroom 5 and am hapy about it, but recently I hav encountered a problem when trying to edit an image in another program, i.e. Elements. I used the clone tool, saved the result and went back to Lightroom to open the image there. I did find a

    I am using Lightroom 5 and am hapy about it, but recently I hav encountered a problem when trying to edit an image in another program, i.e. Elements. I used the clone tool, saved the result and went back to Lightroom to open the image there. I did find a second copy, but this is identic with the one I already had in Lightroom, and I can see noe result of the clone process.

    At the moment I would say it is uncertain whether Acrobat is completely ignoring the change, or whether the changes you are making aren't affecting the ink density. I have a suggestion for a test you could make to see which is the case.
    When editing in Photoshop just add a box or mark on the image, for your tests.
    - If this box does not appear in Acrobat, you know Acrobat is not seeing the edit
    - If this box does appear in Acrobat, you know the problem is that your tool for changing ink densities is not taking effect.

  • Saving query result to a file

    Hi,
    I have a sql*developer version 1.5 but i am getting a problem while saving query result to a file. When i click on "script output "-> "file icon" nothing is showing.
    Can anyboby guide me whether its a bug or some other settings are required.
    I have oracle 10.2.0.3 working on linux.
    Thanks & regards
    Girish

    I am getting the same thing and as far as I know it is a bug.
    As a workaround, you can either copy the contents of the script output or run the query as a statement (F9) instead of as a script (F5) and export the query results from the results tab.

  • Saving query results to a flat file

    Hello Experts!
    We have a very specific issue on our current project and I would like to know if any of you have ever done something similar. We are taking query results from BW (after complex calculations, some based on SY-DATE) and saving them to flat files to transfer to a SQL database structure on the Enterprise Portal. From here, the portal team renders the information into more "static" dashboards that include mouse over features and even limited drilldown (i.e. no matter where a user clicks the report always drills down on profit center)
    There are many reasons why the model is set up as such (mostly training of executive level end users), and even though it doesn't mesh with the idea that BW could do this work on its own, we have to work with what we have.
    We have come up with 3 possible ways to save this data to flat files and hopefully someone can tell us which might be the most effective.
    1.) Information Broadcasting. If we broadcast XML files to the portal, will the portals team be able to read that data into a SQL database? Is there another way to use broadcasting to create and send a flat file to specific location?
    2.) RSCRM_BAPI. This transaction seems to not support texts.
    3.) Open Hub. In order to get the open hub to work, we first have to save all of our query results to direct write data store objects using APD. (calculations based on current date, for example, would require daily full loads to the underlying data providers otherwise.)
    What is the best way to accomplish this? Is information broadcasting capable of doing this?
    Thanks!

    Hi Adam,
    Do you have to use flat files to load the information to a SQL database? (if so maybe someone else has a suggestion on which way would be the best).
    I try to stay away from flat file uploads as there is a lot of manual work involved. May I suggest setting up a connection to your SQL table in the DBCON table and then writing a small abap program to push data into the SQL database (which you can automate).
    1) Use APD to push data into a table within BW.
    2) Go to transaction SM30 > table DBCON and setup a new entry specifying the conncection parameters to your SQL database.
    3) In SE38 Write an ABAP program along the folloing lines (assuming the connection you set in DBCON is named conn1:
    data: con_name like dbcon-con_name
    con_name = 'conn1'.
    exec sql.
      set connection :con_name
    endexec.
    ****have a select statement which reads data from your table which the data is saved from the APD into an internal table**********
    ****loop on the internal table and have a SQL insert statement to insert the records into the SQL table as below******
    exec sql.
    insert into <SQL TABLE> (column names seperated by ,)
    values (column names of the internal table seperated by ,)  if the internal table is named itab the columns have to be specified as :itab-column1
    If you decide to take this approach you may find more info on DBCON and the process in sdn. Good Luck!
    endexec.

  • Using Simple Transformations with Objects tt:copy .. results in Exception

    Question:
    How can I serialize an ABAP-Object-Instanz with my own simple transformation?
    In the sap-documentation I found the following solution for the serialisation of any data-objects.
    "z_steffens_simple_transf":
    <?sap.transform simple?>
    <tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
      <tt:root name="ROOT"/>
      <tt:template>
        <root>
          <tt:copy ref="ROOT"/>
        </root>
      </tt:template>
    </tt:transform>
    Following the example I wrote this report:
    report  zspahr_test_simple_transf.
    class serializable definition.
      public section.
        interfaces if_serializable_object.
        data attr type string value 'Attribute'.
    endclass.         
    method main_serializable.
        data: oref type ref to serializable,
              xmlstr type xstring.
        create object oref.
        call transformation id
          source root = oref
          result xml xmlstr.
        call function 'DISPLAY_XML_STRING'
          exporting
            xml_string = xmlstr.
        call transformation z_steffens_simple_object
          source root = oref
          result xml xmlstr.
        call function 'DISPLAY_XML_STRING'
          exporting
            xml_string = xmlstr.
      endmethod.                    "main_
    start-of-selection.
      demo=>main_serializable( ).
    Executing this report leads to an exception "CX_SY_REF_NOT_SUPPORTED".
    The "standard" transformation "ID" ist working an translates my object-instance into an asXML representation:
      <?xml version="1.0" encoding="utf-8" ?>
    - <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
    - <asx:values>
      <ROOT href="#o3" />
      </asx:values>
    - <asx:heap xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:abap="http://www.sap.com/abapxml/types/built-in" xmlns:cls="http://www.sap.com/abapxml/classes/global" xmlns:dic="http://www.sap.com/abapxml/types/dictionary">
    - <prg:SERIALIZABLE xmlns:prg="http://www.sap.com/abapxml/classes/program/ZSPAHR_TEST_SIMPLE_TRANSF" id="o3">
    - <local.SERIALIZABLE>
      <ATTR>Attribute</ATTR>
      </local.SERIALIZABLE>
      </prg:SERIALIZABLE>
      </asx:heap>
      </asx:abap>
    How can I do this with my own Simple Transformation "ZSPAHR_TEST_SIMPLE_TRANSF" ?
    I want to serialize my object using my own xml-structure, not the asXML-structure !
    Regards
    Steffen

    Hi,
    try like this,i think it may help you.
    ABAP:
    CALL TRANSFORMATION ztrans_test
          SOURCE
               root = partab
         RESULT XML lv_xstring.
    Trnsformation:
    <tt:root name="ROOT" type="?"/>
    <tt:template>
    <VALUES>
    <VALUE_SOURCE>
            <tt:value ref=".ROOT"/>
    </VALUE_SOURCE>
    <VALUE_PARAM>
    <tt:value ref="NAME"/>
    <tt:value ref="VALUE"/>
    </VALUE_PARAM>
    </VALUES>
    Thanks,
    Rajesh.

  • Error in saving search result in MDS application

    Hi All
    I'm developing a ADF customizable web appicatoion using jdeveloper 11.1.2.0
    It works fine when I deploy this application to metadata repository, but when I Save a search result in search panel it gives following error "You do not have permission to replace this search"
    This is my configuration in ADF-Config file
    <persistence-config>
    <metadata-namespaces>
    <namespace metadata-store-usage="MAR_TargetRepos" path="/pages"/>
    </metadata-namespaces>
    <metadata-store-usages>
    <metadata-store-usage default-cust-store="true" deploy-target="true" id="MAR_TargetRepos">
    <metadata-store class-name="oracle.mds.persistence.stores.db.DBMetadataStore">
    <property value="mds-csd" name="repository-name"/>
    <property value="jdbc/mds/csd" name="jndi-datasource"/>
    <property value="owsm" name="partition-name"/>
    </metadata-store>
    </metadata-store-usage>
    </metadata-store-usages>
    </persistence-config>
    Please help me to resolve this error

    Hi,
    you are trying to change a system search, which is not allowed for customization. You can save custom searches in MDS but not override system searches
    +"Query component now support the overriding the saved search functionality. When user click on the "Save..." button, "Create Saved Search" dialog comes up with name field populated with the currently selected saved search. If user enters a "System Search" name and click OK button, a error dialog stating "You do not have permission to replace this search:" is shown. If user enters an already existing saved search name then a warning dialog stating "Replace existing search:" is shown. On clicking OK existing search is replaced with the new definition. If a name that is not already present in the saved-search list is provided, a new search with the given name is created. For this a new event QueryOperationEvent.Operation.OVERRIDE is added.+
    +Query component now allows the deletion of saved-search which is currently active search in the query-panel. When user deletes currently active saved-search, we set the first search from system-search list as the currently active search, and refresh the query-panel when "Personalized Saved Search" dialog is closed. "+
    http://jdevadf.oracle.com/adf-richclient-demo/docs/release-notes.html
    Frank

  • Saving formula results in structures

    Hi,
    i built a structure to input values of a "profit and loss"-statement. The turnover, for example, is shown as a sum of three accounts:
    account        description
    10000          Turnover 1
    11000          Turnover 2
    12000          Turnover 3
    13000          Total Turnover (formula: account 10000 + account  11000 + account 12000)
    If i open the planning-query it is possible to input values for the first three accounts and the sum in the "Total"-account is calculated.
    After saving these values i tried to get just the value of the "Total"-account (13000), but got no result.
    ? is it possible to save the result of a formula in a cube ?
    Best regards,
    Bernhard Cerny

    Bernhard,
    You have to have something to save the value against in the cube - i.e. with your example of a formula in a structure the system would not understand which account to save the data against.
    I suppose the question is, why do you need a total? If just for reporting then you can achieve via a structure, formula or a hierarchy at runtime. Alternatively you can utilise excel's native functionality to present the calculations in a workbook and utilise 7.0's new cell referencing capabilities (=bexgetdata)
    If you need the calculated value for some other purpose - e.g. you need to reference the value in a FOX formula to calculate a different value or you need to report the sum into another cube for aggregated calculations (e.g. BS / CF etc.) then you can do this by, for example, using the filters or summing within the FOX.
    However, if you must have the total in the cube then create an account in the database to reflect the total, put it an input query and then either use a hierarchy with the new postable nodes functionality or a fox formula to calculate or use =bexsetdata to reference the cell you wish to save into the database
    =BExSetData(cell where value is, "DATA_PROVIDER_X", column names, row names).
    Hope this helps,
    Keith

  • BEx query : results and exceptions

    Hi people,
    I'm using BI 7.
    I've two questions.
    In a first part i want to know if i can use an exception in order to color all the line (characteristics + key figures) ?
    Because just the key figures are colored with many options I tried.
    In a second part, in the same query, i'm using a hierarchy, some characteristics and a key figure.
    I want to have a line of results for each hierarchy node (node at the top), and too a line of results for a following field.
    Like the following example :
    Hierarchy node level 1:A  field1:2 field2:x k_fig:17
    global result for field1----k_fig:17
    Hierarchy node level 1:A  field1:1 field2:y k_fig:12
    Hierarchy node level 1:A  field1:1 field2:x k_fig:3
    global result for field1----k_fig:15
    global result for hierarchy node level 1-----k_fig:32
    Hierarchy node level 1:B  field1:1 field2:z k_fig:4
    global result for field1----k_fig:4
    global result for hierarchy node level 1-----k_fig:4
    I hope you could help me for the two problems.
    Points will be assigned,
    Cheers,
    Vince
    Edited by: vince ricard on Apr 2, 2008 6:39 PM

    Nobody has a solution in order to highlight the whole row (characteristic and key figures) for a value of a key figure ?
    With WAD or Query Designer, I'm trying to highlight a line with an exception on a key figure but it apparently colors only key figures.
    For example i would have entire colored rows for negative key figure :
    field1:a field2:x field3:e key_figure:1
    field1:b field2:x field3:e key_figure:7
    field1:b field2:y field3:e key_figure:-5
    field1:d field2:z field3:j key_figure:1
    I can use WAD or Query Designer but not Visual Composer or Report Designer...
    Thanks for help.

  • Saving macro results between steps

    All,
    We have a requirement where we need to save the results from Step 1 of the macro into the livecache before executing the next step - standard macros do not save the results until the Save icon is clicked on. Any ideas on how to do this? Essentially, I am looking to replicate the Save icon except that it is to be triggered from within the macro.
    Thanks
    AR

    I dont think it is possible to do that in foreground mode. Even if you use collective macro there is nothing you can do to save intermediate steps. That is a basic design issue about macros. I think this fact is well documented as well in Macro help.
    If you are doing this in batch however, you should use multiple steps in the activity or multiple activities itself to make sure intermediate steps are committed to the DB.

  • Saving all results from requests coming from a script?

    Hi everbody,
    Is there a possibity to save in a file all the results coming from a script?
    My script provide me 14 results from select query and I want to save this results...
    Thank's for helping me

    beyou wrote:
    yes now I'm trying with SPOOL but doesn't work... :-(Try subtracting 42, that usually fixes the It doesn't work error.
    SQL> declare l_dummy number;
      2  begin
      3    select chr(ascii(count(null)) + 51) into l_dummy from dual
      4    where 0 = 1;
      5  exception when others then
      6    raise_application_error(-20666, 'It doesn''t work!');
      7  end;
      8  /
    declare l_dummy number;
    ERROR at line 1:
    ORA-20666: It doesn't work!
    ORA-06512: at line 6
    SQL> edi
    Wrote file afiedt.buf
      1  declare l_dummy number;
      2  begin
      3    select chr(ascii(count(null)) + 51 - 42) into l_dummy from dual
      4    where 0 = 1;
      5  exception when others then
      6    raise_application_error(-20666, 'It doesn''t work!');
      7* end;
    SQL> /
    PL/SQL procedure successfully completed.

  • ADF 10.1.3 : Saving VO results when application is closed.

    Hello,
    I have written to code to save the VO results in a file which i want to call when application is closed. So in which method should i call the code so that VO results are always saved irrespective of how application window is closed.
    Also i want to load the VO results into the VO when application starts, in which method should i do this?
    Regards
    Lokesh

    John,
    Thanx for the reply. Let me elaborate my requirement.
    My application is a web application. I have created a VO [not based on sql query]. This VO is populated by the user by providing various inputs on the application page. All i want to do is store these VO rows on the user file system when the user closes the application and then reload these rows back into the VO from the stored file when user reopens the application.
    Now i don't want to keep writing the rows on file system as soon as VO is populated as this would lead to bad performance, so i am looking to save the VO rows when application closes. Is there any way to do it??
    Regards
    Lokesh

  • Saving query results to text file

    Hi experts,
    I would like to save a query results to text file.
    The query has desined to the correct structure and I wish the query results will be saved automaticly to text file every time the query is running.
    The query should cintain some sql code that will save the query to text file instead of show the query results.
    What function of SQL should I add to query to achieve that goal. (The query is a long one).
    Thanks in advance,
    Joseph

    If you are talking about Query Manager, it is not difficult to do.  No matter how long your query coding is, just go to the start point of your query.  Then press CtrlShiftEnd to select all the TEXTs.  CtrlC and CtrlV will copy the text (query codes) to text file easily.
    Thanks,
    Gordon

  • Saving query results as excel

    hi,
    Is there a way to save the query results as excel programatically (some kind of utility which does the job)? we are using oracle 10g. This will be a nightly job.. so that every other day morning we have the huge excel report ready for viewing. Any help is appreciated..

    Did you think to try searching the forum? I typed in the EXACT string you used for your thread title and the first hit was ...
    Saving sql query result as excel file

  • Calling stopApp(String, Map) on J2EEServer instance results in exception

    Hi All,
    I'm trying to stop a deployed application on SJSAS 8.1 using AMX beans. The specific problem that I am having is that I receive an IllegalArgumentException when I call stopApp(String, Map) on an instance of J2EEServer.
    The API documentation for J2EEServer leaves quite a lot to the imagination and as a result I'm not sure if I'm putting the correct information in the Map object. I have tried all sorts of things including passing in null and empty maps but every combination results in the same exception.
    The code I am using is as follows:
            final String host = "localhost";
            final int port = 4867;
            final String user = "admin";
            final String password = "adminpassword";
            final TLSParams tlsParams = null;
            final AppserverConnectionSource conn =
            new AppserverConnectionSource(AppserverConnectionSource.PROTOCOL_RMI,
                                          host, port, user, password, tlsParams, null);
            JMXConnector jmxConn;
            DomainRoot dr = null;
            J2EEDomain j2eeDomain;
            J2EEServer j2eeServer = null;
            try
                jmxConn = conn.getJMXConnector(false);
                dr = conn.getDomainRoot();
                j2eeDomain = dr.getJ2EEDomain();
                final Map servers = j2eeDomain.getServerMap();
                j2eeServer = (J2EEServer) servers.get("sjsas-instance");
            catch (IOException ioe)
                fail("Test threw an unexpected exception, details: " + ioe.getMessage());
            System.out.println("Domain name is: " + dr.getAppserverDomainName());
            Map map = new HashMap();
            map.put(DeploymentMgr.DEPLOY_OPTION_NAME_KEY, "my-application-name");
            j2eeServer.stopApp("spr-adapter", map);The exception that I'm getting is as follows:
    java.lang.reflect.UndeclaredThrowableException
         at $Proxy3.stopApp(Unknown Source)
         at JMSConnectivityTest.testJMSConnectivity(JMSConnectivityTest.java:65)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at com.sun.enterprise.management.support.AMXImplBase.invoke(AMXImplBase.java:1363)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
         at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1410)
         at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1247)
         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1343)
         at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:784)
         at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
         at sun.rmi.transport.Transport$1.run(Transport.java:153)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.management.RuntimeOperationsException: Exception occured trying to get an MBean
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:999)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:804)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
         at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
         at $Proxy12.stopAndReturnStatusAsMap(Unknown Source)
         at com.sun.enterprise.management.j2ee.J2EELogicalServerImplBase.stopApp(J2EELogicalServerImplBase.java:106)
         ... 24 more
    Caused by: java.lang.IllegalArgumentException: Object name cannot be null
         ... 30 moreAnd the entry I get in the server.log is as follows:
    [#|2008-06-09T16:32:55.399+0100|FINER|sun-appserver-ee8.1_02|javax.enterprise.system.tools.admin.server.mbeans.J2EEServer:sjsas-instance|_ThreadID=22;|# AMXImplBase.invoke: stopApp{java.lang.String,java.util.Map} on amx:j2eeType=J2EEServer,name=sjsas-instance|#]
    [#|2008-06-09T16:32:55.399+0100|FINER|sun-appserver-ee8.1_02|javax.enterprise.system.tools.admin.server.mbeans.J2EEServer:sjsas-instance|_ThreadID=22;|invoking: public void com.sun.enterprise.management.j2ee.J2EELogicalServerImplBase.stopApp(java.lang.String,java.util.Map)|#]if anyone can provide any pointers I'd be most grateful of the assistance.
    Cheers,
    Edd

    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!
    Try a Coke-a-Cola ther good!

  • Query user ACL results in exception, PortalException, Invalid pointer AxisFault

    Hi,
    I am developing a remote portlet application in Java for plumtree portal v 5.0.3, using EDK library v 5.0. The requirement is to determine if the user accessing the application has "Admin" privileges for the portlet or not.. For this, I query User (and all the user's groups) ACL to check if the AccessLevel is Admin. This method seemed to work fine on the development environment but fails on staging environment. I have checked the SOAP-API-URI and other settings like sending Login Tokens etc, and all seems to be fine. The application is written in Java hosted on a UNIX box, while the portal is on Windows environment.
    Following is the code where the error occurs:
    IPortletContext edk = PortletContextFactory.createPortletContext(request, response); IRemoteSession remoteSession = edk.getRemotePortalSession(); //IRemoteSession remoteSession = RemoteSessionFactory.getTokenContext(edk.getRequest().getRemoteAPIEndpoint(), edk.getRequest().getLoginToken()); -- Tried this but no difference
    IPortletManager portletManager = remoteSession.getPortletManager(); logger.debug("Got Remote portal session");
    int portletId = edk.getRequest().getPortletID(); IACL acl = portletManager.queryACL(portletId);<-- This is where it breaks
    Following is the exception stacktrace that I get.
    AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultString: Server was unable to process request. --> Invalid pointer faultActor: null faultDetail: stackTrace: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultString: Server was unable to process request. --> Invalid pointer faultActor: null faultDetail:
    Server was unable to process request. --> Invalid pointer at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:135) at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:949) at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1203) at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:294) at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:261) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:147) at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:286) at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:232) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:546) at org.apache.axis.Message.getSOAPEnvelope(Message.java:377) at org.apache.axis.client.Call.invokeEngine(Call.java:2132) at org.apache.axis.client.Call.invoke(Call.java:2102) at org.apache.axis.client.Call.invoke(Call.java:1851) at org.apache.axis.client.Call.invoke(Call.java:1777) at org.apache.axis.client.Call.invoke(Call.java:1315) at com.plumtree.remote.prc.soap.DirectoryAPISoapBindingStub.queryACL(Unknown Source) at com.plumtree.remote.prc.soap.DirectoryProcedures.QueryACL(Unknown Source) at com.plumtree.remote.prc.xp.XPACLPersistence.QueryEntries(Unknown Source) at com.plumtree.remote.prc.xp.XPACLPersistence.QueryACL(Unknown Source) at com.plumtree.remote.prc.xp.XPObjectManager.queryACL(Unknown Source) at com.plumtree.remote.prc.ObjectManagerWrapper.queryACL(Unknown Source) at com.enbridge.txb.web.shared.security.PortalAuthenticationUtil.isUserACLAdmin(PortalAuthenticationUtil.java:159) at com.enbridge.txb.web.shared.security.SetAdminPrefsAction.getAdminPrefs(SetAdminPrefsAction.java:82) at java.lang.reflect.Method.invoke(Native Method) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:278) at com.enbridge.txb.web.shared.BaseAction.execute(BaseAction.java:116) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:465) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1422) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:505) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:560) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:148) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Unknown Source)
    Server was unable to process request. --> Invalid pointer at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:135) at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:949) at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1203) at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:294) at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:261) at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:147) at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:286) at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:232) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:546) at org.apache.axis.Message.getSOAPEnvelope(Message.java:377) at org.apache.axis.client.Call.invokeEngine(Call.java:2132) at org.apache.axis.client.Call.invoke(Call.java:2102) at org.apache.axis.client.Call.invoke(Call.java:1851) at org.apache.axis.client.Call.invoke(Call.java:1777) at org.apache.axis.client.Call.invoke(Call.java:1315) at com.plumtree.remote.prc.soap.DirectoryAPISoapBindingStub.queryACL(Unknown Source) at com.plumtree.remote.prc.soap.DirectoryProcedures.QueryACL(Unknown Source) at com.plumtree.remote.prc.xp.XPACLPersistence.QueryEntries(Unknown Source) at com.plumtree.remote.prc.xp.XPACLPersistence.QueryACL(Unknown Source) at com.plumtree.remote.prc.xp.XPObjectManager.queryACL(Unknown Source) at com.plumtree.remote.prc.ObjectManagerWrapper.queryACL(Unknown Source) at com.enbridge.txb.web.shared.security.PortalAuthenticationUtil.isUserACLAdmin(PortalAuthenticationUtil.java:159) at com.enbridge.txb.web.shared.security.SetAdminPrefsAction.getAdminPrefs(SetAdminPrefsAction.java:82) at java.lang.reflect.Method.invoke(Native Method) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:278) at com.enbridge.txb.web.shared.BaseAction.execute(BaseAction.java:116) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:465) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1422) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:505) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:560) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:148) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Unknown Source)
    can anyone please help me? :-(
    Thanks,Gaurav

    Hi,
    By default on CE SLD is not available. Please go through this to configure SLD
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20c58fff-0c62-2b10-4381-9ac4d920a8cc
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c09527da-39a7-2b10-9f99-c6a007e516a5
    Regards
    Ayyapparaj

Maybe you are looking for