Coloring an image through code

Hey guys,
With a basic knowledge of the iphone SDK by now I've been playing around with some code and as expected stumbled upon "a pretty hard to do" idea.
I was wondering how to color the contents of an image through code. Basically something like the "Fill" photoshop effect. Meaning: a UIImage containing a transparent png. The image is a drawing of a star, the outside is transparent, the lines are black and the inner color is purple.
Through code I'd love to find out how to alter the purple color for example with a red one or any other.
Any ideas / help would be appreciated...

Search on MacUpdate using 'home decorate' as a search term.
Regards
TD

Similar Messages

  • Unable to apply custom theme with background Image through code

    Hi,
    I am creating custom SharePoint 2013 theme and applying it through code on site by referring MSDN Article : "http://msdn.microsoft.com/en-us/library/office/jj927175(v=office.15).aspx".
    However when I try to add background image in custom theme and apply that theme to site then sites UI breaks.
    Details: I have two features, in feature-1: I am Deploying *.spfont, *.spcolor and background image. Then I am adding a new entry in "composed looks" list for my custom theme. in feature 2- I am applying the custom theme to site by using following
    code
    SPTheme theme = SPTheme.Open("NewTheme", colorPaletteFile, fontSchemeFile, backgroundURI);theme.ApplyTo(Web, true);
    Both feature activates without any errors, new entry also gets added in 'Composed Looks' list with all correct URLs, current item of composed looks list also change to custom theme but entire UI of site breaks If I remove background Image code from custom theme then everything works fine. Following code works fine
    SPTheme theme = SPTheme.Open("NewTheme", colorPaletteFile, fontSchemeFile);
    theme.ApplyTo(Web, true);
    If I apply same background Image manually(not through code) then also everything works as expected.Any help will be really appreciated.

    Hi,
    Thanks for your sharing, it will be helpful to those who stuck with the similar issue.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Code to capture image through webcam..

    hi.. im doing final year engineering.. rite now in project works n so i need a complete code in java to capture image through webcam..
    can anybody pls help me in this...
    thanks in advance..

    can anybody suggest me on this coding n get me a full pharse of this program ready for execution....
    think tis will b a easiest way to capture an image through webcam...!
    INCOMPLETE PROGRAM :
    ```````````````````````````````````
    CaptureDeviceInfo deviceInfo = CaptureDeviceManager.getDevice("vfw:Microsoft WDM Image Capture (Win32):0");
    Player player = Manager.createRealizedPlayer(deviceInfo.getLocator());
    player.start();
    // Wait a few seconds for camera to initialise (otherwise img==null)
    Thread.sleep(2000);
    //take image from camera
    FrameGrabbingControl frameGrabber = (FrameGrabbingControl)player.getControl("javax.media.control.FrameGrabbingControl");
    Buffer buf = frameGrabber.grabFrame();
    Image img1 = (new BufferToImage((VideoFormat)buf.getFormat()).createImage(buf));
    then you can save image as image.jpg into buffer your computer
    code:
    BufferedImage buffImg = new BufferedImage(img1.getWidth(null), img1.getHeight(null), BufferedImage.TYPE_INT_RGB);
    Graphics2D g2D = buffImg.createGraphics();
    g2D.drawImage(img1, null, null);
    g2D.setColor(Color.RED);
    g2D.setFont(new Font("Verdana",Font.BOLD,16));
    g2D.drawString((new Date()).toString(),10,25);
    g2D.dispose();
    ImageIO.write(buffImg,"jpg",new File("../Test/Webcam/Webcam" + " " + Params.Num + ".jpg"));

  • How to give  acces  to app to use  the  images in device through code

    Hi,
    I am writting an Iphone app, in some part of my application there is a facility  to the users  to  upload their files , but the device is asking to give permission to the app to access files,   i have to do that  manually , my question   is there any way to acheive that through code,  In  am  using Xcode to  create my app
    Thanks.

    Hi Kasturi,
    > not accepting the points
    It worked on this and on one other thread, but this is still open: How to upload the image
    > want upload the images from the client side machine
    > to KM
    In the thread I just referred to, I already provided information about the HTMLB upload control. With this at hand, you'll get the file from the client to the server.
    At server side, get an ICollection instance where you want to store the file and create the corresponding resource. See https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/javadocs/nw04/sp12/knowledge management/com/sapportals/wcm/repository/icollection.html#createresource(java.lang.String,%20com.sapportals.wcm.repository.IPropertyMap,%20com.sapportals.wcm.util.content.IContent)
    Hope it helps
    Detlev

  • Problem in getting the image through URL

    hi all,
    I facing the problem,Inwhich i am unable find the solution...I am using the following code to display the image
    public void doGet(HttpServletRequest request,HttpServletResponse response)
                        throws IOException, ServletException {
                   int data=0;
                   response.setContentType("image/png");
                   ServletOutputStream out = response.getOutputStream();
                   String file = request.getContextPath()+imageNames[0];
                   //String file = "C:/Program Files/Apache Group/Tomcat 4.1/webapps/ImageComm/WEB-INF/images"+imageNames[index];
                   BufferedInputStream in = new BufferedInputStream(new FileInputStream(file));
                   System.out.println("the size of the inputStream is..."+in.available());
                   System.out.println("the context path is..."+request.getContextPath());          
                   while ((data = in.read()) != -1) {
                   out.write(data);
    with the above i am not getting any error at the compile time but it was giving exception like FileNotFoundException.
    but the same thing(URL address) when i am copying on the browser it was displayig the image.
    (what might be the reason)
    one more thing when i commented on the url address and try to use the actual realpath address it was displaying the image with out any problem
    can anybody give me the solution like where to keep my images by which i can able to get the images through url address
    thanks in advance
    lakshman

    hi all,
    I am getting the image from the server.but the problem is i am getting the Exception as ArrayOutOfBound exception.
    It was displaying the Image for the first time.and when ever it was going for the second time in to the paint method it was displaying the IOException in reading the stream from the connection.
    can anybody give me the solution in rectifying that exception.
    thanks in advance
    lakshman

  • How to change Color of IMAGE Links

    Page properties is the only place I can find to change the
    color of LINKS. It works for text, but not for the border it
    automatically puts around a linked image. It's purple! Can't I make
    it white to blend in with the background? I have already changed
    all the link colors in the page properties to white and the link
    around the image is still purple! Is anyone familiar with this
    phenomenon and how to get around it?
    (BTW - in case you're wondering, there is no border
    specified in the properties or the css style)

    Of course, your method will not validate, while Osgoods will.
    And his will
    work, too, assuming it's properly implemented.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "EviePhillips" <[email protected]> wrote in
    message
    news:fpfp24$kjr$[email protected]..
    > Osgood:
    >
    > Thank you for responding. I did as you suggested and
    alas, it did not
    > work.
    > But you got me thinking about HTML code and so I went to
    the HTML Tutorial
    > website. I found some Image Border jargon. I entered
    Border=0 in the
    > Image
    > Source code and it worked. No more Purple link border.
    >
    > Thank you for turning on the light! I appreciate your
    help!
    >
    > Evie
    >

  • Invalid color template image

    I try to do patttern matching using IMAQ Vision. Both source and
    template images are .BMP files and are generated in a VB .NET program
    through NI Framegrabber. IMAQ Match Color Pattern gives me the
    following error message:
    Error-1074395384 occurred at IMAQ Match Color Pattern
    Invalid color template image
    Do I have to use .PNG files when doing pattern matching?
    Thanks.

    Hey John123,
    I was wondering what version of Vision that you are using? Have you tried to run any of the example programs, like the ColorPatternMatching example that can be found in the following directory: C:\Program Files\National Instruments\Vision\Examples\MSVB.NET\2. Functions\Color Pattern Matching. I was able to run this example program by using .BMP images and not PNG images. So to answer your question, you don't have to use PNG files with this function, you can use Bitmap images. You can use any kind of image that have a 32-bit RGB or HSL bit depth.
    If you are acquiring from a Framegrabber, I would suggest that you double check and make sure that the images that you are getting from your camera are actually 32-bit, and not 16-bit. Also, you could post a couple of your images on this thread, and I could try them out with an example that uses the IMAQ Match Color Pattern function. Try some other BMP images and do you get the same error? Try the example program, and see if that gives you the error with your images. Let me know if you have any questions. Thanks, and have a great day.
    Regards,
    DJ L.

  • Alpha Color on Images?

    Okay, Let's see if anyone knows this. Let's say I have a Image and I want to make the background transparent. It's certainly possible to load a transparent GIF89A, but say I want a normal gif and I want to "transparentize" it in code. Here's a code I have:
    //Precondition: 'global' is a predefined JApplet
    //                         'opaque' is a predefined Image with w,h > 0,0
    //Postcondition: An Image is returned with the background (as defined
    //                           as the color of the top-left pixel) replaced by the GIF89A
    //                           "transparent color"
    public Image makeTransparent(Image opaque)
      //makes an Image that is the same size as 'opaque'
      Image trans = global.createImage( opaque.getWidth(global), opaque.getHeight(global) );
      //gives me a graphics object to draw on this image
      Graphics g = trans.getGraphics();
      <redraw image substituting transparent for bg>
    }I need to know how to do the <>. My most obvious response would be to go though the Image's array of colors (the way an Image is stored) and change the "bg" color to transparent. But that brings up two questions. (a) Is it possible to access and change that array, and (b) What is the "transparent color" and can the Color object hold it?
    If anyone can answer this question or has another algorithm, I am offering "duke dollars" for this.

    Great news! It worked! Here is the algorithm: All you need is a BufferedImage. It isn't really as inefficient as it may look, either, but don't use it every frame.
    Color bg = new Color(bimage.getRGB(0,bimage.getHeight(null)-1), false);
    for(int xxx=0;xxx<bimage.getWidth(null);xxx++)
            for(int yyy=0;yyy<bimage.getHeight(null);yyy++)
                 if(new Color(bimage.getRGB(xxx,yyy), false).equals(bg))
                      bimage.setRGB(xxx,yyy,0&0&0&0);
    }

  • Loading saved images from code

         I'm creating a single-page application with CQ and AngularJS, and the nature of my app is requiring that I pull my images from code rather than into a paragraph system via the UI. Does anyone know how to accomplish this? Does CQ have some built-in methods for pulling that resource from an image name or something?

    Your reply has a lot of good info in it, thanks. I'm not using a clientlib anywhere, though it sounds like I should be. Let me describe a little better where I'm at, and maybe you can make some suggestions. I've been using CQ for about two months now.
    I have a roughly 8-page application that I'm working on. Adobe CQ is being used only for the UI side. All persistence and business logic is being done on a completely separate server that I'm connecting to via RESTful services using a single, master JSON string which contains all the information I need at all steps of the process. The navigation is essentially a wizard-style sequence where each step results in a round trip of the JSON to and from the server. I have four separate brandings that I'll have to do, based on that which is associated with a particular user.
    My solution so far is a single-page application based on AngularJS. This means I have a "main" page in CQ which uses "maintemplate" attached to a "maintemplate.jsp" component that includes a parsys where I drop an "angularview" component.
    This page renders out the header and footer of my app to the browser, with an empty div where the Angular view will be placed. Each of the pages in my app I have created in pages underneath "main", pointing to another template called "partialtemplate", which does nothing to the component each page calls (no header, footer, etc.).
    Each of these partial page components contain a mix of text, images, and form elements. The images in these partial pages are what I'm concerned about. There's no way to edit these in the authoring view, since I'm not using CQ's full-page-refresh navigation model. So, I have to hard code all the images, text and other content into each partial component.
    I have all my components in /apps/project/components, and the partials underneath that in /components/partials. Javascript files I have in /components/js (this is probably where I need to use a clientlib) and I'm using relative URLs from the maintemplate component to pull them. I'm also using /etc/designs/project as a location for all my css.
    My idea for the branding will be to programmatically adjust the current design path depending on user data (I haven't verified this will work) and create a new design path for each, with sling:superResourceType pointing to the master design so I don't have to have multiple copies of global css files.
    The images in question are inside each of the partials. Since they might change based on marketing goals, I need these to remain exposed to the page authors, so putting them in the DAM is the only choice I see; indeed, isn't that what the DAM is for?
    I'm still fumbling through CQ, trying to find out the best way to do things. If you can make any recommendations, I'd be grateful. Time is precious, so I don't have a lot of time to rewrite the architecture, but if you see some way I can make a small change and save myself some work later, I'm all ears.

  • How can I send an image through a WebService

    Hi,
    I'm trying to send an image through a WebService to a mobile phone, but I can't get it working.
    Anyone knows how I can send an image on the server side, and receive it on the client side?
    Thanks for your help.

    Hope this will help
    String encodingStyleURI = org.apache.soap.Constants.NS_URI_SOAP_ENC;
    SOAPMappingRegistry smr = new SOAPMappingRegistry();
    BeanSerializer beanSer = new BeanSerializer();
    try {
    // Build the call.
    Call call = new Call();
    call.setSOAPMappingRegistry(smr);
    call.setTargetObjectURI("urn:filereceiver");
    call.setMethodName("loopFile");
    call.setEncodingStyleURI(encodingStyleURI);
    Vector params = new Vector();
    DataSource ds = new ByteArrayDataSource(new File(fname),
                                  null);
    DataHandler dh = new DataHandler(ds);
    params.addElement(new Parameter("addedfile",
                             javax.activation.DataHandler.class, dh, null));
    params.addElement( new Parameter( "filename", String.class,fname, null ) );
    call.setParams(params);
    // Invoke the call.
    Response resp;
    try {
         System.out.println(url);
    resp = call.invoke(url, "");
    } catch (SOAPException e) {
              FLAG          ="NO";
              System.err.println("Caught SOAPException (" +
                        e.getFaultCode() + "): " +
                        e.getMessage());
              e.printStackTrace();
    return FLAG;
    // Check the response.
    if (!resp.generatedFault()) {
    Parameter ret = resp.getReturnValue();
    if (ret == null){
    System.out.println("No response.");
              FLAG="NO";
    else {
              // System.out.println("Response: " + resp);
    // printObject(ret.getValue());
    } else {
    Fault fault = resp.getFault();
              FLAG          ="NO";
    System.err.println("Generated fault: ");
    System.err.println(" Fault Code = " + fault.getFaultCode());
    System.err.println(" Fault String = " + fault.getFaultString());

  • Send Image through xml file

    Hey guys,
    I want to send an JPEG image through xml file. i dont want to just give the URL of the image but i want to actually send the image through xml. Im new in XML so can you please give me a working sample code.
    Thank you so much.

    Working code will not be difficult to write. Jpeg or other binary info can be encoded in xml using base64 encoding or some other encoding algorithm.
    After base64 encoding you will get some text which will be the base64 equivalent of the image data. This text can be placed in CDATA section of your image element and transferred.
    On the receiving end you will need to decode the text. After this what u have is the binary data for ur image.
    It will not be difficult to find libraries for base64 encodin/decoding on the net.
    Hope it helps

  • How to get max 5 color from image??

    I try to get max 5 color from image (ex. jpeg,gif) ,I use PixelGrabber
    it too slowly when i use large image,Please help me, to run more fast
    (other way PixelGrabber)
    best regard
    [email protected],[email protected]
    source below:
    public String generateColor(InputStream source,String filePath){
    BufferedImage image = null;
    String RGB = "";
    System.out.println("==generateColor==");
    try {
    image = ImageIO.read(source);
    catch (IOException ex1) {
    ex1.printStackTrace();
    //image.getGraphics().getColor().get
    // BufferedImage image2 = ImageIO.read(source);
    // image.getColorModel().getNumColorComponents()
    if(image.getColorModel() instanceof IndexColorModel) {
    IndexColorModel icm = (IndexColorModel)image.getColorModel();
    byte[][] data = new byte[3][icm.getMapSize()];
    int[] rgbB = new int[icm.getMapSize()];
    icm.getRGBs(rgbB);
    String dataHtm = "<HTML><table width=\"100\" border=\"0\"><tr>";
    for(int i = 0 ;i< rgbB.length;i++){
    int r = (rgbB[i] >> 16) & 0xff;
    int g = (rgbB[i] >> 8) & 0xff;
    int k = (rgbB) & 0xff;
    System.out.println("red:" + Integer.toHexString(r));
    System.out.println("green:" + Integer.toHexString(g));
    System.out.println("blue:" + Integer.toHexString(k));
    dataHtm = dataHtm + "<td width=\"10\" bgcolor=\"#" + Integer.toHexString(r)+Integer.toHexString(g)+Integer.toHexString(k);
    dataHtm = dataHtm + "\"> </td>";
    dataHtm = dataHtm + "</tr></table></HTML>";
    try {
    BufferedWriter out = new BufferedWriter(new FileWriter("c:\\23289207.html"));
    out.write(dataHtm);
    out.close();
    catch (IOException e) {
    e.printStackTrace();
    int w = image.getWidth();
    int h = image.getHeight();
    int[] pixels = new int[w*h];
    int[] pixs = new int[w*h];
    System.out.println("image width:"+w+"image hight:"+h+"image w*h:"+(w*h));
    Image img = Toolkit.getDefaultToolkit().getImage(filePath);
    PixelGrabber pg = new PixelGrabber(img, 0,0, w, h, pixels, 0, w);
    try {
    pg.grabPixels();
    catch (Exception x) {
    x.printStackTrace();
    String picColor = "";
    Stack stackColor = new Stack();
    Hashtable hashColor = new Hashtable();
    for (int i = 0; i < w * h; i++) {
    int rgb = pixels[i];
    int a = (rgb >> 24) & 0xff;
    int r = (rgb >> 16) & 0xff;
    int g = (rgb >> 8) & 0xff;
    int k = (rgb) & 0xff;
    i = i+1000;
    //System.out.println("i:" + i);
    picColor = convertToSring(r)+convertToSring(g)+convertToSring(k);
    stackColor.add(picColor);
    //System.out.println("picColor:"+picColor);
    // System.out.println("\n\n a:" + a);
    // System.out.println("red:" + r);
    // System.out.println("green:" + g);
    // System.out.println("blue:" + k);
    }//end for
    getMaxColor(stackColor);
    System.out.println("==generateColor==end\n\n");
    return null;

    import java.awt.Color;
    import java.awt.image.BufferedImage;
    import java.io.IOException;
    import java.net.URL;
    import javax.imageio.ImageIO;
    public class HighFive
        private void examineColors(BufferedImage image)
            long start = System.currentTimeMillis();
            int w = image.getWidth(), h = image.getHeight();
            int[] rgbs = image.getRGB(0,0,w,h,null,0,w);
            findHighFive(rgbs);
            long end = System.currentTimeMillis();
            System.out.println("total time = " + (end - start)/1000.0 + " seconds");
        private void findHighFive(int[] colors)
            int[] uniqueColors = getUniqueColors(colors);
            int[] colorCounts  = getColorCounts(uniqueColors, colors);
            int[] highFive     = getHighFive(colorCounts);
            // for each value of highFive find index in colorCounts
            // and use this index to find color code in uniqueColors
            for(int j = 0; j < highFive.length; j++)
                int index = findIndexInArray(colorCounts, highFive[j]);
                Color color = new Color(uniqueColors[index]);
                String s = color.toString();
                s = s.substring(s.indexOf("["));
                System.out.println("color " + s + "  occurs " +
                                    highFive[j] + " times");
        private int[] getUniqueColors(int[] colors)
            // collect unique colors
            int[] uniqueColors = new int[colors.length];
            int count = 0;
            for(int j = 0; j < colors.length; j++)
                if(isUnique(uniqueColors, colors[j]))
                    uniqueColors[count++] = colors[j];
            // trim uniqueColors
            int[] temp = new int[count];
            System.arraycopy(uniqueColors, 0, temp, 0, count);
            uniqueColors = temp;
            return uniqueColors;
        private int[] getColorCounts(int[] uniqueColors, int[] colors)
            // count the occurance of each unique color in colors
            int[] colorCounts = new int[uniqueColors.length];
            for(int j = 0; j < colors.length; j++)
                int index = findIndexInArray(uniqueColors, colors[j]);
                colorCounts[index]++;
            return colorCounts;
        private int[] getHighFive(int[] colorCounts)
            // find five highest values in colorCounts
            int[] highFive = new int[5];
            int count = 0;
            for(int j = 0; j < highFive.length; j++)
                int max = Integer.MIN_VALUE;
                for(int k = 0; k < colorCounts.length; k++)
                    if(colorCounts[k] > max)
                        if(isUnique(highFive, colorCounts[k]))
                            max = colorCounts[k];
                            highFive[count] = colorCounts[k];
                count++;
            return highFive;
        private boolean isUnique(int[] n, int target)
            for(int j = 0; j < n.length; j++)
                if(n[j] == target)
                    return false;
            return true;
        private int findIndexInArray(int[] n, int target)
            for(int j = 0; j < n.length; j++)
                if(n[j] == target)
                    return j;
            return -1;
        public static void main(String[] args) throws IOException
            String path = "images/cougar.jpg";
            Object o = HighFive.class.getResource(path);
            BufferedImage image = ImageIO.read(((URL)o).openStream());
            new HighFive().examineColors(image);
    }

  • Send a image through socket method getoutputstream

    cani send an image through socket methods instead of send a txt

    1) Use the search feature, or look back a couple of pages, this question was asked sometime yesterday
    2) In all the many times that it's been asked, no-one denies it but at the same time no-one's posted any code to do it (AFAIK) I'd be interested too if anyone does find a way...

  • How to create 2-color Pantone image from jpeg logo

    Working in CS3 under XP, I need to convert a jpeg rvb image of a logo  into a 2-color pantone image to import it into an Illustrator file. I  can isolate the logo's two distinct colors using the select wand and  then tried filling the selections with the closest Pantone colors, but  the rvb layers still seem to exist. I have saved in .eps DCS2, but the  imported colors when sampled in Illustrator are still rvb/cmyk. Is there  a way to isolate the shapes/colors and then transfer them as vector  images into Illustrator, where I could fill them with the Pantone  colors? Or a simpler way not necessarily using Photoshop? Thanks very much!

    Is this a vector image or pixels? EPS can be both.
    Better than selecting it with automatic functions like magic wand is to draw it manually in Illustrator. If it already is vector (like shape layers), then you can just copy the paths from Photoshop and paste into Illustrator.

  • Getting error while updating property of image through weblogic CMS

    Hii
    I want to add alt text and alt title to an existing image through Weblogic Content Management System_ . For that I have used adAltText property of ad content type.
    For that I have refer the following link
    [ http://docs.oracle.com/cd/E13155_01/wlp/docs103/cm/contentTypesCm.html#wp1096390]
    I add values to adAltText. After that clicked on cheach in.
    But while doing cheach in in Weblogic Content Management System_ . I am getting following Exception
    A RepositoryException was thrown: null
    and following is stacktrace:
    com.bea.content.virtual.workflow.WorkflowException
         at com.bea.content.virtual.workflow.PublishAction.execute(PublishAction.java:179)
         at com.bea.content.virtual.internal.server.bean.InternalWorkspaceOpsBean.handleWorkflowActions(InternalWorkspaceOpsBean.java:524)
         at com.bea.content.virtual.internal.server.bean.InternalWorkspaceOpsBean.internalCheckIn(InternalWorkspaceOpsBean.java:420)
         at com.bea.content.virtual.internal.server.bean.InternalWorkspaceOpsBean.checkIn(InternalWorkspaceOpsBean.java:343)
         at com.bea.content.virtual.internal.server.bean.WorkspaceOps_xe5vix_ELOImpl.checkIn(WorkspaceOps_xe5vix_ELOImpl.java:166)
         at com.bea.content.virtual.internal.WorkspaceOpsImpl.checkIn(WorkspaceOpsImpl.java:90)
         at com.bea.content.federated.internal.VersionManagerImpl.checkIn(VersionManagerImpl.java:239)
         at com.bea.portal.tools.content.controls.ContentVersionControlImpl.checkIn(ContentVersionControlImpl.java:165)
         at com.bea.portal.tools.content.controls.ContentVersionControlBean.checkIn(ContentVersionControlBean.java:839)
         at content.BaseContent.doCheckinLatestVersion(BaseContent.java:1127)
         at content.BaseContent.handleLibraryOpForSelectedNode(BaseContent.java:1050)
         at content.node.nodeSelected.properties.NodePropertiesController.checkInLatestVersion(NodePropertiesController.java:530)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:879)
         at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
         at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
         at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
         at global.internal.AbstractBaseController.internalExecute(AbstractBaseController.java:360)
         at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
         at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)
         at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:91)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
         at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
         at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199)
         at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1129)
         at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:687)
         at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142)
         at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:107)
         at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111)
         at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181)
         at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167)
         at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225)
         at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
         at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)
         at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
         at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
         at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199)
         at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
         at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:686)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.bea.jsptools.servlet.PagedResultServiceFilter.doFilter(PagedResultServiceFilter.java:82)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.bea.portal.tools.servlet.http.HttpContextFilter.doFilter(HttpContextFilter.java:60)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3502)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2186)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2092)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Please reply if any one find solution on this.
    Edited by: 925203 on Apr 3, 2012 6:34 AM
    Edited by: 925203 on Apr 3, 2012 6:35 AM
    Edited by: 925203 on Apr 4, 2012 10:41 PM

    Yes, I am using custom work flow.
    I added new property for alternate text to existing content type Banner. When I try to update value for alternate text it throws error: A RepositoryException was thrown: null
    Even if i try to delete added property it throws error :
    A RepositoryException was thrown: The type Banner has existing node instances. Therefore the removal of property definition alt is not allowed.
    Is there alternate way to add property to existing content type through weblogic content management console?
    Edited by: 925203 on Apr 5, 2012 9:48 PM

Maybe you are looking for

  • How can i edit an iMove someone has sent me via email?

    A colleague was working on an iMove trailer today and asked if I would do a bit of work on it at home. They emailed it to me but now now when i open it up it just plays through quicktime. I really want to get it into iMovie to edit it a bit... any su

  • Sql query in decode

    Hi, I want to run query using decode given below: decode( (select count....from t1),0,(select count...from t2),1) MEans, if count of query from table t1 returns 0 then execute query of t2 table else return 1. If then else of query.. can i do this in

  • User Field Selections with SAP Asset Report RAGITT_ALV01

    Hi, We are running RAGITT_ALV01 (Asset History Sheet) report and wish to utilize some user fields (ANLU) in data selection. How might this be done? I find when using "List Assets" under "Settings" tab the asset number , sub asset numbers and associat

  • ORA-01031: insufficient privileges when running adgrants_nt PATCH 6510214

    Hi all, I need to clone an Oracle Applications R12 from production to development, so for that I am using Metalink document ID 406982.1 (C;loning Oracle Applications Release 12 with Rapid Clone). In the document, the step 3 is to "Apply the latest AD

  • Problem when I upload to FTP Host from muse

    I am having a problem when I upload to FTP Host from muse, it stops at a random % of the process without any warnings, I have been posting from the same computer to the same ftp address and never had any problem before, please help me if you can. Tha