Reading a profile

Hi,
I have the following code which works fine with EP6.0 SP2 but produces and error under Ep6.0 SP6. The code and the error message is appended below. Swiss chocolate for anyone who can help me with this!!!
Thanks,
Patrick Brigger
CODE:
public void doInitialization(){
      IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
      IPortalComponentContext myContext = request.getComponentContext();
      IPortalComponentProfile myProfile = myContext.getProfile();
      myBeanKS = new IViewUrlPickerBean();
      ....... things in between .....     
      // Put the bean into the application context
      myProfile.putValue("myBeanUrlPicker", myBeanKS);
ERROR MESSAGE:
ID:10:59_21/12/04_0007_908874150
[EXCEPTION]
#1#com.sapportals.portal.prt.component.PortalComponentException: Error in init method
Component : com.getabstract.pct.summaries.iview.IViewUrlPicker
     at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:251)
     at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:267)
     at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:312)
     at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:385)
     at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:435)
     at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
     at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
     at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
     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)
Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.getabstract.pct.intranetLibrary.appl.IViewUrlPicker of Portal Component com.getabstract.pct.summaries.iview.IViewUrlPicker because: Could not instantiate implementation class
     at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:269)
     at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getComponentInstance(PortalComponentItemFacade.java:160)
     at com.sapportals.portal.prt.core.broker.PortalComponentItem.getComponentInstance(PortalComponentItem.java:732)
     at com.sapportals.portal.prt.component.PortalComponentContext.getComponent(PortalComponentContext.java:103)
     at com.sapportals.portal.prt.component.PortalComponentContext.init(PortalComponentContext.java:242)
     ... 26 more
Caused by: com.sapportals.portal.prt.core.broker.PortalApplicationNotFoundException: Could not find portal application PDKSystem
     at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:413)
     at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:385)
     at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:385)
     at com.sapportals.portal.prt.core.broker.PortalApplicationItem._refresh(PortalApplicationItem.java:505)
     at com.sapportals.portal.prt.core.broker.PortalApplicationItem.getCoreLoader(PortalApplicationItem.java:1334)
     at com.sapportals.portal.prt.core.broker.PortalComponentItem.getClassLoader(PortalComponentItem.java:569)
     at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getClassLoader(PortalComponentItemFacade.java:102)
     at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)
     ... 30 more
#1.5#000E7F24AFBC0059000000CB00000F580003EBBD49870FF6#1103623145214#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#D024258#41974####f2dbf0e0533611d9ac83000e7f24afbc#SAPEngine_Application_Thread[impl:3]_38##0#0#Info##Plain###UserAgentHook: component com.sap.portal.runtime.system.hooks.ErrorComponent supports  (*, *, *) #
#1.5#000E7F24AFBC0042000147C600000F580003EBBD49FFF2F1#1103623153136#com.sap.caf.mp.iforms.queueprocessor.FormQueueProcessor##com.sap.caf.mp.iforms.queueprocessor.FormQueueProcessor#Administrator#1####18acda214f6611d9b559000e7f24afbc#SAPEngine_Application_Thread[impl:3]_33##0#0#Info##Plain###Checking queue: MailQueue for items in status: 0#
#1.5#000E7F24AFBC0042000147C700000F580003EBBD49FFF801#1103623153136#com.sap.caf.mp.iforms.queueprocessor.FormQueueProcessor##com.sap.caf.mp.iforms.queueprocessor.FormQueueProcessor#Administrator#1####18acda214f6611d9b559000e7f24afbc#SAPEngine_Application_Thread[impl:3]_33##0#0#Info##Plain###No queue item to process#
#1.5#000E7F24AFBC0042000147C800000F580003EBBD4A988B94#1103623163136#com.sap.caf.mp.iforms.queueprocessor.FormQueueProcessor##com.sap.caf.mp.iforms.queueprocessor.FormQueueProcessor#Administrator#1####18acda214f6611d9b559000e7f24afbc#SAPEngine_Application_Thread[impl:3]_33##0#0#Info##Plain###Checking queue: MailQueue for items in status: 0#
#1.5#000E7F24AFBC0042000147C900000F580003EBBD4A9890B8#1103623163136#com.sap.caf.mp.iforms.queueprocessor.FormQueueProcessor##com.sap.caf.mp.iforms.queueprocessor.FormQueueProcessor#Administrator#1####18acda214f6611d9b559000e7f24afbc#SAPEngine_Application_Thread[impl:3]_33##0#0#Info##Plain###No queue item to process#
#1.5#000E7F24AFBC000500001B5200000F580003EBBD4A9960E4#1103623163198#com.sap.caf.mp.core.model.MetaModelFactory$ModelConsistencyChecker##com.sap.caf.mp.core.model.MetaModelFactory$ModelConsistencyChecker######35a144404f6611d9b86a000e7f24afbc#SAPEngine_System_Thread[impl:5]_63##0#0#Info##Plain###Model consistency checker thread started.#
#1.5#000E7F24AFBC0042000147CA00000F580003EBBD4B31242D#1103623173136#com.sap.caf.mp.iforms.queueprocessor.FormQueueProcessor##com.sap.caf.mp.iforms.queueprocessor.FormQueueProcessor#Administrator#1####18acda214f6611d9b559000e7f24afbc#SAPEngine_Application_Thread[impl:3]_33##0#0#Info##Plain###Checking queue: MailQueue for items in status: 0#
#1.5#000E7F24AFBC0042000147CB00000F580003EBBD4B3129F1#1103623173136#com.sap.caf.mp.iforms.queueprocessor.FormQueueProcessor##com.sap.caf.mp.iforms.queueprocessor.FormQueueProcessor#Administrator#1####18acda214f6611d9b559000e7f24afbc#SAPEngine_Application_Thread[impl:3]_33##0#0#Info##Plain###No queue item to process#
#1.5#000E7F24AFBC0042000147CC00000F580003EBBD4BC9BCD0#1103623183136#com.sap.caf.mp.iforms.queueprocessor.FormQueueProcessor##com.sap.caf.mp.iforms.queueprocessor.FormQueueProcessor#Administrator#1####18acda214f6611d9b559000e7f24afbc#SAPEngine_Application_Thread[impl:3]_33##0#0#Info##Plain###Checking queue: MailQueue for items in status: 0#
#1.5#000E7F24AFBC0042000147CD00000F580003EBBD4BC9C1E7#1103623183136#com.sap.caf.mp.iforms.queueprocessor.FormQueueProcessor##com.sap.caf.mp.iforms.queueprocessor.FormQueueProcessor#Administrator#1####18acda214f6611d9b559000e7f24afbc#SAPEngine_Application_Thread[impl:3]_33##0#0#Info##Plain###No queue item to process#
#1.5#000E7F24AFBC0042000147CE00000F580003EBBD4C625581#1103623193136#com.sap.caf.mp.iforms.queueprocessor.FormQueueProcessor##com.sap.caf.mp.iforms.queueprocessor.FormQueueProcessor#Administrator#1####18acda214f6611d9b559000e7f24afbc#SAPEngine_Application_Thread[impl:3]_33##0#0#Info##Plain###Checking queue: MailQueue for items in status: 0#
#1.5#000E7F24AFBC0042000147CF00000F580003EBBD4C625A2D#1103623193136#com.sap.caf.mp.iforms.queueprocessor.FormQueueProcessor##com.sap.caf.mp.iforms.queueprocessor.FormQueueProcessor#Administrator#1####18acda214f6611d9b559000e7f24afbc#SAPEngine_Application_Thread[impl:3]_33##0#0#Info##Plain###No queue item to process#

Hi Patrick,
No swiss chocolate for me, maybe a bank account ?
In your error log I discovered the system PDKSystem could not be found. When you are using SP6, maybe you should install the PDK for SP6 as well.
https://www.sdn.sap.com/sdn/downloaditem.sdn?res=/html/PDK60_download.htm
Maybe that could be the problem.
cheers,
Noel

Similar Messages

  • Reading User Profile Properties pragmatically in SharePoint 2010 Returns Null Values Although it has values returned from AD

    Reading User Profile Properties pragmatically in SharePoint 2010 Returns Null Values Although it has values returned from AD
    I configured the user profile service application and run Sync and user profiles and its properties returned from Active directory but when I want to read it pragmatically it returns null values.
    this is my code...
       void runQueryButton_Click(object sender, EventArgs e)
               // Get the My Sites site collection, ensuring proper disposal
                using (SPSite mySitesCollection = new SPSite("http://sp/my"))
                    //Get the user profile manager
                    SPServiceContext context = SPServiceContext.GetContext(mySitesCollection);
                    UserProfileManager profileManager = new UserProfileManager(context);
                    UserProfile profile = profileManager.GetUserProfile("Contoso\\user");
                    foreach (Property prop in profileManager.Properties)
                       // if (prop.Name == "Department")
                        resultsLabel.Text += prop.DisplayName + ":" + profile[prop.Name].Value + "<br />"; ;

     Hi,
    Please try with the following code
          PrincipalContext principalContext = new PrincipalContext(ContextType.Domain);
                                SPServiceContext context = SPServiceContext.GetContext(site);
                                UserProfileManager profileManager = new UserProfileManager(context);                        
      foreach (Property prop in profileManager.Properties)
                       // if (prop.Name == "Department")
                        resultsLabel.Text += prop.DisplayName
    + ":" + profile[prop.Name].Value + "<br />"; ;
    Thanks,
    Vivek
    Please vote or mark your question answered, if my reply helps you

  • Could not read the profile path for user S-1-5-21-1272265863-3531003469-187

    hi
    I was doing the installation of the crm702 on MAXDB+WINDOWS.IN THE FIRST PHASE OF EXECUTION(CREATE USERS FOR SAP SYSTEM) I GOT THE ERROR MENTIONED BELOW.CAN SOMEONE HELPE ME    :
    An error occurred while processing option Enhancement Package 2 for SAP CRM 7.0 > SAP Application Server ABAP > MaxDB > Central System > Central System( Last error reported by the step: Could not read the profile path for user S-1-5-21-1272265863-3531003469-18741865-1021 from the registry: The system cannot find the file specified. .). You can now:
    Choose Retry to repeat the current step.
    Choose Log Files to get more information about the error.
    Stop the option and continue with it later.
    Log files are written to C:/crmfeb.

    Hi,
    Delete all keys in registry (regedit) with: S-1-5-21-1272265863-3531003469-18741865-1021. You can do it by find it - F3.
    After that restart sapinst.
    Regards.

  • Error when reading Exchange Profile

    Hello everyone,
    I have a simple file=>XI=>file scenario.
    The sender file adapter picks up the file fine.
    File is put-to and retreived-by the queue just fine.
    I then get the error "Error when reading Exchange Profile for system .. and client ..."
    SLDCHECK gives error "Connection to SLD does not work"
    LCRSAPRFC and SAPSLDAPI have been test and work fine.
    Any ideas?
    Thanks in advance
    Dimitris

    Hi,
    Try this:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/de/78/20244134a56532e10000000a1550b0/content.htm">SLDCHECK</a>
    and this note:
    764176 (which gives a quick solution foor all SLD problems)....
    Regards
    Suraj

  • IDoc adapter inbound channel: Error Error when reading Exchange Profile

    Hello Experts,
    Currently i am working on an IDOC to file scenario, in which Data will be sent from ECC server (IDOC) to an FTP server via SAP PI, but when i try to send IDOC to PI, i am getting the following error
    in Transaction SM58:-
    'IDoc adapter inbound channel: Error Error when reading Exchange Profile for system XID and
    client 401 occurred in the IS pipeline' .
    Can anyone please help me on this.
    Thanks & Regards,
    Amit Naik

    Hello Experts,
    Let me explain to you the whole scenario, We have two servers of PI, 7.1 & 7.0. Now the Java Stack of 7.0 is not working & Cache update of 7.1 is not happening.
    Thats why we have linked ABAP stack of 7.0 with Java stack of 7.1. Now we can see the objects created under Java 7.1 in ABAP stack of 7.0 (SXI_CACHE).
    Now we have done all the settings to create an IDOC to file scenario. All the RFCs are working fine, but when we send an IDOC from the ECC system to ABAP 7.0, we are getting the following error 'Error while reading exchange profile for system NW' in SM58 .
    Now can anyone tell me what exact settings i have to change in the Exchange profile (Java stack of 7.1), so that the Java 7.1 & ABAP 7.0 connection is setup or do i need to change anything else.
    Thanks & Regards,
    Amit Naik

  • XI : Error read exchange profile

    Hi,
    we have upgrade a XI 20 to XI 70 and all seems ok but when we test the system to send an idoc to the XI 70 from our R3 we got this error in
    Transaction Canceled IDOC_ADAPTER 106 ( Error while reading exchange profile for system XSD )"
    in SM21 in Xi 70 and in SM58 in R3.
    We have revised our configuration and all seems ok.
    It seems like IS cann't read the exchange profile but our test all ok.
    How can we check this?
    Thanks in advanced.

    Hi,
    In the web access to SLD I see the link "Administation" in Greyed Out.
    What about this?
    The user has LcrAdministrator ume role.
    Thanks in advanced.

  • How to create mandatory (read-only) profile for Terminal Services user (HP Thin Client) on Server2003... aaarrgghhh!

    I've been tearing my hair out for a couple of days now...
    I'm trying to create a mandatory profile for users logging in from hp thin clients on a 2003 server at a school.
    I've set up a prototype user, then copied the proto user's NTUSER.DAT to NTUSER.MAN and renamed
    NTUSER.DAT to NTUSER.DAT_unused.
    At that point, logging in as the prototype user looks ok.  It was my understanding that renaming NTUSER.DAT to NTUSER.MAN would make it a mandatory profile, and the user (in this case the proto user) would be unable to change it.  However, in this
    case the user can still modify the desktop and those modifications are preserved across logins.  The NTUSER.MAN file is being updated, judging by the timestamp changes.
    What am I missing?  
    I've tried putting the NTUSER.MAN in the user's dir on the server
     (C:\Documents and Settings\ProtoUser),
    in the DefaultUser, and in AllUsers.
    Right now I'm getting a default, unmodifiable profile which I have no idea where it comes from.
    In case it matters, the original user and directory tree from which the NTUSER.MAN I'm trying to use has been deleted, but I wouldn't think that should matter.
    For example, I have the option to not show the security tab set in the group policy, but it is showing up.
    The Start menu is showing as the classic start menu, and I had it set for the "new" (2 column) one.
    I've got hide network places on the desktop set, but it's showing up.
    Is there a way to tell where a profile is coming from?
    I'm pretty confused at this point; any clarifications / tips would be much appreciated.
    Related questions:
      If both an NTUSER.DAT and an NTUSER.MAN exist, which is used?
      If no profile is found for a user in the normal place, what happens?

    Hi,
    Thank you for posting in Windows Server Forum.
    A mandatory user profile is a special type of pre-configured roaming user profile that administrators can use to specify settings for users. With mandatory user profiles, a user can modify his or her desktop, but the changes are not saved when the user
    logs off. The next time the user logs on, the mandatory user profile created by the administrator is downloaded. There are two types of mandatory profiles: normal mandatory profiles and super-mandatory profiles.
    User profiles become mandatory profiles when the administrator renames the NTuser.dat file (the registry hive) on the server to NTuser.man. The .man extension causes the user profile to be a read-only profile.
    User profiles become super-mandatory when the folder name of the profile path ends in .man; for example, \\server\share\mandatoryprofile.man\.
    More information:
    Mandatory User Profiles
    http://msdn.microsoft.com/en-us/library/windows/desktop/bb776895(v=vs.85).aspx
    Using User Profiles in Windows Server 2003
    http://technet.microsoft.com/en-us/library/cc776120(v=ws.10).aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Reading system profile parameters programatically in ABAP

    Hi,
    Does anyone know how to read system profile parameters like icm/host_name_full using ABAP?
    Thanks in advance!
    Regards
    Erick

    You can use the following code to get the values.  Really it is just reading a file which is stored on the application server.
    report zrich_0001.
    types: begin of tpar,
           status type sy-index,
           name(60) type c,
           user_wert(60) type c,
           default_wert(60) type c,
           end of tpar.
    data: par_usub type table of tpar  with header line.
    data: par_sub  type table of tpar  with header line.
    call 'C_SAPGALLPARAM' id 'PAR_USUB' field par_usub-*sys*
                          id 'PAR_SUB'  field par_sub-*sys*.
    loop at par_usub.
      write:/ par_usub-name(30), par_usub-user_wert(20),
              par_usub-default_wert(20).
    endloop.
    Regards,
    RIch Heilman

  • Read color profiles in older EXIF formats

    The ability to read color profiles in older EXIF formats even when the profile is not embedded in the image itself, only written to EXIF, as the Kodak CD files discussed in a thread in the Bridge Macintosh forum.
    http://www.adobeforums.com/cgi-bin/webx?128@@.3bba2f62

    Chris,
    Sorry, I hadn't seen your post until just now.
    > If the profile isn't embedded, then EXIF can only specify 3 things: sRGB, Adobe RGB (1998), and uncalibrated.
    >
    >Bridge already reads those correctly.
    I wish that were the case. See the thread linked in my original post. Ian Lyons confirmed it.
    > We need to get sample files showing the problem you're seeing - because there is no "older EXIF" to read.
    Here's such a file:
    http://home.surewest.net/zaldidun/04b_rgc_10A.JPG
    These are files received on a Kodak CD from the Kodak lab that processed the film.

  • Console Log shows "Unable to read ICC profile", iWeb and Mail crash

    Hi experts
    I've a problem with what appears to be my ICC profiles. Mail and iWeb will consistently crash due to this problem. As the subject above says, all Applications will regularly report the following in console.log:
    cmsDataProviderGetBytes : CMCopyProfile: returned -4204
    CMSValidateProfile : Unable to read ICC profile
    To reproduce:
    in Mail:
    1) Open Mail and go to Apple Menu > Preferences > Rules
    2) Create a rule with action "Set Color of background" and in the colour picker drop-down menu choose "Other" -> Crash
    in iWeb:
    1) Open iWeb, choose "Welcome" as a template and click "Choose" -> crash
    In an attempt to solve the problem, I have tried:
    1) Using ColorSync Utility to fix profiles
    2) Replacing /Library/ColorSync/Profiles from the OS X DVD
    3) Creating a new profile using Display Calibrator Assistant
    4) Creating a new profile using a third party application, SuperCal
    5) Repairing permissions/my startup disk using Disk Utility (doing this last of course)
    Does anyone have some other ideas? I don't know whether this is new to 10.4.4 or not.
    Thanks in advance,
    Paul.

    Have had the same problem when I tried an experiment to get iPhoto to stop adding a color profile on my existing photos without a profile.
    I removed the .icc files in /System/Library/ColorSync/Profiles and got similar messages in console.log as you do.
    Moving the icc. files back made the problem disappear.
    What files does your folder mentioned above contain?
    Guess you should have the same files as I do.
    My folder contains 6 icc. files, including Adobe RGB 1998 and sRGB. Removing these solves my iPhoto fuckup, but as you experience makes other apps crash (like iWeb ..)

  • St03n : I want to read transaction profile workload displayed period more

    hi all
    I want to read transaction profile workload displayed period more than older data.
    e.x)  current month period is 2008/09 ~2008/08 but I want 2008/07
    Is is possible?
    may be remove older data?
    how can I get data? how can I change day, week, month display number ?
    Thanks.
    regards, june

    Hi Lee,
    Thanks for the clarification. Nope this is not possible as your reorganization jobs only keep data for three months - it is not possible.
    You can change it from today so that it keep accumulating data for a year in the future and doesn't delete it.
    For that you will have to do the following:
    Goto Expert Mode, then: Collector and Performance DB -> Monitoring Database -> Reorganization.
    Change your settings here for 12 months. This will also explain you the reasoning I gave above.
    Hope this helps.
    Regards, Dibya

  • Read ICC profile information of an image

    Dear community,
    for my further implementation I need some information about the ICC profile used for an actual image edited inside Photoshop. How can I read the ICC informations about an image?
    I am implementing an export plug-in and found some ICC component inside the ExportRecord struct, called:
    Handle iCCprofileData; /**< Handle containing the ICC profile for the image. (NULL if none.)
                                                Photoshop allocates the handle using the Photoshop handle suite.
                                                The handle is unlocked while calling the plug-in.
                                                The handle is valid from  \c ExportSelectorStart to \c ExportSelectorFinish
                                                Photoshop frees the handle after \c ExportSelectorFinish. */
    int32 iCCprofileSize; /**< Size of profile. */
    int32 canUseICCProfiles; /**< Non-zero if the host can accept or export ICC profiles .
                                                If this is zero, the plug-in should not set or dereference \c iCCprofileData. */
    What I am not understand:
    How can I read the iCCprofileData and which information will be delivered by the iCCprofileSize?
    For iCCprofileData I got int values like @179952120 or @179952176. They differ for every loaded image. Seems that I just read the memory address. The "Handle" points to an empty char '\0'. I have no idea how to work with the datatype "Handle" correctly ...
    For the iCCprofileSize I got integer values like 544 for the embedded profile Adobe RGB (1998), 3144 for the working color space sRGB IEC61966-2.1 or also 3144 for the embedded profile without color management:
    embedded profile  = Adobe RGB (1998) -> iCCprofileSize = 544 (or sometimes 560)
    working color space = sRGB IEC61966-2.1 -> iCCprofileSize = 3144
    embedded profile = without color management -> iCCprofileSize = 3144
    embedded profile = SWOP2006_Coated3v2 -> iCCprofileSize = 2747952
    working color space = Coated FOGRA39 (ISO 12647-2:2004) -> iCCprofileSize = 654352
    embedded profile = without color management -> iCCprofileSize = 654352
    The variable canUseICCProfiles delivers always the value 1. As well if I selected the embedded profile without color management.
    Can I infer from the iCCprofileSize which profile will be used by each image?
    Does somebody has more experience with these there members (iCCprofileData, iCCprofileSize and canUseICCProfiles) of the struct ExportRecord?
    I would be grateful for some hints.
    King regards,
    Silver

    hai,
    i paste the java source code for getting each pixel value of an image.i think that this code is usefull to you.
    import java.awt.image.PixelGrabber;
    import java.awt.Toolkit;
    import java.awt.Image;
    class getpixel2
    public static void main(String args[]) throws Exception
    Image image = Toolkit.getDefaultToolkit().getImage("D:\\one.jpg");
    if(image==null)
    System.out.println("NO FIle");
    PixelGrabber grabber = new PixelGrabber(image, 0, 0, -1, -1, false);
    if (grabber.grabPixels())
    int width = grabber.getWidth();
    int height = grabber.getHeight();
    if (isGreyscaleImage(grabber))
    byte[] data = (byte[]) grabber.getPixels();
    else
    int[] data = (int[]) grabber.getPixels();
    for(int i=0;i<data.length;i++)
    int r = (data[i] >> 16) & 0xff;
    int g = (data[i] >> 8) & 0xff;
    int b = (data[i] >> 0) & 0xff;
    System.out.println("(R,G,B)=("+r+","+g+","+b+")");
    public static final boolean isGreyscaleImage(PixelGrabber pg)
    return pg.getPixels() instanceof byte[];
    }

  • Trying to log in and message reads: User Profile Service failed the logon. Profile Cannot be loaded

    When I try to log on by clicking my user icon, I'm getting a message that reads:  The User Profile Service service faied the logon.  User Profile cannot be loaded.

    Hi,
    Check the guide on the link below to see if any of the options ( particularly using windows System Restore ) helps.
    http://www.vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loade...
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Can't get fresh Firefox installation to read old profile.

    I backed up my WHOLE profile folder to a backup drive (internal, D:\). I reformatted my C:\ drive. I reinstalled the OS (Win XP SP3) and Firefox. I copied over the profile files and nothing. I created a new profile with Profile Manager, nothing. I've tried un-/re-installing Firefox and copy-and-pasting the files, nothing. I've already read all of the FAQs. Please, please, please help. (also, the forum won't allow me to respond so please don't ask questions, I can't respond)
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)

    There are two different versions of Flash, the '''''ActiveX''''' version for IE and the '''Plugin''' version used by most other browsers.
    1.Download the Flash Plugin version setup file from here: <br />
    [http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player.exe Adobe Flash - Plugin version]. <br />
    Save it to your Desktop.<br />
    2. Close Firefox using File > Exit <br />
    then check the Task Manager > Processes tab to make sure '''firefox.exe''' is closed, <br />
    {XP: Ctrl+Alt+Del, Vista: Shift+Ctrl+ESC = Processes tab}
    3. Then run the Flash setup file from your Desktop.
    4. Start Firefox and test your installation here: https://www.adobe.com/software/flash/about/
    * On Vista and Windows 7 you may need to run the plugin installer as Administrator by starting the installer via the right-click context menu if you do not get an UAC prompt to ask for permission to continue (i.e nothing seems to happen). <br />
    See this: <br />
    [http://vistasupport.mvps.org/run_as_administrator.htm]

  • How  to read Component profile.properties without using CAF?

    Do you know how to read DC WebDynpro Component profile.properties without using CAF.
    A Component.profile.properties is located under
    Scr/components/fullcomponentname/
    Thanks, Best regards
    Peter

    import com.sap.tc.webdynpro.services.sal.config.api.IWDConfiguration
    import com.sap.tc.webdynpro.services.sal.config.api.WDConfiguration;
    import com.sap.tc.webdynpro.services.sal.deployment.api.WDDeployableObject;
    import com.sap.tc.webdynpro.services.sal.deployment.api.WDDeployableObjectPart;
    import com.sap.tc.webdynpro.services.sal.deployment.api.WDDeployableObjectPartType;
    WDDeployableObjectPart myComponent = WDDeployableObject.getDeployableObjectPart
      "mycompany.com/myapp~mydc" // name of DC
      "com.mycompany.myapp.mydc.MyComponent" // full component name
      WDDeployableObjectPartype.COMPONENT
    IWDConfiguration config = WDConfiguration.getConfigurationByName
      myComponent
      "profile.properties" // not sure, try "profile" as well
    Exception handling ommited.
    Hope this helps. Just wondering what's for?
    Valery Silaev
    P.S. full disclosure: CAF developer, author of PropertyConfigurable components concept

  • Vdbench 5.04 - Solaris - read/write profile problem

    Hi, I'm trying to simulate a read/write IO profile to a raw disk. Have a Solaris 10 x86 server connected to a VNX over Fibre Channel.
    The profiles are spread over IO sizes ranging from 512b to 128k but I've tried getting this simplified version to work without success.
    I am using Vdbench 5.04. This is my parameter file:
    sd=sd1,lun=/dev/dsk/c3t60060160C43034009EF8FCAE1522E311d0s2
    wd=write,sd=sd1,readpct=0,xfersize=(4k,50,8k,50)
    wd=read,sd=sd1,readpct=100,xfersize=(4k,50,8k,50)
    rd=test,wd=(write,read),maxdata=4.5g,elapsed=3600,threads=50,iorate=500
    I have a dtrace script (iosnoop from the DTraceToolkit) running monitoring the I/O.
    From the output of the dtrace script I am seeing no 8k reads or 4k writes.
    The statistics from the VNX show the same results as the dtrace output so what is being written to the LUN is correct.
    Is xfersize the correct way to simulate a range of I/O sizes or is their a mistake in the parameter file?
    Any help appreciated :-)

    You are caching your i/o. Please specify /dev/rsdk/

Maybe you are looking for

  • Library crashes/can't empty trash

    I have this problematic library which I'm trying to salvage. I can't remember exactly what happened, but I think I "overloaded" iPhoto with too many photos which included JPG and RAW equivalents, so it crashed. I've tried all sorts of things includin

  • NI motion servo jerk/jump on enable

    we're having an issue with our servo motion control PCI-7354 + UMI Labview RT 8.6 nimotion 73xx controller support 7.7.0 we've got a mechanical safety switch that kills power to our servo amps (via the inhibit line) if we engage the safety switch whi

  • Standard Copy of a contract/po webdynpro issue

    Hello all gurus, in SRM 7, my requirement is to check when a new document (contract or purchase order) satisfies certain conditions w.r.t. the user that is currently trying to access it; the user should belong to the same purchase unit of the documen

  • Same size for the scheduling report

    for the schedululing report, if i create my report with any size it is displaying me with same size 7(when we delivr rport th users email's). can you please help me how can i change my scheduling reports size(data size)

  • How to have Windows OS available on a iMac

    I am about ready to junk my wife's PC and buy her an iMac. But she has to have a Windows OS screen to communicate with certain clients. I understand there is some way to have that available on the iMac. I vaguely recall someone mentioning VMWare. Wha