Help please, not able to load images in a subclass of a japplet

I've created this board for a project, but now I am stuck, I cannot seem to get images to appear, instead they come up as a nullpointerexception:
public class Board extends JLayeredPane implements MouseListener, MouseMotionListener{
     private Container contentPane;
     private JLayeredPane jlp;     
     private boolean pieceSelected;
     private timepanel time;
     Image bimage;
     ImageIcon board;
     JLabel brd;
     Image pimage;
     ImageIcon piece;
     JLabel pce;
     private Graphics g;
     private pieceLayout pieces;
     private String piecename;
     private JLabel jl;
     boolean selected;
     private int offset;
     boolean changepos;
     boolean moving;
     private int brdwidth;
     private int brdheight;
     private Timer countdown;
     private updateTimer ut;
     private String cb;
     private clientinterface ci;
     private JFrame j;
     private int playerturn;
     public Board(clientinterface ci, JFrame j, Hashtable images, ArrayList names,
     ImageIcon brdicon, URL cb)
          j.setSize(500,450);
          countdown = new Timer();
          selected = false;
          jlp = this;
          jlp.setPreferredSize(new Dimension(500, 450));
          changepos = false;
          //contentPane = getContentPane();
          //this.setPreferredSize(new Dimension(500,400));
          jlp.setBounds(0,0,500,450);
          jlp.setLocation(0,0);
          jlp.setOpaque(true);
          jlp.setLayout(null);
          System.out.println(this.getSize() + "(((())))" );
          if(j.getWidth() > 400)
               offset = j.getWidth() - 400;
          else
               offset = 0;
          System.out.println("Width is: " +  j.getWidth() + " height: " + j.getHeight());     
          brdwidth = j.getWidth()-offset;
          brdheight = j.getHeight();
          System.out.println(images.size());     
          System.out.println(j.getWidth() + " " + j.getHeight() + " " + offset);
          brd = new JLabel(brdicon);
          brd.setBounds(0,0,j.getWidth()-offset, j.getHeight());
          brd.setSize(new Dimension(400,400));
          brd.setLocation(0,0);
          brd.setOpaque(true);
          jlp.add(brd, new Integer(-5));
          jlp.setBounds(0,0,j.getWidth(), j.getHeight());
          jlp.setVisible(true);
          time = new timepanel(jlp);
          time.setLocation(j.getWidth()-offset, 0);
          System.out.println(images.toString() + "++++++++");
          pieces = new pieceLayout(jlp, j.getWidth()-offset, names, cb);
          pieces.setLocation(0,0);
          pieces.setPreferredSize(new Dimension(400,400));
          pieces.setBounds(0,0,400,400);
          pieces.setVisible(true);
          time.setBounds(400,0, 100, 400);
          time.setVisible(true);
          ut = new updateTimer(time);
          jlp.add(pieces, new Integer(2));
          jlp.add(time, new Integer(2));
          //this.add(jlp);
          j.setLayeredPane(jlp);
          addMouseMotionListener(this);
          addMouseListener(this);
          //j.getContentPane().add(jlp);
          //j.setContentPane(this);
          j.validate();
          //j.getContentPane().setLayout(null);
          //j.setContentPane(this);
          j.paintAll(j.getGraphics());
     public void run()
          //this.repaint();
          this.paintAll(this.getGraphics());
          time.repaint();
     public void mouseDragged(MouseEvent e)
          JLabel temp;
          moving = true;
          //pce.setLocation(e.getX(), e.getY());
          //pieces.getPiece(pieces.translatecoords(e.getX(),e.getY())).setLocation(e.getX(),e.getY());
          int piecepos = pieces.translatecoords(e.getX(), e.getY());
          /*if(pieces.hasPiece(piecepos) && moving)
               pieces.setSelected(piecepos);
               temp = pieces.getPiece(piecepos);
               //pieces.movePiece(e.getX(), e.getY());
               temp.setLocation(e.getX(), e.getY());
          //this.repaint();
     public void mouseClicked(MouseEvent e)
          Point xpoin;
          System.out.println("Hello, clicked");
          /*pce.setLocation(e.getX(), e.getY());
          Point p = pce.getLocation();
          System.out.println(p.toString());*/
          System.out.println("\n" + e.getX() + " " + e.getY());
     public void mouseEntered(MouseEvent e)
     public void mouseExited(MouseEvent e)
     public void mouseReleased(MouseEvent e)
          if(selected)
               Point xp;
               int x = e.getX();
               int y = e.getY();
               int bp = pieces.translatecoords(x,y);
               xp = pieces.posToPoint(bp);
               pieces.snapToSquare(xp.x, xp.y, bp);
               selected = false;
               moving = false;
               //pieces.updateBoard(bp, piecename);
     public void mouseMoved(MouseEvent e)
     public void mousePressed(MouseEvent e)
          Point xpoin;
          int pos = pieces.translatecoords(e.getX(),e.getY());
          System.out.println("\n" + pieces.translatecoords(e.getX(),e.getY()));
          if(pieces.hasPiece(pos, e.getX(), e.getY()))
                    piecename = pieces.getName(pos);
                    System.out.println("Found a piece!");
                    pieces.setSelected(pos);
                    xpoin = pieces.posToPoint(pos);
                    selected = true;
     public void paintComponent(Graphics g)
          //super.paintComponents(g);
          //System.out.println("Painting");
          time.repaint();
     public void start()
          countdown.schedule(ut, 0, 1000);
     public void setupBoard()
               //setSize(getSize().width < 400 ? 400 : getSize().width,
               //getSize().height < 400 ? 400 : getSize().height);
               //getLayeredPane().add(brd, new Integer(-5));
     public void sendInfo(String info)
          //parse information
     public class pieceLayout extends JLayeredPane
          JLabel pce1;
          private JLabel selected;
          private Hashtable pieceList;
          private ArrayList names;
          private int width;
          private Hashtable piecesOnBoard;
          private char boardstate[]= {'R','N','B','Q','K','B','N','R',
                                             'P','P','P','P','P','P','P','P',
                                             'p','p','p','p','p','p','p','p',
                                             'r','n','b','q','k','b','n','r'
          private String posnm[]       = {
                                                   "a8", "b8", "c8", "d8", "e8", "f8", "g8", "h8",
                                                   "a7", "b7", "c7", "d7", "e7", "f7", "g7", "h7",
                                                   "a6", "b6", "c6", "d6", "e6", "f6", "g6", "h6",
                                                   "a5", "b5", "c5", "d5", "e5", "f5", "g5", "h5",
                                                   "a4", "b4", "c4", "d4", "e4", "f4", "g4", "h4",
                                                   "a3", "b3", "c3", "d3", "e3", "f3", "g3", "h3",
                                                   "a2", "b2", "c2", "d2", "e2", "f2", "g2", "h2",
                                                   "a1", "b1", "c1", "d1", "e1", "f1", "g1", "h1"
          JLayeredPane thePane;
          private Hashtable ht;
          private Hashtable board;
          private Hashtable b2p;
          private Hashtable p2b;
          private Hashtable piecePos;
          private Hashtable objToName;
          private Hashtable posnames;
          private URL codebase;
          public pieceLayout(JLayeredPane p, int twidth, ArrayList pnames, URL cb)
               pieceList = new Hashtable(20);
               codebase = cb;
               names = pnames;
               selected = new JLabel();
               piecesOnBoard = new Hashtable(32);
               ht = new Hashtable(6);
               board = new Hashtable(64);
               b2p = new Hashtable(64);
               p2b = new Hashtable(64);
               piecePos = new Hashtable(64);
               objToName = new Hashtable(32);
               posnames = new Hashtable(64);
               fillnames();
               getImages();
               setImages();
               width = twidth;
               thePane = p;
               System.out.println(piecesOnBoard.size());
               showBoard();
          private void fillnames()
               int size = posnm.length;
               for(int i = 0; i < size; i++ )
                    posnames.put(new Integer(i), new String(posnm));
               showPos();
          private void getImages()
               Pattern p = Pattern.compile(".+\\.GIF");
               Pattern p1 = Pattern.compile(".+\\.gif");
               Pattern p2 = Pattern.compile("board.+");
               Pattern p3 = Pattern.compile(".+board.+");
               for(int i = 0; i < names.size(); i++)
                    Matcher m = p.matcher((String)names.get(i));
                    Matcher m1 = p1.matcher((String)names.get(i));
                    Matcher m2 = p2.matcher((String)names.get(i));
                    Matcher m3 = p3.matcher((String)names.get(i));
                    if(m.matches() || m1.matches())
                         //System.out.println("Files are: " + dirs[i].getName());
                         if(!m2.matches() && !m3.matches())
                              String piecename = new String((String)names.get(i));
                              //     System.out.println("Files were: " + dirs[i].getName());
                              Image tpimage = Toolkit.getDefaultToolkit().createImage(piecename);
                              Image pimage = tpimage.getScaledInstance(35,35, Image.SCALE_DEFAULT);
                              //ImageIcon piece = new ImageIcon(pimage);
                              pieceList.put(new String(piecename), pimage);
               System.out.println(pieceList.toString());
               System.out.println(pieceList.size() + "((**))(())");
          private void setImages()
               int listsize = names.size();
               if(!pieceList.isEmpty())
                    int index = 0;
                    for(int i = 0; i < listsize; i++)
                         String pieceName = (String)names.get(index);
                         String hKey = getHashKey(pieceName);
                         System.out.println(hKey);
                         if((hKey.compareTo("blackking") == 0) || (hKey.compareTo("blackqueen") == 0) ||
                         (hKey.compareTo("whiteking") == 0) || (hKey.compareTo("whitequeen") == 0))
                              Image tpiece = (Image)pieceList.get(new String(hKey));
                              ImageIcon piece = new ImageIcon(tpiece);
                              pce1 = new JLabel(piece);
                              piecesOnBoard.put(new String(hKey), pce1);
                         else
                              System.out.println("multiples " + hKey);
                              createMultiples(hKey, pieceName);
                         if(i == listsize-1)
                              index = 0;
                         else
                              index++;
                         System.out.println(pieceName + " " + hKey + "1234567890");
          private void createMultiples(String key, String hname)
               JLabel piecet;
               String name;
               if(key == "blackpawn" || key == "whitepawn")
                    name = key;
                    for(int i = 0; i < 8; i++)
                         //System.out.println(name+i);
                         String tempname = name+i;
                         Image piece = (Image)pieceList.get(new String(name));
                         ImageIcon pieces = new ImageIcon(piece);
                         piecet = new JLabel(pieces);
                         piecesOnBoard.put(new String(tempname), piecet);
               else if(key == "blackknight" || key == "whiteknight")
                    name = key;
                    for(int i = 0; i < 2; i++)
                         //System.out.println(name+i);
                         String tempname = name+i;
                         Image piece = (Image)pieceList.get(new String(name));
                         ImageIcon pieces = new ImageIcon(piece);
                         piecet = new JLabel(pieces);
                         piecesOnBoard.put(new String(tempname), piecet);
                    if(!ht.containsKey(new String(key)))
                         ht.put(new String(key+0), new Integer(0));
               else if(key == "blackbishop" || key == "whitebishop")
                    name = key;
                    for(int i = 0; i < 2; i++)
                         System.out.println(name+i);
                         String tempname = name+i;
                         Image piece = (Image)pieceList.get(new String(name));
                         System.out.println(piece.toString());
                         ImageIcon pieces = new ImageIcon(piece);
                         piecet = new JLabel(pieces);
                         piecesOnBoard.put(new String(tempname), piecet);
                    if(!ht.containsKey(new String(key)))
                         ht.put(new String(key+0), new Integer(0));
               else if(key == "blackrook" || key == "whiterook")
                    name = key;
                    for(int i = 0; i < 2; i++)
                         System.out.println(name+i);
                         String tempname = name+i;
                         Image piece = (Image)pieceList.get(new String(name));
                         ImageIcon pieces = new ImageIcon(piece);
                         piecet = new JLabel(pieces);
                         piecesOnBoard.put(new String(tempname), piecet);
                    if(!ht.containsKey(new String(key)))
                         ht.put(new String(key+0), new Integer(0));
Hopefully this will format alright, but my question is, is that why is it giving me this error... it happens in the create multiples function(the last function in this code block) this is a jlayeredpane which is called by a JApplet. Any ideas on the loading? Its in the getImages() fuction.

These are the lines it dies on.... the System.out.println(piece.toString()); precisely. I don't know if I am not getting the images from the directory right... or if I need to make sure this is in a JAR file or not.
{                    name = key;                    for(int i = 0; i < 2; i++)                    {                         System.out.println(name+i);                         String tempname = name+i;                         Image piece = (Image)pieceList.get(new String(name));                         System.out.println(piece.toString());                         ImageIcon pieces = new ImageIcon(piece);                         piecet = new JLabel(pieces);                         piecesOnBoard.put(new String(tempname), piecet);                    }                    if(!ht.containsKey(new String(key)))                    {                         ht.put(new String(key+0), new Integer(0));                    }                    

Similar Messages

  • IPhoto 9.4.3 -not able to load image to view/edit

    I have iPhoto 9.4.3 and am running 10.7.5 OS.  I am able to see photo thumbnnails, zoom and see info on the image, however, I can not load the image to view or edit.  When I try to click on the image I get a black screen.

    There are several possible causes for the Black Screen issue
    1. Permissions in the Library: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the option to check and repair permissions.
    2. Minor Database corruption: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild.
    3. A Damaged Photo: Select one of the affected photos in the iPhoto Window and right click on it. From the resulting menu select 'Show File (or 'Show Original File' if that's available). (On iPhoto 11 this option is under the File -> Reveal in Finder.) Will the file open in Preview? If not then the file is damaged. Time to restore from your back up.
    4. A corrupted iPhoto Cache: Trash the com.apple.iPhoto folder from HD/Users/Your Name/ Library/ Caches...
    5. A corrupted preference file: Trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    If none of these help: As a Test:
    Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • Media Tracker**not able to load image ....Just breaking my head!

    Hello all
    I am using Media Tracker to diplay or load the image form a source file... but it is not loading......
    Any Help appreicate it,.... thanks
    This is mycode
    DemoFrame Class:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.geom.*;
    public class DemoFrame extends JFrame
    public DemoFrame()
    setTitle ("Graphics Demonstration");
    Toolkit kit = Toolkit.getDefaultToolkit();
    Dimension ScreenSize = kit.getScreenSize();
    int screenWidth = ScreenSize.width;
    int screenHeight = ScreenSize.height;
    DemoPanel panel = new DemoPanel();
    Container c = getContentPane();
    c.add(panel);
    setSize(screenWidth/2,screenHeight/2);
    setLocation(screenWidth/2,screenHeight/84);
    public static void main(String[]args)
    DemoFrame df = new DemoFrame();
    df.show();
    DemoPanel Class:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.geom.*;
    import java.awt.font.*;
    public class DemoPanel extends JPanel
    public void paintComponent(Graphics g)
    super.paintComponent(g);
    Graphics2D g2=(Graphics2D)g;
    Dimension d = getSize();
    int height = (d.height/8);
    int height1= height/3;
    int x = 0;
    int y =0;
    Rectangle2D r1 = new Rectangle2D.Double(x,y,d.width,height);
    Rectangle2D r2 = new Rectangle2D.Double(x,(y+height),d.width,height);
    Rectangle2D r3 = new Rectangle2D.Double(x,y+(2*height),d.width,height);
    g2.setPaint(Color.green);
    Font f1 = new Font("Helvetica",Font.BOLD,12);
    g.setFont(f1);
    g.setColor(Color.black);
    g.drawString("0gkgkgkgkgkgkgkgk0",message_x,message_y);
    g2.fill(r1);
    g2.setPaint( Color.blue);
    g2.fill(r2);
    Font f2= new Font("Helvetica",Font.BOLD,12);
    g.setFont(f2);
    g.setColor(Color.red);
    g.drawString("1gkgkgkgkgkgkgkgk1",message_x,message_y);
    g2.setPaint(Color.red);
    g2.fill(r3);
    Font f3 = new Font("Helvetica",Font.BOLD,12);
    g.setFont(f3);
    g.setColor(Color.blue);
    g.drawString("2gkgkgkgkgkgkgkgk2",message_x,message_y);
    String s1 = "0gkgkgkgkgkgkgkgk0";
    Font f1 = new Font("Helvetica",Font.BOLD,12);
    g2.setFont(f1);
    FontRenderContext context=g2.getFontRenderContext();
    Rectangle2D bounds =f1.getStringBounds(s1,context);
    **********MEDIA TRACKER************
    image = Toolkit.getDefaultToolkit().getImage("homealone2.jpeg");
    MediaTracker tracker = new MediaTracker(this);
    tracker.addImage(image,0);
    System.out.println("new image");
         try
                   tracker.waitForID(0);
                   System.out.println("new image");
         catch(InterruptedException e)
    private Image image;
    public static final int message_x=10;
    public static final int message_y=10;
    ---------------------------------

         * M�todo que carrega imagens na mem�ria, a partir da URL onde o
         * applet est� sendo carregado.
         * @param nomeDaImagem O nome da imagem a ser carregada
         * @return A imagem requisitada ou null caso n�o haja tal imagem na url do applet
         public  Image  carregarImagem(String  nomeDaImagem)
              try
                   // l� a imagem do servidor
                   Image  imagem  =  getImage(getDocumentBase(),  nomeDaImagem);
                   // cria um objeto MediaTracker, para monitorar a leitura da imagem
                   MediaTracker  monitor  =  new  MediaTracker(this);
                   monitor.addImage(imagem,  0);
                   // S� retorna ap�s toda a imagem ter sido carregada na mem�ria
                   monitor.waitForID(0);
                   return  imagem;
              catch(Exception  erro)
                   // Em caso de erro, exibe esse erro e encerra a execu��o do programa
                   erro.printStackTrace();
                   System.exit(0);
                   return  null;
    }

  • I am not able to load image from localdesktop in FF 7.01 via mu javascript but I am able to load and view is my office desktop with same version of FF.What setting are not the same in both boxes ?

    I have JS where in from HTML input file type box, I pull the path of the image and then set it as src to image tag via javascript and display it on the same page for viewing.The same piece of code works fine in my office desktop FF 7.01 but it does not work in my local desktop computer when I download and install ff from mozilla.what setting should i change so that it displays my image in my image placeholder.

    1. You did not get an error message telling you that your iPhoto library was getting full. You got a message telling you that your HD was getting full, right?
    OS X needs about 10 gigs of hard drive space for normal OS operations - things like virtual memory, temporary files and so on.
    Without this space your Mac will slow down as the OS hunts for space on the disk, files will be fragmented, also slowing things down, apps will crash and the risk of data corruption - that is damage to your files, photos, music - increases exponentially.
    Your first priority is to make more space on that HD. Nothing else can be done until you do.
    Purchase an external HD and move your Photos and Music to it. Both iPhoto and iTunes can run perfectly well with the Library on an external disk.
    Your Library has been damaged from being run on an overfull disk.
    How much free space on it now?

  • PLEASE HELP:not able to load a simple servlet

    Hi,
    I'm new to weblogic server.I'm trying to setup weblogic 510.Everything was
    going fine until I got stuck to this small thing.I'm not able to load a
    simple servlet!.
    I would appreciate any pointers regarding this.Please Help me!!!
    Here is what I tried:
    I have installed weblogic510 plug-in for IIS.I could successfully run jsp
    files.However I am not able to load simple servlets;It gave an exception
    "java.lang.IllegalAccessError: try to access class
    weblogic/utils/classloaders/FileSource from class
    weblogic/servlet/internal/WarClassFinder"
    Details of my configuration:
    WebServer - IIS 4.0
    IIS port=80
    Weblogic port=7001
    I had set it in such a way that all the requests first go to IIS and then
    IIS redirects them to Weblogic.I've followed the steps according to the
    document "Installing the Weblogic ISAPI Plug-in".
    I've registered the servlet in weblogic.properties as following:
    weblogic.httpd.register.hello=examples.servlets.HelloWorld2
    I tested the servlet by URL http://localhost:7001/hello
    Following is the eact text for the exception I got in the WeblogicServer
    window:
    Mon Jul 24 12:13:13 PDT 2000:<E> <ServletContext-General> Error loading
    servlet:
    examples.servlets.HelloWorld2
    java.lang.IllegalAccessError: try to access class
    weblogic/utils/classloaders/Fi
    leSource from class weblogic/servlet/internal/WarClassFinder
    at
    weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.jav
    a, Compiled Code)
    at
    weblogic.servlet.internal.WarClassFinder.getClassSource(WarClassFinde
    r.java:110)
    at
    weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
    ClassLoader.java:381)
    at
    weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
    cClassLoader.java, Compiled Code)
    at
    weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Slave.
    loadClass(RecursiveReloadOnModifyClassLoader.java:234)
    at
    weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
    Loader.java:146)
    at
    weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.findLo
    calClass(RecursiveReloadOnModifyClassLoader.java:109)
    at
    weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
    cClassLoader.java, Compiled Code)
    at
    weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
    Loader.java:172)
    at
    weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
    Loader.java:146)
    at
    weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
    mpl.java:291)
    at
    weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
    java:164)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:99)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
    textImpl.java:742)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
    textImpl.java:686)
    at
    weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
    ContextManager.java:247)
    at
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
    a:361)
    at
    weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
    Code)
    Mon Jul 24 12:13:13 PDT 2000:<E> <ServletContext-General> Servlet failed
    with Ex
    ception
    I dont think there were any problems in the classpath or
    servletpath;Basically WeblogicServer was able to locate the servlet but when
    it tried to load the servlet it gave this exception.
    I would appreciate any ideas/suggestions.
    Thanks,
    Sravan

    Nice to hear it works!
    However, one mistake you have in the configuration you provided:
    You put D:\weblogic\BDL\servletclasses in both CLASSPATH and
    weblogic.class.path, remove it from CLASSPATH.
    Cheers - Wei
    Sravan Thella <[email protected]> wrote in message
    news:[email protected]...
    Hi Michael and Wei,
    Thank you very much for the response.
    My servlet details:
    Name - HelloWorld2.class
    package - examples.servlets
    Location - d:\weblogic\BDL\servletclasses ---- here BDL is my new folder
    where I want to keep my servlets
    My CLASSPATH(environment) settings:
    D:\weblogic\BDL\servletclasses;d:\weblogic\classes\boot;d:\weblogic\eval\clo
    >
    udscape\lib\cloudscape.jar;d:\weblogic\lib\poolorb.jar;D:\java\jre\lib\rt.ja
    r;
    my weblogic classpath settings(set it thru wlconfig)
    D:\weblogic\BDL\servletclasses;d:\weblogic\classes\boot;d:\weblogic\eval\clo
    >
    udscape\lib\cloudscape.jar;d:\weblogic\lib\poolorb.jar;D:\java\jre\lib\rt.ja
    r;
    My weblogic.policy:
    grant codeBase "file:d:/weblogic/-" {
    permission java.io.FilePermission "d:${/}weblogic${/}-",
    "read,write,delete,execute";
    permission java.net.SocketPermission "localhost:1-9000",
    "connect,accept,listen,resolve";
    permission java.awt.AWTPermission "accessClipboard";
    permission java.awt.AWTPermission "accessEventQueue";
    permission java.awt.AWTPermission "showWindowWithoutWarningBanner";
    permission java.io.SerializablePermission"enableSubclassImplementation";
    permission java.io.SerializablePermission "enableSubstitution";
    permission java.lang.RuntimePermission "accessClassInPackage.*";
    permission java.lang.RuntimePermission "accessDeclaredMembers.*";
    permission java.lang.RuntimePermission "createClassLoader";
    permission java.lang.RuntimePermission "createSecurityManager";
    permission java.lang.RuntimePermission "defineClassInPackage.*";
    permission java.lang.RuntimePermission "exitVM";
    permission java.lang.RuntimePermission "getClassLoader";
    permission java.lang.RuntimePermission "createClassLoader";
    permission java.lang.RuntimePermission "getProtectionDomain";
    permission java.lang.RuntimePermission "loadLibrary.*";
    permission java.lang.RuntimePermission "modifyThread";
    permission java.lang.RuntimePermission "modifyThreadGroup";
    permission java.lang.RuntimePermission "readFileDescriptor";
    permission java.lang.RuntimePermission "setContextClassLoader";
    permission java.lang.RuntimePermission "setFactory";
    permission java.lang.RuntimePermission "setIO";
    permission java.lang.RuntimePermission "setProtectionDomain";
    permission java.lang.RuntimePermission "setSecurityManager";
    permission java.lang.RuntimePermission "writeFileDescriptor";
    permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
    permission java.net.NetPermission "requestPasswordAuthentication";
    permission java.net.NetPermission "setDefaultAuthenticator";
    permission java.security.SecurityPermission "getPolicy";
    permission java.security.SecurityPermission "setPolicy";
    permission java.util.PropertyPermission "*", "read,write";
    grant codeBase "file:d:/weblogic/BDL/servletclasses/-" {
    permission java.io.FilePermission
    "d:${/}weblogic${/}BDL{/}servletclasses{/}-", "read,write,delete,execute";
    permission java.net.SocketPermission "localhost:1-9000",
    "connect,accept,listen,resolve";
    permission java.awt.AWTPermission "accessClipboard";
    permission java.awt.AWTPermission "accessEventQueue";
    permission java.awt.AWTPermission "showWindowWithoutWarningBanner";
    permission java.io.SerializablePermission"enableSubclassImplementation";
    permission java.io.SerializablePermission "enableSubstitution";
    permission java.lang.RuntimePermission "accessClassInPackage.*";
    permission java.lang.RuntimePermission "accessDeclaredMembers.*";
    permission java.lang.RuntimePermission "createClassLoader";
    permission java.lang.RuntimePermission "createSecurityManager";
    permission java.lang.RuntimePermission "defineClassInPackage.*";
    permission java.lang.RuntimePermission "exitVM";
    permission java.lang.RuntimePermission "getClassLoader";
    permission java.lang.RuntimePermission "createClassLoader";
    permission java.lang.RuntimePermission "getProtectionDomain";
    permission java.lang.RuntimePermission "loadLibrary.*";
    permission java.lang.RuntimePermission "modifyThread";
    permission java.lang.RuntimePermission "modifyThreadGroup";
    permission java.lang.RuntimePermission "readFileDescriptor";
    permission java.lang.RuntimePermission "setContextClassLoader";
    permission java.lang.RuntimePermission "setFactory";
    permission java.lang.RuntimePermission "setIO";
    permission java.lang.RuntimePermission "setProtectionDomain";
    permission java.lang.RuntimePermission "setSecurityManager";
    permission java.lang.RuntimePermission "writeFileDescriptor";
    permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
    permission java.net.NetPermission "requestPasswordAuthentication";
    permission java.net.NetPermission "setDefaultAuthenticator";
    permission java.security.SecurityPermission "getPolicy";
    permission java.security.SecurityPermission "setPolicy";
    permission java.util.PropertyPermission "*", "read,write";
    I dont know what is wrong here. In the weblogic.policy file,I tried
    differrent combinations but it never worked.
    I find weblogic documentation for troubleshooting to be pathetic.Notuseful
    at all.Documentation looks
    good to read ;not for practical purposes.I'm not sure whether others have
    similar opinion.
    I'm stuck at this thing for the past few days,I still have lot of work todo
    to purusue our management team to buy weblogic
    but I'm still stuck at this thing.
    Thank you very much for your time.
    Thanks,
    Sravan
    "Sravan Thella" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I'm new to weblogic server.I'm trying to setup weblogic 510.Everything
    was
    going fine until I got stuck to this small thing.I'm not able to load a
    simple servlet!.
    I would appreciate any pointers regarding this.Please Help me!!!
    Here is what I tried:
    I have installed weblogic510 plug-in for IIS.I could successfully runjsp
    files.However I am not able to load simple servlets;It gave an exception
    "java.lang.IllegalAccessError: try to access class
    weblogic/utils/classloaders/FileSource from class
    weblogic/servlet/internal/WarClassFinder"
    Details of my configuration:
    WebServer - IIS 4.0
    IIS port=80
    Weblogic port=7001
    I had set it in such a way that all the requests first go to IIS andthen
    IIS redirects them to Weblogic.I've followed the steps according to the
    document "Installing the Weblogic ISAPI Plug-in".
    I've registered the servlet in weblogic.properties as following:
    weblogic.httpd.register.hello=examples.servlets.HelloWorld2
    I tested the servlet by URL http://localhost:7001/hello
    Following is the eact text for the exception I got in the WeblogicServer
    window:
    Mon Jul 24 12:13:13 PDT 2000:<E> <ServletContext-General> Error loading
    servlet:
    examples.servlets.HelloWorld2
    java.lang.IllegalAccessError: try to access class
    weblogic/utils/classloaders/Fi
    leSource from class weblogic/servlet/internal/WarClassFinder
    at
    weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.jav
    a, Compiled Code)
    at
    weblogic.servlet.internal.WarClassFinder.getClassSource(WarClassFinde
    r.java:110)
    at
    weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
    ClassLoader.java:381)
    at
    weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
    cClassLoader.java, Compiled Code)
    at
    weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Slave.
    loadClass(RecursiveReloadOnModifyClassLoader.java:234)
    at
    weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
    Loader.java:146)
    at
    weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.findLo
    calClass(RecursiveReloadOnModifyClassLoader.java:109)
    at
    weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
    cClassLoader.java, Compiled Code)
    at
    weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
    Loader.java:172)
    at
    weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
    Loader.java:146)
    at
    weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
    mpl.java:291)
    at
    weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
    java:164)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:99)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
    textImpl.java:742)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
    textImpl.java:686)
    at
    weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
    ContextManager.java:247)
    at
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
    a:361)
    at
    weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,Compiled
    Code)
    Mon Jul 24 12:13:13 PDT 2000:<E> <ServletContext-General> Servlet failed
    with Ex
    ception
    I dont think there were any problems in the classpath or
    servletpath;Basically WeblogicServer was able to locate the servlet butwhen
    it tried to load the servlet it gave this exception.
    I would appreciate any ideas/suggestions.
    Thanks,
    Sravan

  • My ipod is not able to load my contacts when i select it

    my ipod is not able to load my contacts when i select it. Can u help me please??

    From which computer app (name and version)  are you trying to load (really sync) the contacts?
    What computer OS and version are you using?
    What iOS version?

  • Not able to download image from database

    not able to download image from database am in jdeveloper 11g release 2 am using this example
    : http://tompeez.wordpress.com/2011/11/26/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-2/
    hi am not able to down load my image my jsp xml is
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document title="sms4200.jspx" id="d1">
    <af:messages id="m1"/>
    <af:form id="f1" usesUpload="true">
    <af:panelStretchLayout topHeight="211px" id="psl1" inlineStyle="width:1338px; background-color:Navy;">
    <f:facet name="top">
    <af:panelHeader text="Sms Intergration Sources" id="ph1">
    <f:facet name="context"/>
    <f:facet name="menuBar"/>
    <f:facet name="toolbar"/>
    <f:facet name="legend"/>
    <f:facet name="info"/>
    <af:panelStretchLayout id="psl2" inlineStyle="height:178px; width:1018px;" topHeight="22px"
    endWidth="589px" startWidth="55px" bottomHeight="33px">
    <f:facet name="end">
    <af:panelHeader text="Office" id="ph2"
    inlineStyle="width:900px; background-color:Navy;">
    <f:facet name="context"/>
    <f:facet name="menuBar"/>
    <f:facet name="toolbar"/>
    <f:facet name="legend"/>
    <f:facet name="info"/>
    <af:panelFormLayout id="pfl3" inlineStyle="background-color:Navy;" rows="1">
    <f:facet name="footer"/>
    <af:inputText label="#{bindings.Name1.hints.label}"
    required="#{bindings.Name1.hints.mandatory}"
    columns="20"
    maximumLength="#{bindings.Name1.hints.precision}"
    shortDesc="#{bindings.Name1.hints.tooltip}" id="it2">
    <f:validator binding="#{bindings.Name1.validator}"/>
    </af:inputText>
    <af:inputText
    label="#{bindings.LocalUpDirectory1.hints.label}"
    required="#{bindings.LocalUpDirectory1.hints.mandatory}"
    columns="20"
    maximumLength="#{bindings.LocalUpDirectory1.hints.precision}"
    shortDesc="#{bindings.LocalUpDirectory1.hints.tooltip}"
    id="it3">
    <f:validator binding="#{bindings.LocalUpDirectory1.validator}"/>
    </af:inputText>
    </af:panelFormLayout>
    </af:panelHeader>
    </f:facet>
    <f:facet name="top">
    <af:inputText value="#{bindings.IntegrationTypeName1.inputValue}"
    label="#{bindings.IntegrationTypeName1.hints.label}"
    required="#{bindings.IntegrationTypeName1.hints.mandatory}"
    columns="#{bindings.IntegrationTypeName1.hints.displayWidth}"
    maximumLength="#{bindings.IntegrationTypeName1.hints.precision}"
    shortDesc="#{bindings.IntegrationTypeName1.hints.tooltip}" id="it1">
    <f:validator binding="#{bindings.IntegrationTypeName1.validator}"/>
    </af:inputText>
    </f:facet>
    </af:panelStretchLayout>
    </af:panelHeader>
    </f:facet>
    <f:facet name="center">
    <!-- id="af_one_column_header_stretched" -->
    <af:decorativeBox theme="dark" id="db1" inlineStyle="width:1050px; background-color:Navy;">
    <f:facet name="center">
    <af:panelGroupLayout layout="scroll" id="pgl3" inlineStyle="background-color:Navy;">
    <af:panelStretchLayout id="psl3" inlineStyle="width:1012px; height:502px;"
    topHeight="133px" startWidth="0px">
    <f:facet name="center">
    <af:panelStretchLayout id="psl5" endWidth="659px" startWidth="171px">
    <f:facet name="center"/>
    <f:facet name="start"/>
    <f:facet name="end">
    <af:panelGroupLayout layout="scroll" id="pgl2">
    <af:inputFile label="Select Image" id="if1" autoSubmit="true"
    valueChangeListener="#{ImageBean.uploadFileValueChangeEvent}"/>
    <af:commandButton actionListener="#{bindings.CreateInsert.execute}"
    text="Restart Load Image Process"
    disabled="#{!bindings.CreateInsert.enabled}"
    id="cb2"/>
    <af:commandButton actionListener="#{bindings.Commit.execute}"
    text="Save"
    disabled="#{!bindings.Commit.enabled}"
    id="cb3"/>
    <af:commandButton text="View" id="cb1"
    partialSubmit="true"
    unsecure="#{ImageBean.downloadButton}"
    action="#{image.downloadImage}"
    binding="#{image2.downloadButton}"/>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="top"/>
    </af:panelStretchLayout>
    </f:facet>
    <f:facet name="start"/>
    <f:facet name="top">
    <af:panelStretchLayout id="psl4" startWidth="232px" endWidth="296px"
    bottomHeight="18px" topHeight="11px">
    <f:facet name="bottom"/>
    <f:facet name="center"/>
    <f:facet name="start">
    <af:panelFormLayout id="pfl1" labelAlignment="top">
    <f:facet name="footer"/>
    <af:inputText label="File from PC to be Transfered" id="it4"/>
    </af:panelFormLayout>
    </f:facet>
    <f:facet name="end">
    <af:panelFormLayout id="pfl2" labelAlignment="top" maxColumns="10">
    <f:facet name="footer">
    <af:inputText value="#{bindings.DocumentName.inputValue}"
    label="File Transfered to Database"
    required="#{bindings.DocumentName.hints.mandatory}"
    columns="50"
    rows="1"
    maximumLength="#{bindings.DocumentName.hints.precision}"
    shortDesc="#{bindings.DocumentName.hints.tooltip}"
    id="it5" simple="false">
    <f:validator binding="#{bindings.DocumentName.validator}"/>
    </af:inputText>
    </f:facet>
    </af:panelFormLayout>
    </f:facet>
    <f:facet name="top"/>
    </af:panelStretchLayout>
    </f:facet>
    </af:panelStretchLayout>
    </af:panelGroupLayout>
    </f:facet>
    </af:decorativeBox>
    </f:facet>
    </af:panelStretchLayout>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    and my log file is
    <ViewHandlerImpl> <_checkTimestamp> Apache Trinidad is running with time-stamp checking enabled. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    <UIXEditableValue> <_isBeanValidationAvailable> A Bean Validation provider is not present, therefore bean validation is disabled
    the method am calling is
        public BlobDomain downloadImage() {
            FacesContext facesContext = null;
            OutputStream outputStream = null;
            BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
            // get an ADF attributevalue from the ADF page definitions
            AttributeBinding attr = (AttributeBinding)bindings.getControlBinding("Documentimage");
            if (attr == null) {
                return null;
            // the value is a BlobDomain data type
            BlobDomain blob = (BlobDomain)attr.getInputValue();
            try { // copy hte data from the BlobDomain to the output stream
                IOUtils.copy(blob.getInputStream(), outputStream);
                // cloase the blob to release the recources
                blob.closeInputStream();
                // flush the outout stream
                outputStream.flush();
            } catch (IOException e) {
                // handle errors
                e.printStackTrace();
                FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, e.getMessage(), "");
                FacesContext.getCurrentInstance().addMessage(null, msg);
            return blob;
        }i get this error when clicking the button
    error when not able to download image
    <BeanHandler> <getStructure> Failed to build StructureDefinition for : sms4200.ImageBean
    <UIXEditableValue> <_isBeanValidationAvailable> A Bean Validation provider is not present, therefore bean validation is disabled
    Edited by: Tshifhiwa on 2012/06/03 10:53 AM
    Edited by: Tshifhiwa on 2012/06/03 10:56 AM
    Edited by: Tshifhiwa on 2012/06/03 10:57 AM

    hi i try to run your sample am geting this error
    Error 500--Internal Server Error
    oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/HRDS
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1453)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8972)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
         at oracle.adf.model.binding.DCDataControl.setErrorHandler(DCDataControl.java:487)
         at oracle.jbo.uicli.binding.JUApplication.setErrorHandler(JUApplication.java:261)
         at oracle.adf.model.BindingContext.put(BindingContext.java:1318)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:247)
         at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1020)
         at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1645)
         at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1514)
         at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1474)
         at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:1150)
         at oracle.adf.model.BindingContext.get(BindingContext.java:1103)
         at oracle.adf.model.binding.DCParameter.evaluateValue(DCParameter.java:82)
         at oracle.adf.model.binding.DCParameter.getValue(DCParameter.java:111)
         at oracle.adf.model.binding.DCBindingContainer.getChildByName(DCBindingContainer.java:2748)
         at oracle.adf.model.binding.DCBindingContainer.internalGet(DCBindingContainer.java:2796)
         at oracle.adf.model.binding.DCExecutableBinding.get(DCExecutableBinding.java:115)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:329)
         at oracle.adf.model.binding.DCBindingContainer.evaluateParameterWithElCheck(DCBindingContainer.java:1478)
         at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1608)
         at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2542)
         at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2477)
         at oracle.adf.model.binding.DCIteratorBinding.getAttributeDefs(DCIteratorBinding.java:3319)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.fetchAttrDefs(JUCtrlValueBinding.java:514)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDefs(JUCtrlValueBinding.java:465)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:541)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeDef(JUCtrlValueBinding.java:531)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding$1JUAttributeDefHintsMap.(JUCtrlValueBinding.java:4104)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeHintsMap(JUCtrlValueBinding.java:4211)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getHints(JUCtrlValueBinding.java:2564)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:2389)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.internalGet(FacesCtrlAttrsBinding.java:275)
         at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:749)
         at javax.el.MapELResolver.getValue(MapELResolver.java:164)
         at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
         at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
         at com.sun.el.parser.AstValue.getValue(Unknown Source)
         at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
         at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)
         at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:73)
         at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.getLabel(LabelLayoutRenderer.java:929)
         at oracle.adfinternal.view.faces.renderkit.rich.LabelLayoutRenderer.encodeAll(LabelLayoutRenderer.java:213)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.encodeAll(LabeledInputRenderer.java:215)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeFormItem(PanelFormLayoutRenderer.java:1088)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.access$100(PanelFormLayoutRenderer.java:50)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1604)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1523)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:420)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:208)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:447)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$1500(PanelGroupLayoutRenderer.java:30)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:734)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$EncoderCallback.processComponent(PanelGroupLayoutRenderer.java:637)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:360)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:879)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:1294)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeMiddlePanes(PanelStretchLayoutRenderer.java:351)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:316)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:2194)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer.access$400(RegionRenderer.java:50)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer$ChildEncoderCallback.processComponent(RegionRenderer.java:707)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer$ChildEncoderCallback.processComponent(RegionRenderer.java:692)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:187)
         at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:318)
         at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:283)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer._encodeChildren(RegionRenderer.java:297)
         at oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer.encodeAll(RegionRenderer.java:186)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at oracle.adf.view.rich.component.fragment.UIXRegion.encodeEnd(UIXRegion.java:323)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeCenterFacet(PanelStretchLayoutRenderer.java:879)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeCenterPane(PanelStretchLayoutRenderer.java:1294)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer._encodeMiddlePanes(PanelStretchLayoutRenderer.java:351)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelStretchLayoutRenderer.encodeAll(PanelStretchLayoutRenderer.java:316)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
         at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:274)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:624)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:3201)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:641)
         at oracle.adf.view.rich.render.RichRenderer.encodeAllChildrenInContext(RichRenderer.java:3062)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1277)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:511)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:923)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1659)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1655)
         at oracle.adfinternal.view.faces.component.AdfViewRoot.encodeAll(AdfViewRoot.java:91)
         at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:399)
         at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.renderView(ViewDeclarationLanguageFactoryImpl.java:350)
         at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:131)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:273)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:165)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:1027)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:334)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:232)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313)
         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:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: javax.naming.NameNotFoundException: While trying to lookup 'jdbc.HRDS' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/HRDS'
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
         at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at oracle.jbo.server.DBTransactionImpl.lookupDataSource(DBTransactionImpl.java:1439)
         ... 190 more
    my connection.xml is
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <References xmlns="http://xmlns.oracle.com/adf/jndi">
    <Reference name="HRDS" className="oracle.jdeveloper.db.adapter.DatabaseProvider" credentialStoreKey="HRDS" xmlns="">
    <Factory className="oracle.jdeveloper.db.adapter.DatabaseProviderFactory"/>
    <RefAddresses>
    <StringRefAddr addrType="sid">
    <Contents>smsdev</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="subtype">
    <Contents>oraJDBC</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="port">
    <Contents>1521</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="hostname">
    <Contents>localhost</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="user">
    <Contents>hr</Contents>
    </StringRefAddr>
    <SecureRefAddr addrType="password"/>
    <StringRefAddr addrType="oraDriverType">
    <Contents>thin</Contents>
    </StringRefAddr>
    </RefAddresses>
    </Reference>
    </References>
    Edited by: Tshifhiwa on 2012/06/04 2:20 PM

  • Not able to load master data

    HI Friends,
    I am not able to load data in master data even after deleting the master data. when i am schedule then the data is not even load in PSA , I am using the SRM as source system,
    The SRM is refreshed every quater so we need to re load the data from that system.
    Can you please suggest how to go about as it is very urgent ,
    I have checked that the connection is working fine but there is one short dump that is coming
    this is information that st22 is provding
    The termination occurred in the ABAP program "SAPLRSS1 " in                   
    "RSM1_CHECK_FOR_DELTAUPD".                                                   
    The main program was "RSPROCESS ".                                                                               
    The termination occurred in line 1361 of the source code of the (Include)     
    program "LRSS1F11 "                                                          
    of the source code of program "LRSS1F11 " (when calling the editor 13610).    
    The program "SAPLRSS1 " was started as a background job.                      
    Thanks
    Raju

    Hi Raju,
    Very strange to see your dump mesg when you are doing full load.
    Are you sure this dump is realted to your load.
    Check if your transfer structure is active or try doing following steps:
    1. Kill all the jobs runing in BW system.
    2. Delete all the data in all the realted data targets and infoobjects.
    3. Then try uploading data one by one.
    Ans why dont your try uploading data first only to PSA.
    Regards,
    Rohini

  • Why am i not able to see images on some web sites, using safari 5.1.7. I have enabled the tab to display images.

    Does anyone know why I am not able to see images on some web sites using safari 5.1.7?
    I have enabled the apperance tab to display images.

    Safari 5.0.1 or later: Slow or partial webpage loading, or webpage cannot be found

  • Iphoto is not able to load my pictures

    Hello I have a problem while running iphoto. The program is not able to load my pictures it gets stock searching for pictures and does not displays a single image, none of the commands respond
    Can you give an advice.
    How can I reinstall this program.
    as you can see I'm not an apple expert yet.
    ilamp   Mac OS X (10.3.9)  

    Oh dear!
    Well I would start by deleting iPhoto and it's files. Do not touch the iPhoto Library folder found in the Pictures folder.
    To reinstall iPhoto...
    Navigate to /Applications and drag iPhoto to the trash
    Navigate to /Library/Receipts and drag all iPhoto receipts to the trash
    Navigate to ~/Library/Preferences and drag com.apple.iPhoto.plist to the trash.
    Look at this link and see what info pertains to you to reinstall iPhoto from your computer discs.
    How to restore your Apple software
    Mac OS X 10.4: Restoring applications from a Mac OS X 10.2 Software Restore disc
    Look all the way down the page for a downloadable version of Software restore to use in Tiger that works with your OS 10.2 computer specific software.
    Install iPhoto.
    Run Software Update and update iPhoto.
    Hopefull you will be able to open your iPhoto Library.
    Lori

  • Photoshop elements 11 is not launching or loading images (photo editor)

    Photoshop elements 11 is not launching or loading images (photo editor)

    If you haven't committed to PSE12, yet, then you should be able to download PSE/PRE11 from this website.  Be sure to follow the Very Important Instructions to set the Adobe authorization cookie, because the downloads actually come from Adobe:
    http://prodesigntools.com/photoshop-elements-11-direct-download-links-pse-premiere-pre.htm l

  • Camera Raw not able to load lense correction profiles

    Hi there,
    like the topic says.. I am not able to load lense correction profiles and get always the error message. I have the newest version (Creative Cloud Member) of Photoshop CC 2014 15.2.2 and my Mac OSX is up to date. With older versions (when I start from a backup it is working fine!? So what can I do?! I dont want to run PS from my backup folder.. it hast to work with the actual release as well. I did not change anything.. already tried with uninstalling and reinstalling PS. But it didn´t solve the problem.

    Possibly a reset to both Bridge and Camera Raw is in order. First, close Bridge. Now hold Cmd+Opt+Shift as you restart it. A box will appear; Place a check mark on all three options and hit "ok." Now, again, Cmd+Opt+Shift as you "open in Camera Raw."
    See is this helps.
    Benjamin

  • I have a sony handy cam dcr-sr85 that is not able to load to iMovie

    I have a sony handy cam dcr-sr85 that is not able to load to iMovie .Does anyone have any ideas .I think maybe  I need to download  a driver but I'm not sure . A free one would be nice. Thanks Steve

    Is it listed here as supported?
    iMovie 11 - cameras supported:
    http://help.apple.com/imovie/cameras/en/index.html?lang=en_US
    iMovie 9 - cameras supported:
    http://support.apple.com/kb/HT3290?viewlocale=en_US
    iMovie 8 Camcorders supported:
    http://support.apple.com/kb/HT1014
    Digital camera RAW formats supported by OS X Lion:
    http://support.apple.com/kb/HT4757?viewlocale=en_US
    Digital camera RAW formats supported by OS X Snow Leopard:
    http://support.apple.com/kb/HT3825?viewlocale=en_US
    Are you connecting by firewire?

  • I received a 1st Gen IPad from a supplier as a gift to promote their products. They used their Apple account to load the apps.  I am not able to load my own apps because their apple user is the one that pops up. How can I change it to mine?

    I received a 1st Gen IPad from a supplier as a gift to promote their products. They used their Apple account to load the apps.  I am not able to load my own apps because their apple user is the one that pops up. How can I change it to mine?

    Set it up as new device, explained in this article, without using the backup afterwards:
    How to back up your data and set up as a new device

  • Hi i am not able to load any google sites ie gmail,orkut,youtube(login),,etc

    hi i am not able to load any google sites ie gmail,orkut,youtube(login),,etc
    when i tryied to open sites like www.gmail.com i got error msg as:
    The connection was interrupted
    The connection to www.google.com was interrupted while the page was loading.
    * The site could be temporarily unavailable or too busy. Try again in a few
    moments.
    * If you are unable to load any pages, check your computer's network
    connection.
    * If your computer or network is protected by a firewall or proxy, make sure
    that Firefox is permitted to access the Web.
    i am currently using firefox 3.6.10 so what to do to fix this pblm?

    Make sure that your security software (firewall) isn't blocking or interrupting that connection.
    Do a malware check with a few malware scan programs.<br />
    You need to use all programs because each detects different malware.<br />
    Make sure that you update each program to get the latest version of the database before doing a scan.<br />
    <br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

Maybe you are looking for