IllegalAccessError when trying to create a proxy for a non-public interface

My code proxies a class that extends JDialog. Under Java5 this works fine. However when I switch to Java6 I get a java.lang.IllegalAccessError: class javax.swing.$Proxy3 cannot access its superinterface javax.swing.TransferHandler$HasGetTransferHandler exception.
I went through debugging my code to find out what went wrong. I created the included test code that shows the problem (and because the real codebase is much too big to include here).
package javax.swing;
public class SomePackageInterfaceDefiningClass {
    interface SomeInnerPackageInterface {
package javax.swing;
import java.lang.reflect.Proxy;
import java.util.ArrayList;
import java.util.Collection;
import org.apache.commons.lang.ArrayUtils;
public class NonPublicInterfaceProxyCreator {
    public static void main(String[] args) {
        // This works fine !
        doTest(WindowConstants.class);
        // This also ! The proxy class package is javax.swing as expected
        doTest(SomePackageInterfaceDefiningClass.SomeInnerPackageInterface.class);
        // JDialog implements the package visible interface
        // javax.swing.TransferHandler.HasGetTransferHandler
        Collection<Class<?>> jdInterfaces = new ArrayList<Class<?>>();
        for (Class<?> interfaze : JDialog.class.getInterfaces()) {
            jdInterfaces.add(interfaze);
        Collection<Class<?>> strippedJdialogInterfaces = new ArrayList<Class<?>>(
                jdInterfaces);
        for (Class<?> interfaze : jdInterfaces) {
            if (interfaze.getName().equalsIgnoreCase(
                    "javax.swing.TransferHandler$HasGetTransferHandler")) {
                strippedJdialogInterfaces.remove(interfaze);
        // Without the package visible interface it works !
        doTest(strippedJdialogInterfaces.toArray(new Class<?>[0]));
        // With the package visible interface it fails
        doTest(jdInterfaces.toArray(new Class<?>[0]));
    private static void doTest(Class... interfaces) {
        // Class clazz = Proxy.getProxyClass(JDialog.class.getClassLoader(),
        // interfaces);
        Class clazz = Proxy.getProxyClass(Thread.currentThread()
                .getContextClassLoader(), interfaces);
        System.out.println("Class created = " + clazz
                + " >>>> Implemented interfaces = "
                + ArrayUtils.toString(clazz.getInterfaces()));
}When I run this code under Java5 I get:
Class created = class $Proxy0 >>>> Implemented interfaces = {interface javax.swing.WindowConstants}
Class created = class javax.swing.$Proxy1 >>>> Implemented interfaces = {interface javax.swing.SomePackageInterfaceDefiningClass$SomeInnerPackageInterface}
Class created = class $Proxy2 >>>> Implemented interfaces = {interface javax.swing.WindowConstants,interface javax.accessibility.Accessible,interface javax.swing.RootPaneContainer}
Class created = class $Proxy2 >>>> Implemented interfaces = {interface javax.swing.WindowConstants,interface javax.accessibility.Accessible,interface javax.swing.RootPaneContainer}Under Java6 I get:
Class created = class $Proxy0 >>>> Implemented interfaces = {interface javax.swing.WindowConstants}
Class created = class javax.swing.$Proxy1 >>>> Implemented interfaces = {interface javax.swing.SomePackageInterfaceDefiningClass$SomeInnerPackageInterface}
Class created = class $Proxy2 >>>> Implemented interfaces = {interface javax.swing.WindowConstants,interface javax.accessibility.Accessible,interface javax.swing.RootPaneContainer}
Exception in thread "main" java.lang.IllegalAccessError: class javax.swing.$Proxy3 cannot access its superinterface javax.swing.TransferHandler$HasGetTransferHandler
     at java.lang.reflect.Proxy.defineClass0(Native Method)
     at java.lang.reflect.Proxy.getProxyClass(Proxy.java:504)
     at javax.swing.NonPublicInterfaceProxyCreator.doTest(NonPublicInterfaceProxyCreator.java:45)
     at javax.swing.NonPublicInterfaceProxyCreator.main(NonPublicInterfaceProxyCreator.java:38)According to the documentation the interface javax.swing.TransferHandler$HasGetTransferHandler should be visible to my class as it is located in the same package, right?
I think there must be some classloading issue when trying to access the non-public interface javax.swing.TransferHandler$HasGetTransferHandler in rt.jar.
I can not figure out what is different between my own non-public interface and Swing's javax.swing.TransferHandler$HasGetTransferHandler.
Any help would be appreciated.

I don't agree completely. What you're telling is true, don't get me wrong. It's the Error that I get from Java that troubles me.
To resolve the classloading question, I changed my code as follows:
package javax.swing;
import java.lang.reflect.Proxy;
import java.util.ArrayList;
import java.util.Collection;
import org.apache.commons.lang.ArrayUtils;
public class NonPublicInterfaceProxyCreator {
    public static void main(String[] args) {
        // This works fine !
        doTest(WindowConstants.class);
        doTest2(WindowConstants.class);
        // This also ! The proxy class package is javax.swing as expected
        doTest(SomePackageInterfaceDefiningClass.SomeInnerPackageInterface.class);
        doTest2(SomePackageInterfaceDefiningClass.SomeInnerPackageInterface.class);
        // JDialog implements the package visible interface
        // javax.swing.TransferHandler.HasGetTransferHandler
        Collection<Class<?>> jdInterfaces = new ArrayList<Class<?>>();
        for (Class<?> interfaze : JDialog.class.getInterfaces()) {
            jdInterfaces.add(interfaze);
        Collection<Class<?>> strippedJdialogInterfaces = new ArrayList<Class<?>>(
                jdInterfaces);
        for (Class<?> interfaze : jdInterfaces) {
            if (interfaze.getName().equalsIgnoreCase(
                    "javax.swing.TransferHandler$HasGetTransferHandler")) {
                strippedJdialogInterfaces.remove(interfaze);
        // Without the package visible interface it works !
        doTest(strippedJdialogInterfaces.toArray(new Class<?>[0]));
        doTest2(strippedJdialogInterfaces.toArray(new Class<?>[0]));
        // With the package visible interface it fails
        doTest(jdInterfaces.toArray(new Class<?>[0]));
        doTest2(jdInterfaces.toArray(new Class<?>[0]));
    private static void doTest(Class... interfaces) {
        ClassLoader contextClassLoader = Thread.currentThread()
                .getContextClassLoader();
        System.out.println("Classloader that creates proxy = " + contextClassLoader);
        try {
            Class clazz = Proxy.getProxyClass(contextClassLoader, interfaces);
            System.out.println("Class created = " + clazz
                    + " >>>> Implemented interfaces = "
                    + ArrayUtils.toString(clazz.getInterfaces()));
        } catch (Throwable e) {
            e.printStackTrace();
    private static void doTest2(Class... interfaces) {
        ClassLoader contextClassLoader = JDialog.class.getClassLoader();
        System.out.println("Classloader that creates proxy = " + contextClassLoader);
        try {
            Class clazz = Proxy.getProxyClass(contextClassLoader, interfaces);
            System.out.println("Class created = " + clazz
                    + " >>>> Implemented interfaces = "
                    + ArrayUtils.toString(clazz.getInterfaces()));
        } catch (Throwable e) {
            e.printStackTrace();
}And here is the result when I run it on Java 1.6:
Classloader that creates proxy = sun.misc.Launcher$AppClassLoader@11b86e7
Class created = class $Proxy0 >>>> Implemented interfaces = {interface javax.swing.WindowConstants}
Classloader that creates proxy = null
Class created = class $Proxy1 >>>> Implemented interfaces = {interface javax.swing.WindowConstants}
Classloader that creates proxy = sun.misc.Launcher$AppClassLoader@11b86e7
Class created = class javax.swing.$Proxy2 >>>> Implemented interfaces = {interface javax.swing.SomePackageInterfaceDefiningClass$SomeInnerPackageInterface}
Classloader that creates proxy = null
java.lang.IllegalArgumentException: interface javax.swing.SomePackageInterfaceDefiningClass$SomeInnerPackageInterface is not visible from class loader
     at java.lang.reflect.Proxy.getProxyClass(Proxy.java:353)
     at javax.swing.NonPublicInterfaceProxyCreator.doTest2(NonPublicInterfaceProxyCreator.java:64)
     at javax.swing.NonPublicInterfaceProxyCreator.main(NonPublicInterfaceProxyCreator.java:18)
Classloader that creates proxy = sun.misc.Launcher$AppClassLoader@11b86e7
Class created = class $Proxy3 >>>> Implemented interfaces = {interface javax.swing.WindowConstants,interface javax.accessibility.Accessible,interface javax.swing.RootPaneContainer}
Classloader that creates proxy = null
Class created = class $Proxy4 >>>> Implemented interfaces = {interface javax.swing.WindowConstants,interface javax.accessibility.Accessible,interface javax.swing.RootPaneContainer}
Classloader that creates proxy = sun.misc.Launcher$AppClassLoader@11b86e7
java.lang.IllegalAccessError: class javax.swing.$Proxy5 cannot access its superinterface javax.swing.TransferHandler$HasGetTransferHandler
     at java.lang.reflect.Proxy.defineClass0(Native Method)
     at java.lang.reflect.Proxy.getProxyClass(Proxy.java:504)
     at javax.swing.NonPublicInterfaceProxyCreator.doTest(NonPublicInterfaceProxyCreator.java:51)
     at javax.swing.NonPublicInterfaceProxyCreator.main(NonPublicInterfaceProxyCreator.java:41)
Classloader that creates proxy = null
Class created = class javax.swing.$Proxy6 >>>> Implemented interfaces = {interface javax.swing.WindowConstants,interface javax.accessibility.Accessible,interface javax.swing.RootPaneContainer,interface javax.swing.TransferHandler$HasGetTransferHandler}As you can see, I get an IllegalArgumantException telling me that my interface I try to proxy is not visible for JDialog's classloader, as I would expect. Remark that Java tells me that JDialog's classloader is null. Strange, isn't is?
However I get an IllegalAccessError when I try to proxy TransferHandler$HasGetTransferHandler from my own classloader.
Any reason why the error is different?

Similar Messages

  • Error when trying to create XUSER information for SAPServiceSID

    Hi all,
    I am getting the following error when trying to create the XUSER information for the SAPServiceSID user on a WINDOWS/MAXDB 7.9 install..  Does anyone know a FIX for this?
    >xuser -c .\SAPServiceSID -U c -u CONTROL,P@ssw0rd -d SID -n HOSTNAME -S INTERNAL -t 0 -I 0 set
    FATAL: Close xuser entry failed: could not write USER data [1307]
    I am running the command as the SIDADM user. 
    I have tried the solutions in the following notes without success:
    39642
    1542818
    39439
    1875264
    1409913
    Thanks!

    Hi Jayson,
    Try this.
    Solution
    Add the "Administrators" group under:
    Control Panel
    -> All Control Panel Items
       -> Administrative Tools
          -> Local Security Policy
             -> Local Policies
                -> User Rights Assignment
                  -> Take ownership of files or other objects
    You check you command and modify.
    xuser.exe -c Hostname\SAPServiceSID -U DEFAULT -u Username, Password -d SID -n Hostname -S Schema_Name -t 0 -I 0 set'
    Regards,
    V Srinivasan

  • "Operation is not valid due to the current state of the object" error when trying to create a link for a shared folder in OneDrive

    I'm trying to share a folder in OneDrive with another user in my organization, and create a link so that people outside of the company can see the folder. Whenever I try to create a link I get an error that says: "Couldn't create the link sorry something
    went wrong operation is not valid due to the current state of the object" How do I resolve this?

    Hi,
    Sorry for replying late and I noticed that you posted another thread in this forum:
    http://social.technet.microsoft.com/Forums/en-US/2b8c6f54-9c59-4b37-b28f-1d49a1b7913b/operation-is-not-valid-due-to-the-current-state-of-the-object-error-when-trying-to-create-a-link?forum=officeitpro
    I've replied and kindly refer to it to see if it is helpful.
    Regards,
    Melon Chen
    TechNet Community Support

  • When trying to create an account for Firefox Sync, it gives me the message "Unknown Error" for the User Name, no matter what text I enter.

    I am currently on a corporate network, and it may be blocking a site that needs to be allowed in order for this to go through, however I do not know what site that would be.
    All that I have tried is to test different User Names and restart the Setup.
    Any assistance would be greatly appreciated.

    Hi There,
    Can you please try using any other Internet connection outside your company's network and see if it is working? Alternatively, Can you please try the below settings from the Advanced... Menu while creating the connection using FTP details and try to create the connection again:
    Regards,
    Mayank

  • "Recovery partition not found" when trying to creat recovery discs.

    I received the following error message when trying to create recovery discs for the first time "recovery partition not found"  HP G61 401SA Notebook and it is a couple of years old and has windows 7 as th OS.
    I specifically purchased DVD-R discs for the disc creation, which was advised from HP site was the only disc suitable.
    Am I doing something incorrect or is there an issue?
    Is this why I am unable to also create a back up - are the two things related? 

    GustoRMC wrote:
    Hi Erico
    I have managed to create the snip - but unsure how to incorprate into the reply here as copy paste will not work - how can I do that?#
    The dvd - r are Verbatim Wide Inkjet I have had success with the Verbatim DVD+R
    I did not know you are volunteer helpers - thanks goodness for people like you as trying to contact HP support for help was impossible and seemed like I kept going around in circles. No worries.    We are here to help.
    One more thing, could you advise on how much space the recovery might be approximately - I will need to make sure a USB has enough memory available. Take another look at the disk management window. The partition sizes are visible in the descriptions. My HP loaner has a large recovery partition at >20GB. That mean I had to use a 32GB usb flash drive Most others are smaller and a 16GB usb flash drive will suffice.
    Regards,
    erico
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Got error when trying to generate Java proxy jar file for webservice

    Hi,
    I am having a warning message when trying to generate java proxy jar file on weblogic8.1
    webservice test web app, the message is as follows:
    "Warning Failed to generate client proxy from WSDL definition for this service.
    Prescription Please verify the <types> section of the WSDL."
    in the mean time, on weblogic starting terminal, I saw the following exceptions,
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\AlphaLength4Deserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,4L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\OSIFieldAnonTypeDeserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkMaxLengthFacet(__typed_obj,69L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\AlphaLength2Deserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,2L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\FreeFormAnonTypeDeserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils"
    Can anybody help me about this issue? I attached WSDL file, also United Airlines
    got an enterprise weblogic license deal with BEA, any help will be highly appreciated.
    Thanks!!!
    Naichen
    [ModifyPNRWSContract.wsdl]

    Hi Naichen,
    I was able to successfully run both the autotype and clientgen Ant task, on the
    WSDL you provided. The code behind those Ant tasks are pretty much what the WebLogic
    Web Services test page run. Are you using WLS 8.1 SP2? If not, you might want
    to try with that version.
    Regards,
    Mike Wooten
    "Naichen Liu" <[email protected]> wrote:
    >
    >
    >
    Hi,
    I am having a warning message when trying to generate java proxy jar
    file on weblogic8.1
    webservice test web app, the message is as follows:
    "Warning Failed to generate client proxy from WSDL definition for this
    service.
    Prescription Please verify the <types> section of the WSDL."
    in the mean time, on weblogic starting terminal, I saw the following
    exceptions,
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\AlphaLength4Deserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,4L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\OSIFieldAnonTypeDeserializer.java:36: cannot resolve
    symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkMaxLengthFacet(__typed_obj,69L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\AlphaLength2Deserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,2L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\FreeFormAnonTypeDeserializer.java:36: cannot resolve
    symbol
    symbol : class FacetUtils"
    Can anybody help me about this issue? I attached WSDL file, also United
    Airlines
    got an enterprise weblogic license deal with BEA, any help will be highly
    appreciated.
    Thanks!!!
    Naichen

  • Recently purchased a 2nd handed iphone 4 (that's all i afford) but when trying to create icloud account it give me "com.apple.appleaccount error 403" message. I am asking for support and advice.

    recently purchased a 2nd handed iphone 4s(that's all i afford) but when trying to create icloud account it give me "com.apple.appleaccount error 403" message. I am asking for support and advice.

    Did you already check this post?
    Re: I am facing problem in signing in iCloud on my iPhone. when I enter my Apple ID, I got the message which is: "The Operation could't be completed. (com.apple.appleaccount error 403.)"  Kindly solve my problem. I want to sign iCloud from my iPhone.worri

  • How can I quit the photos app? It has been trying to create a library for hours but nothing happens. when I try to quit, it won't let me.

    How can I quit the photos app? It has been trying to create a library for hours but nothing happens. when I try to quit, it won't let me. Have just upgraded from iPhotos so don't want to lose any content.

    How can I quit the photos app? It has been trying to create a library for hours but nothing happens. when I try to quit, it won't let me. Have just upgraded from iPhotos so don't want to lose any content.
    Force-quit Photos as recommended by Arsenal1607.
    Make backup of your iPhoto Library and run the iPhoto Library First Aid tools to repair the permissions on your library and rebuild the iPhoto Library.
    To launch the First Aid Tools hold down the  alt/option and the command key simultaneously while double clicking the iPhoto Library to launch the iPhoto Library First aid tools. You'd to hold down both keys firmly and long enough, until the First Aid panel will appear.
    Try both the options "Repair Permissions" and "Rebuild library".  Then try again to migrate the iPhoto Library to Photos by dragging it onto the Photos icon in the Dock.
    Make sure, you have plenty of free storage. Don't try the migration, if you are running out of storage.

  • NI-VISA 5.1.2 exits/closes right after launching it on a Linux CentOS 6.2 PC, also crashes LabVIEW when trying to create VISA ref constant for VISA Open.

    After installing LaBVIEW 2011 and NI-VISA 5.1.2 on a CentOS 6.2 PC, I had noticed a problem with trying to use the VISA vi's in LabVIEW, basically it's not working for me, LabVIEW crashed when trying to create a control or constant for the VISA Open vi.  Tried to launch the VISA tools, they all start and then close abruptly.  NI I/O Trace only shows one line.
    I did read though many threads and decided to collect the NI system.log, which is attached. (system.log.gz).  I did notice a strange message in here about nivisaserver:
    /usr/bin/tail --lines=25 /var/log/messages:
    May 22 11:18:48 localhost abrtd: Package 'nivisaserver' isn't signed with proper key
    May 22 11:18:48 localhost abrtd: Corrupted or bad dump /var/spool/abrt/ccpp-2012-05-22-11:18:48-3258 (res:2), deleting
    Thanks!
    Solved!
    Go to Solution.
    Attachments:
    system.log.gz ‏621 KB

    MountainMan12 wrote:
    After installing LaBVIEW 2011 and NI-VISA 5.1.2 on a CentOS 6.2 PC, I had noticed a problem with trying to use the VISA vi's in LabVIEW, basically it's not working for me, LabVIEW crashed when trying to create a control or constant for the VISA Open vi.  Tried to launch the VISA tools, they all start and then close abruptly.  NI I/O Trace only shows one line.
    I did read though many threads and decided to collect the NI system.log, which is attached. (system.log.gz).  I did notice a strange message in here about nivisaserver:
    /usr/bin/tail --lines=25 /var/log/messages:
    May 22 11:18:48 localhost abrtd: Package 'nivisaserver' isn't signed with proper key
    May 22 11:18:48 localhost abrtd: Corrupted or bad dump /var/spool/abrt/ccpp-2012-05-22-11:18:48-3258 (res:2), deleting
    Hi MountainMan,
    Thanks for attaching the system report log -- I believe I have a solution for you :-) Let's look at a few of the lines:
    890: /proc/meminfo:
    891: MemTotal: 3894712 kB
    1726: /proc/iomem:
    1784: 100000000-12dffffff : System RAM
    1807: /bin/dmesg:
    1820: BIOS-provided physical RAM map: 2576: [nipal] More than 4GB of addressable memory detected.
    1838: BIOS-e820: 0000000100000000 - 000000012e000000 (usable)
    2576: [nipal] More than 4GB of addressable memory detected.
    2577: [nipal] This configuration is not supported. Check the release notes for more information.
    Starting at the bottom at lines 2576..2577, dmesg had more than just the NI-VISA server signing notification. At system boot, the NI kernel modules refused to load because they detected more than 4 GB of addressable memory. But, if you look towards the top at lines 890..891, meminfo says you have less than 4 GB of system memory, which makes it seem like the NI modules don't know what they're talking about. However, if you look at the report from iomem a little further down on lines 1726..1784, system RAM has been re-mapped above the 4 GB boundary. While your system doesn't have more than 4 GB of RAM, some of its memory has addresses above 4 GB, which the NI modules cannot use and so they refuse to load. How did that happen? Your system BIOS provided a physical RAM map with usable addresses above the threshold (line 1838).
    The fix here is simple -- you need to tell the kernel to reserve addresses above 4 GB [1] so that it won't remap the RAM to higher memory. Once all of the RAM has addresses below the 4 GB threshold, the modules should load and VISA/LabVIEW/et al should stop misbehaving.
    It seems to me that LabVIEW is not handling this situation very gracefully, and maybe you can work with Kira to file a bug report.
    [1] Re: Successful SUSE linux and DAQmx install; nilsdev and other utilities missing.
    http://forums.ni.com/t5/Multifunction-DAQ/Successful-SUSE-linux-and-DAQmx-install-nilsdev-and-other/...
    Joe Friedchicken
    NI VirtualBench Application Software
    Get with your fellow hardware users :: [ NI's VirtualBench User Group ]
    Get with your fellow OS users :: [ NI's Linux User Group ] [ NI's OS X User Group ]
    Get with your fellow developers :: [ NI's DAQmx Base User Group ] [ NI's DDK User Group ]
    Senior Software Engineer :: Multifunction Instruments Applications Group
    Software Engineer :: Measurements RLP Group (until Mar 2014)
    Applications Engineer :: High Speed Product Group (until Sep 2008)

  • Error message when trying to create a unique name

    Why do I keep getting an Error message when trying to create a unique name for a location on your site. I am simply looking to use your free 2GB space to store some pics and vids but keep getting an error message.

    How come Leopard let me use the WGM in standard mode?
    While SA complains that it won't work in Standard Configuration, WGM does not. There is some fault in the logic of this for which I don't have an explanation.
    If I want to get control on Dock, selection of Home folder, config of Proxy... which I think are basic things, do I really need the advanced mode?
    If you wish to have complete control of all client settings, yes. There really is no disadvantage of using an Advanced configuration other than the learning curve.
    So if I switch to advanced mode, there is good chance I won't get this error message anymore, right?
    Yes.

  • How to create ABAP Proxy for SSL secured ABAP Service

    Hi guys,
    I try to set up transport security for my ABAP web service. The service should be called via a ABAP Proxy.
    These are my steps to create the ABAP web service:
    1. Create function module (se80)
    2. Create web service (web service definition) (service wizard)
    2.1 Authentication = STRONG
    2.2 Transport Guarantee = BOTH
    3. Activate service (wsconfig)
    4. Control service (wsadmin)
    Afterwards I tried to create the proxy but when I add the WSDL URI I always get an
    HTTP error (return code 407, message "ICM_HTTP_SSL_ERROR")
    I tried to find a "How to" but I was not successfull. Also the saphelp http://help.sap.com/saphelp_nw04/helpdata/en/65/6a563cef658a06e10000000a11405a/frameset.htm was not helpful for me.
    Hopfully you can help me! Every comment is appreciated!
    Regards

    I advise to have a look into the ICM trace file (dev_icm) - either by using ABAP transaction ST11 or SMICM.
    There you should find error details. Most likely it's about the "chain verifier" complaining that he's unable to verify the certificate of the communication peer.
    In that case [SAP Note 1094342|https://service.sap.com/sap/support/notes/1094342] might be helpful.

  • Help. I'm trying to create a DTP for 0INDUSTRY texts

    I'm trying to create a DTP for 0INDUSTRY (texts), but when I assign the DataSource (0INDUSTRY_TEXT), it shows me the next error message: "Target 0industry (type IOBJ) is not active".
    Of course I've checked 0industry and it is already active!
    I have the same issue with several characteristics.
    Do somebody knows what can I do?

    Hi,
        Try comin out of rsa1 transaction and then going back in...else login and logoff.  Its generally happens that the changes dont get reflected and it then shows that error.
    assign points if helpful
    Regards.

  • Am i the only one who when trying to enter the code for creative cloud activation ?

    I give up,i have been trying to activate a 3 month subscription for CS6 from Staples and every time i try the code it will not work.  I have used the chat live and spent about 3 hours already going nowhere.  I do not like talking on the phone to some help desk overseas and the only thing i think left to do is to return the junk.

    I tried all that and even took a picture of the numbers and blew them up so a blind person could read them and had 3 others read them off.  A simple way to fix the problem is get someone on Adobes staff to find a font that most people can read from whatever product the stick it to.
    John McDonough
    Date: Wed, 1 Aug 2012 18:33:58 -0600
    From: [email protected]
    To: [email protected]
    Subject: Am i the only one who when trying to enter the code for creative cloud activation ?
        Re: Am i the only one who when trying to enter the code for creative cloud activation ?
        created by David__B in Adobe Creative Cloud - View the full discussion
    Hey John,
    Not sure if it helps or not, but I know sometimes with codes like that its really hard to tell certain characters apart, O - like in Oscar versus 0 - number and number 1 versus lowercase L like in Lima.
    Might test entering it both ways if you have any suspect characters?
    -Dave
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4592955#4592955
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4592955#4592955. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Creative Cloud by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Error message in Adobe Pdf in printer device panel when trying to create a pdf document.  I have CS3

    Error message in Adobe Pdf in printer device panel when trying to create a pdf document.  I have CS3 Web Premium with Acrobat Professional 8.  I use it fine on my old computer with Windows XP.  I recently got a new laptop with Windows 7.  I installed all my Adobe programs, and I think they are working.  When I look at Adobe PDF in the device section of the Control Panel it looks okay.  But when I try to print a Word, Photoshop, or HTML page in PDF, nothing happens.  I have tried printing both as File>print and using the PDF tab on the top menu bar.  I look at the device in the control panel and it has the yellow error warning symbol and suggests trying to troubleshoot.  I look at the document list and it says status "error".  When I try troubleshooting Windows suggests doing some Home Sharing and also suggests canceling the document I'm trying to print.  I tried re-installing just Acrobat 8 from CS3 (and have to use Photoshop CS4 disk for shared documents I guess).  I ran into a can't locate adobepdf_dll file, so did a web search on this issue and found a suggestion that I find and use the adobepdf_dll_64 file and may have to (I did have to) remove the "_64" for it to work.  I think I successfully reinstalled using that dll file- no errors came up anyway.  But still when I try printing/converting a photoshop, webpage, or word document into pdf, the pdf device in control panel still gives the error status on the document and gives the same troubleshooting advice.  Help?

    I just compared the properties between the two computers.  On the old computer it has the port as "My Documents/*.pdf".  On my new computer it lists the port as "LPT1".  I tried changing the port to "Print as File", but when I try printing a photoshop picture as pdf, I get a "Access Denied".  I then tried to create a new port on the device control panel.  I tried to create a local port "My Documents/*.pdf" port but was denied.  I ten tried to create a new port type and control panel asked for an INF file.  I wonder if this is where my problem lies.  Thoughts?

  • Error when trying to create a JCO Destination

    Hi
    I receives the following error when trying to creat a JCO Destination, clicking on the button in the host:port/webdynpro/dispatcher/sap.com/tcwdtools/Explorer
    I get the following error:
    Error stacktrace:
    java.lang.NullPointerException
         at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.checkStatus(SystemLandscapeFactory.java:880)
         at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.checkStatus(WDSystemLandscape.java:469)
         at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateJCODestinations(NameDefinition.java:272)
         at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateNavigation(NameDefinition.java:237)
         at com.sap.tc.webdynpro.tools.sld.NameDefinition.wdDoInit(NameDefinition.java:144)
         at com.sap.tc.webdynpro.tools.sld.wdp.InternalNameDefinition.wdDoInit(InternalNameDefinition.java:223)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:274)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:540)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:398)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:555)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
         at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:43)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:540)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:398)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:620)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:263)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:740)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:350)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:640)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
         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:391)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:265)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
         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(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         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:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Any ideas?
    Regards
    Kay-Arne

    Hi,
    Have you configured your SLD? Check JCO Destination error out or search for "com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.checkStatus" in the SDN forums.
    Best regards,
    Vladimir

Maybe you are looking for

  • HT1386 I am trying to restore my playlists but it tells me that some files can't be found, how do I fix that?

    I am tryng to create a new playlist but some of the songs on the cloud have an explanation point next to them and they won't import.  How can I fix this?

  • SQL Injection analysis report does not work.

    I have tried to run the SQL Injection report (Home|Utilities|Object Reports Security|QL Injection but it comes up with the following message. "SQL Injection analysis is not supported with your current database version. It is only available for Oracle

  • Scrap Values in Variable Selection Screen

    Hi, When the end user is trying to select a filter value for the characteristic in a workbook, the selection value screen displays a lot of scrap values, when he closes the selection screen and tries again to select a filter value then it displays th

  • Only run script if required by input

    I'm trying to setup a sql script that runs various other scripts from within. A number of these scripts will only need to be run if the user requires them to be. I've tried similar to the following, to no avail: ACCEPT run_scripts PROMPT 'Are extra s

  • After Effects CS5.5 rendering problem, PLEASE help!

    hello, my problem is the following: i can successfully render a video clip, but when i open the rendered file it's half too slow. what im trying to say is, if the original clip is 5 seconds long, the rendered file will be 10 seconds. this is very ann