Getting an error  "type AbstractStringBuilder is not visible"

Hi frndz..
Am developing an Web dynpro application in this am using "StringBuffer" and am writing the code like this
                      StringBuffer strBf = new StringBuffer();
                      strBf .append("<?xml version='1.0' encoding='UTF-8' standalone='no'?>\n");
                      strBf .append("<").append(entriesName).append(">\n");
and in the secound line of code itz show an error like
"type AbstractStringBuilder is not visible "
how to reslove this.
Thanks in Advance
Regards
Rajesh

Hi
resolve the higher version of Java and reinstall the  java 1.4.2_09 .
see this thread
Urgent "Entity Service Build Failed"
the type AbstractStringBuilder is not visible ----- Please Help
Thanks

Similar Messages

  • Type AbstractStringBuilder is not visible

    Dear All
    I'm making a web dynpro application and getting the error "type AbstractStringBuilder is not visible".
    Can anybody expalin me why it is coming?
    Latest JDK version is installed on my system.
    From where does the NWDS checks the version of JAVA?
    What should i do to remove this error?
    Request your support.
    Regards
    Vineet Vikram

    Hi Armin
    Problem is solved after i changed my work space for NWDS.
    There was some problem with the .meta file.
    Thanks for your response.
    I have awarded points to you.
    Thanks again
    Vineet

  • Type OracleCallableStatement is not visible

    Hi!
    I've installed weblogic server 10.3.3.0, and deployed my webapp in it.
    When I run it, I get the error
    Compilation of JSP File '/my_file.jsp' failed:
    my_file.jsp:23:7: The type OracleCallableStatement is not visible
    my_file.jsp:30:37: The type OracleTypes is not visible
    My webapp worked fine in OAS 10g 10.1.2.0.2 Java Edition...
    Any clue? anybody?
    Thanks!

    Solved.
    Instead of importing "oracle.jdbc.driver.*", I import"oracle.jdbc.*" and works fine.
    Thanks anyway.

  • The method clone() from the type Object is not visible

    Hi,
    This is my 1st post here for a few years, i have just returned to java.
    I am working through a java gaming book, and the "The method clone() from the type Object is not visible" appears, preventing the program from running. I understand "clone" as making a new copy of an object, allowing multiple different copies to be made.
    The error occurs here
    public Object clone() {
            // use reflection to create the correct subclass
            Constructor constructor = getClass().getConstructors()[0];
            try {
                return constructor.newInstance(new Object[] {
                    (Animation)left.clone(),
                    (Animation)right.clone(),
                    (Animation)deadLeft.clone(),
                    (Animation)deadRight.clone()
            catch (Exception ex) {
                // should never happen
                ex.printStackTrace();
                return null;
        }The whole code for this class is here
    package tilegame.sprites;
    import java.lang.reflect.Constructor;
    import graphics.*;
        A Creature is a Sprite that is affected by gravity and can
        die. It has four Animations: moving left, moving right,
        dying on the left, and dying on the right.
    public abstract class Creature extends Sprite {
            Amount of time to go from STATE_DYING to STATE_DEAD.
        private static final int DIE_TIME = 1000;
        public static final int STATE_NORMAL = 0;
        public static final int STATE_DYING = 1;
        public static final int STATE_DEAD = 2;
        private Animation left;
        private Animation right;
        private Animation deadLeft;
        private Animation deadRight;
        private int state;
        private long stateTime;
            Creates a new Creature with the specified Animations.
        public Creature(Animation left, Animation right,
            Animation deadLeft, Animation deadRight)
            super(right);
            this.left = left;
            this.right = right;
            this.deadLeft = deadLeft;
            this.deadRight = deadRight;
            state = STATE_NORMAL;
        public Object clone() {
            // use reflection to create the correct subclass
            Constructor constructor = getClass().getConstructors()[0];
            try {
                return constructor.newInstance(new Object[] {
                    (Animation)left.clone(),
                    (Animation)right.clone(),
                    (Animation)deadLeft.clone(),
                    (Animation)deadRight.clone()
            catch (Exception ex) {
                // should never happen
                ex.printStackTrace();
                return null;
            Gets the maximum speed of this Creature.
        public float getMaxSpeed() {
            return 0;
            Wakes up the creature when the Creature first appears
            on screen. Normally, the creature starts moving left.
        public void wakeUp() {
            if (getState() == STATE_NORMAL && getVelocityX() == 0) {
                setVelocityX(-getMaxSpeed());
            Gets the state of this Creature. The state is either
            STATE_NORMAL, STATE_DYING, or STATE_DEAD.
        public int getState() {
            return state;
            Sets the state of this Creature to STATE_NORMAL,
            STATE_DYING, or STATE_DEAD.
        public void setState(int state) {
            if (this.state != state) {
                this.state = state;
                stateTime = 0;
                if (state == STATE_DYING) {
                    setVelocityX(0);
                    setVelocityY(0);
            Checks if this creature is alive.
        public boolean isAlive() {
            return (state == STATE_NORMAL);
            Checks if this creature is flying.
        public boolean isFlying() {
            return false;
            Called before update() if the creature collided with a
            tile horizontally.
        public void collideHorizontal() {
            setVelocityX(-getVelocityX());
            Called before update() if the creature collided with a
            tile vertically.
        public void collideVertical() {
            setVelocityY(0);
            Updates the animaton for this creature.
        public void update(long elapsedTime) {
            // select the correct Animation
            Animation newAnim = anim;
            if (getVelocityX() < 0) {
                newAnim = left;
            else if (getVelocityX() > 0) {
                newAnim = right;
            if (state == STATE_DYING && newAnim == left) {
                newAnim = deadLeft;
            else if (state == STATE_DYING && newAnim == right) {
                newAnim = deadRight;
            // update the Animation
            if (anim != newAnim) {
                anim = newAnim;
                anim.start();
            else {
                anim.update(elapsedTime);
            // update to "dead" state
            stateTime += elapsedTime;
            if (state == STATE_DYING && stateTime >= DIE_TIME) {
                setState(STATE_DEAD);
    }Any advice? Is it "protected"? Is the code out-of-date?
    thankyou,
    Lance 28

    Lance28 wrote:
    Any advice? Is it "protected"? Is the code out-of-date?Welcome to the wonderful world of Cloneable. In answer to your first question: Object's clone() method is protected.
    A quote from Josh Bloch's "Effective Java" (Item 10):
    "A class that implements Cloneable is expected to provide a properly functioning public clone() method. It is not, in general, possible to do so unless +all+ of the class's superclasses provide a well-behaved clone implementation, whether public or protected."
    One way to check that would be to see if super.clone() works. Their method uses reflection to try and construct a valid Creature, but it relies on Animation's clone() method, which itself may be faulty. Bloch suggests the following pattern:public Object clone() throws CloneNotSupportedException {
       ThisClass copy = (ThisClass) super.clone();
       // do any additional initialization required...
       return copy
    if that doesn't work, you +may+ be out of luck.
    Another thing to note is that Object's clone() method returns a +shallow+ copy of the original object. If it contains any data structures (eg, Collections or arrays) that point to other objects, you may find that your cloned object is now sharing those with the original.
    Good luck.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • I want to de-install mac-excel test version and get the error message: you have not the privileges to de-install. Please login with the Mac-OS account you have installed mac-excel originally'. I don't know this account anymore. I am sysadm

    I want to de-install mac-excel test version and get the error message: 'You have not the privileges to de-install. Please login with the Mac-OS account you have installed mac-excel originally'. I don't know this account anymore. Possibly it does not exist anymore. anybody out there who can help ?

    Hi, I may suggest to activate the root account and try the uninstall process from that account. To do so, you have to:
    Go to System Preferences a open up the Users pane;
    On the left side of the pane, you shuold see Login Options;
    Enabled editing option clicking on the lock (it will ask your password);
    Once the pane is enabled, you should see something like Server Account Network (sorry my OS is in italian, so I don't exactly know the right translation), and right next to it a button;
    Click on that button, and a new pane shows up. Click on Open Directory Utility, and on the upper bar of OS X click on Edit;
    Select Enable Root Account (you can set a password, or not);
    Done that, you should log out and when the login window show up, type on the user field "root" and the password you choose;
    Theorically, from this account you will be able to unistall the application.
    After completing your task, I reccomend you to disable the root account, just by loggin in your personal account and repeating the steps I described before. Hope it helps

  • Step type section is not visible in workflow builder.

    Hello Friends,
                        Step type section is not visible in workflow builder even though I am in change mode. How to make it visible.
    Cheers,
    Senthil

    Hi,
         I in workflow builder ucan see three dropdown box in the left side of your screen. In that the third listbox you click to get the Step Types..
    thank You.

  • Can anyone help me with Magicjack? after I purchased US number I am unable to log in on my Iphone, I keep getting an error "YOUR DEVICE IS NOT ON THIS ACCOUNT" I contacted MJ support but they are very much useless and dont know how to fix it!

    can anyone help me with Magicjack? after I purchased US number I am unable to log in on my Iphone, I keep getting an error "YOUR DEVICE IS NOT ON THIS ACCOUNT" I contacted MJ support but they are very much useless and dont know how to fix it!

    There's a whole lot to read in your post, and frankly I have not read it all.
    Having said that, this troubleshooting guide should help:
    http://support.apple.com/kb/TS1538
    In particular, pay attention to the mobile device support sections near the bottom, assuming you have already done the items above it.

  • I can't sync my iphone to itunes i get this error message "Iphone could not sync because the sync failed to start" Help? both my computer windows and my phone are on the current versions of ios and itunes

    I can't sync my iphone to itunes i get this error message "Iphone could not sync because the sync failed to start" Help? both my computer windows and my phone are on the current versions of ios and itunes

    Hello lenmin,
    Thanks for using Apple Support Communities.
    To help resolve this issue where you're repeatedly prompted to authorize with your Apple ID in iTunes when syncing, please follow the directions in the article below.
    iTunes: Missing folder or incorrect permissions may prevent authorization - Apple Support
    Have a great weekend,
    Alex H.

  • Ever since upgrading to Lion I keep getting the error message "disk was not ejected properly."

    Ever since upgrading to Lion on my iMac G5 Intel Core 2 Duo, I keep getting the error message "disk was not ejected properly."  I have repaired permissions and reformatted my external LaCie 2TB USB hard disk, but the error continues.  I use this disk for my Time Machine backups.  This always seems to happen when the computer wakes from sleep, but not consistently.  The computer was asleep overnight and backed up as soon as it awakend this morning.  Two hours later I get the improper ejection message.  I have used the same external disk with Snow Leopard (all versions), but never had this error message or problem.  This disk has been in use without any problems since February, 2011. Upgrading to Lion is when this problem began. This is the below message (but from online image from Snow Leopard, but Lion message is essentially the same).

    I had a similar issue. Mine was with a Seagate GoFlex drive. The solution was to install GoFlex for Mac 1.1.2 which included a 64-bit driver to disable the drives built in sleep timer:
    http://www.seagate.com/ww/v/index.jsp?locale=en-US&name=goflex-mac-install-softw are&vgnextoid=77002aaf8cc5d210VgnVCM1000001a48090aRCRD
    I document how I discovered this in my blog post:
    http://www.innerexception.com/2011/10/tale-of-computing-misery-how-to-fix.html

  • I used migration to send photos form my Mac Book to my I Mac now i get an error message "iPhoto can not be opened because of a problem"  Check with the developer to make sure iPhoto works with this version of Max OSX.  You may need to install any availabl

    I used migration to send photos form my Mac Book to my I Mac now i get an error message "iPhoto can not be opened because of a problem"  Check with the developer to make sure iPhoto works with this version of Max OSX.  You may need to install any available updates or reinstall IPhoto.
    I tried installing Iphoto it said it was downloaded successfully. I still get the error messafe, and can not open any photos of program,  any suggestions?

    What version of iPhoto do you have on the Macbook and on the iMac? What systems are you running on the Macbook and on the iMac?
    Does the message only refer to "a problem" or does it specify what it is?
    Happy Holidays

  • I am trying to print a fillable form.  It will not print and I get two error messages "document could not be printed" and "there were no pages selected to print."  Th latter is not true.  Won't print all, the page I am on, nor any series of pages inserted

    I am trying to print a fillable form - - an application for a Chinese visa.  It will not print and I get two error messages:  "document could not be printed" and   "there were no pages selected to print."  The latter is not true.  Won't print at all, the page I am on, nor any series of pages inserted.
    Am using a MAC desktop and a Cannon PIXMA MX922 printer.
    I need to print this form now that it is filled out?  What can I do? 

    Hello PW, I am having this problem and all suggestions haven't worked yet. Where is the Preferences|Documents you are referring to? I am on a PC and using Windows.
    EDIT: I found it and did, but still not working.

  • Hello, I wanted to update my ipod touch 1st generation. The current software is 1.1.5. So I purchased iOS 3.1 software update for iPod touch (1st generation) and than I get an error so it did not upgrade.

    Hello, I wanted to update my ipod touch 1st generation. The current software is 1.1.5. So I purchased iOS 3.1 software update for iPod touch (1st generation) and than I get an error so it did not upgrade. Can you help please?

    I too had the same issue. This is how I resolved it http://www.parkhi.net/2011/12/error-8288-ipod-touch-upgrade-ios-31.html

  • TS1538 Since my iPhone 4 update I can no longer up date it through my computer I am running windows 7 and before the iPhone update I didn't have any problems now I get the error message iTunes could not connect to this iPhone. An unknown error occurred (0

    Since my iPhone 4 updated I can no longer sync it or charge it with iTunes I get an error message ------>iTunes could not connect to this iPhone. An unknown error occurred (0xE000084)

    From this support document http://support.apple.com/kb/TS3694 see this:
    Unknown Error containing "0xE" when restoring
    To resolve this issue, follow these steps. If you have a Windows computer with an Intel® 5 series/3400 series chipset, you may need updates for your chipset drivers. Learn about issues syncing iOS devices with P55 and related Intel Chipsets.

  • HT1476 when i plug my phone into the usb port with the apple charger that came with my phone i get an error msg say charging not supported by this device.   But when i use a gigaware (radioshack brand) usb charger, no error msg.  Why?

    when i plug my phone into the usb port with the apple charger that came with my phone i get an error msg say charging not supported by this device.   But when i use a gigaware (radioshack brand) usb charger, no error msg.  Why?

    - Try restoring the iPod, first from backup and then try to factory settings/new iPod to rule out a software problem.
    - Look at the dock connector on the iPod. Look for abnormalities like bent or corroded contacts, foreign material and broken or cracked plastic.
    - Could you have damaged something when you took the iPod apart and replaced the Home button?

  • Adobe Acrobat Pro XI 11.0.06 when I reduce file size or try to optimize, I get this error: The document could not be saved. A number is out of range. I do the exact same thing every month and it works. I did it a few days ago and it worked. I receated the

    Adobe Acrobat Pro XI 11.0.06 when I reduce file size or try to optimize, I get this error: The document could not be saved. A number is out of range. I do the exact same thing every month and it works. I did it a few days ago and it worked. I receated the pdf, I renamed it. tried to do it before I imported more pages. no go. the 16 mg pdf will normally reduce to 5 or 6

    Hi,
    Are you facing the issue with any pdf file?
    Please try updating Acrobat to 11.0.7 and check.
    You might also want to repair Acrobat and see.
    Regards,
    Rave

Maybe you are looking for

  • Passing pl/sql array to function

    Hi, I have a function which takes an array: create or replace FUNCTION execute_tests( leg_keys IN type_leg_key_array) RETURN BOOLEAN IS BEGIN leg_key_array is this: create or replace TYPE type_leg_key_array AS TABLE OF NUMBER(6, 3); I would like to t

  • Late 2012 iMac does't see the thunderbolt ports

    late 2012 imac 3.4 i7 v10.8.5 doesn't see the thunderbolt ports in system report. both ports were working previously ( 2 wd mybookTB duos with raid 1 ). now neither port works. TB port does work with TB to FW adapter. help.

  • Video lists also messed up aftger 4.2.1

    Under TV shows on the iPhone it shows I have 5 episodes of 1 show. When I open the 1 show, it shows I actually 1 episode of 5 different shows! How can these things get so messed up on a .1 upgrade?? Is there a work around for this?

  • Unicode convertion source=target

    Hi, I'm tring a Unicode convertion on a send-box system just copied from production system. I'm in export phase now in our Solaris 10 SPARC + Oracle 10.2.04 box For the import I must use the same server, same <SID> name and system number... is it nec

  • How do I stop iPhoto from synching w/ iPhone?

    Every time I plug in my iPhone into my Mac iPhoto launches and wants to d/l the same pictures I've already d/l'd. Is there any way to stop iPhoto from automatically launching when I plug in my iPhone, but continue to launch when I plug in my regular