GRID_CNTRL Exception coming from CL_GUI_ALV_GRID- Refresh_Table

Hi
I am using REUSE_ALV_GRID_DISPLAY for ALV grid Display with various secondary ALV .
I have some editable fields in that and I need to refresh the screen
I am able to get the ALV refreshed using CL_GUI_ALV_GRID->Refresh_Table .
Problem: When I go to the next screen which also has some editable field and as soon as i come back to the initial screen and do the refreshing, it is giving me a dump with descr GRID_CNTRL Exception
and if I see in the call stack, it is comign from  CL_GUI_ALV_GRID->Refresh_Table. I am not getting as its works fine when i am not going to the next ALV but as soon as I come back from the Secondary ALV it gives dump.
Please tell how to Solve this Dump.
Thanks

Hi,
When you got to second ALV try to clear the first container and free the container as well.
Once you come back to first ALV create the container again and then display the first ALV.
Rgds,
Sandeep

Similar Messages

  • My Mac Pro Experience (coming from PowerBook)

    Hey All, I recently bought Apple's new power horse, and I thought I'd share my initial experience using it.
    A little background
    For the last few years I've been using a PowerBook G4 as my primary computer. I was about to buy a PowerMac when Apple made the announcement that they were going Intel, so I decided to put off a new computer purchase until they came out with the Intel-based PowerMac. When they finally came out with the machine a couple weeks ago, at first I was going to wait a month or two, giving time for any first-rev issues to surface. But turns out that's a lot easier said than done--on Saturday, after Flash froze up on me for the 3rd time that day, I ran to the Apple Store to get my Mac Pro.
    Usage
    I got the standard configuration and have since added a 160gb HDD for Windows from NewEgg and a another gb of memory from Crucial. Looking forward the plan is to go up to 4gb of memory, get ATI's Radeon X1900 XT when the Mac edition comes out, and grab a 500gb backup HDD.
    To migrate my data over, I decided not to use the Migration Assistant as I didn't want to move any preferences or system files for apps I've uninstalled, etc.. So instead I just hooked up an ethernet cable between the computers. First I moved my apps, then my email, then my iTunes libraray, then all other files in my Desktop, Documents, Music, Photos, and Sites. I was already using .Mac syncing for my Bookmarks, Calendars, Contacts and Keychains, so that part was easy-- just enabled syncing.
    Coming from a PowerBook, this thing is ridiculously fast. All these little things that took several seconds to load on my PowerBook are now instantaneous (loading Dashboard widgets for the first time after boot, for example). I have not noticed a performance hit running non-universal apps under Rosetta, however before I got more memory, the system's memory usage would almost max out when I was using Photoshop, so that extra 1GB definitely makes a difference there. One thing that's exciting about this computer is knowing it's only going to get faster as more applications become universal, Mac OS X Leopard comes out and has better 64-bit support, and as I add more RAM.
    It's also very quiet. The new Xeons don't run very hot, and with the aid of a heatsink that spans the entire width of the machine on top of it, the fans are barely audible. The loudest part about it is the hard drive.
    Boot Camp installation was just as easy as all the articles say. Windows runs pretty well on it– it lasted a full hour before crashing! I installed a program called MacDrive (www.mediafour.com/products/macdrive6) that enables Windows to access Mac-formatted hard drives. One thing that's worth a mention about MacDrive is that you have the option of making those drives read-only, so if I get some crazy worm or virus or whatever, it won't stand a chance corrupting any of my important data on the OS X drive.
    But the main reason I installed Windows was for the games. While I was sleeping I had Steam download and install Half-Life 2. This morning I opened it up to check the performance. It's not bad at all–-with a 1680x1050 resolution (native 20" Cinema Display res), the recommended video settings were as follows:
    - model detail: high
    - texture detail: high
    - shader detail: high
    - water detail: reflect world (of options: basic reflection, reflect world, reflect all)
    - shadow dtail: high
    - color correction - disabled
    - antialiasing mode: none (of options: none, 2x, 4x, 8x)
    - filtering mode: trilinear (of options: bilinear, trilinear, anisotropic 2x, 4x, 8x, 16x)
    - wait for vertical sync: disabled
    - high dynamic range - full
    The high dynamic range capability is particularly exciting to me because my gaming pc crashed every time I tried playing The Lost Coast, Valve's high dynamic range demo level. So, not bad at all.
    Annoyances
    Big thing here is the lack of the wireless module. Unless I want to span a cable across my room, I need wireless internet. A temporary solution to this is I have my PowerBook sharing its wireless connection with the Mac Pro over ethernet.
    Not all Mac applications work on it yet, due to the x86 64-bit architecture. So far the programs I have tried to run that won't include Parallels (basically a VirtualPC for Intel Macs), Cisco VPN Client, and MySQL Administrator. The iStat Pro widget is also acting up.
    On the Windows side, there are several things Apple could improve on. The biggest one here is the Eject key-- it will only open, but not close, the cd tray. If you have two optical drives installed, it will open both of them together (whereas on OS X it opens/closes the top one, and ALT+Eject opens/closes the bottom one).
    With the exception of these minor inconveniences (which probably won't even be around a month from now) my experience has been completely positive. The only time I've had any sort of trouble was when I tried accessing a mounted drive that was no longer physically connected, forcing me to relaunch Finder, but this is a well-known issue that has nothing to do with the specific machine.
    If you're thinking about getting a Mac Pro, my advice is to go for it.
    - Brandon
    Mac Pro   Mac OS X (10.4.7)  

    [iIt's good to finally read something positive in these MacPro discussions.
    Bear in mind that this is a technical support forum where users get help for their technical issues rather than a "feel good about your purchase" forum.
    As for the Mac Pro itself, from what I've seen it's a extremely stable system and relatively problem-free system. You might want to have a look in the MacBook forums for a comparison of the number of recurring issues. Only then will you appreciate how good the Mac Pro is.

  • Can't figure out where NullPointerException is coming from

    I will attach the code I have below. It is almost entirely done but i am getting a NullPointerException that is driving me nuts, and I can't figure out were it is coming from.
    Help is greatly appreciated.
    First code:
    import java.util.Scanner;
    import java.io.*;
    import java.util.Random;
    import java.util.Collection;
    public class DistributionPlagiarist
         public static void main(String[] args) throws IOException
              Scanner keyboard = new Scanner(System.in);
              int keyLength=0, phraseLength=0, numberOfPhrases=0;
              String inputFileName="", keepReadingFromFile="", theFile="";
              FrequencyLibrary text = new DenseFrequencyLibrary();
              if(args.length != 4)
                   System.out.println("The command line arguments you entered do not match what is needed.  Please try again.");
                   System.exit(0);
              for(int count=0; count<args.length; count++)
                   keyLength = Integer.parseInt(args[0]);
                   phraseLength = Integer.parseInt(args[1]);
                   numberOfPhrases = Integer.parseInt(args[2]);
                   inputFileName = args[3];
              if(keyLength < 0)
                   while(keyLength < 0)
                        System.out.print("The length of the key (" + keyLength + ")" + " you entered is less than zero.\nPlease enter another key length: ");
                        keyLength = keyboard.nextInt();
                        System.out.println();
              if(phraseLength < 0)
                   while(phraseLength < 0)
                        System.out.print("The desired length of the phrase (" + phraseLength + ")" + " you entered is less than zero.\nPlease enter another phrase length: ");
                        keyLength = keyboard.nextInt();
                        System.out.println();
              if(numberOfPhrases <= 0)
                   while(numberOfPhrases <= 0)
                        System.out.print("The desired number of phrases (" + keyLength + ")" + " you entered is not applicable.\nPlease choose another number: ");
                        keyLength = keyboard.nextInt();
                        System.out.println();
              File file=new File(inputFileName);
              boolean exists = file.exists();
              if (exists == false)
                   while(exists == false)
                        System.out.println("The file you are searching for does not exist.  Please place it in this programs directory.");
                        System.out.print("Please re-enter the file name: ");
                        inputFileName = keyboard.nextLine();
                        file=new File(inputFileName);
                        exists = file.exists();
              int count=keyLength, start=0, stop=0;
              FileReader freader = new FileReader(inputFileName);
              BufferedReader inputFile = new BufferedReader(freader);
              while(keepReadingFromFile != null)
                   keepReadingFromFile = inputFile.readLine();
                   if(keepReadingFromFile == null)
                        break;
                   else
                        theFile = theFile + keepReadingFromFile;
              while(count < theFile.length())
                   String name = theFile.substring(start, keyLength+stop);
                   char singleCharacter = theFile.charAt(count);
                   text.add(name, singleCharacter);
                   start++;
                   stop++;
                   count++;
              int countNumberOfPhrases=0;
              while(numberOfPhrases > 0)
                   countNumberOfPhrases++;
                   String phrase = randomphrase(text, phraseLength, keyLength);
                   System.out.println("Phrase " + countNumberOfPhrases + ":\n" + phrase);
                   numberOfPhrases--;
         private static String randomphrase(FrequencyLibrary textLibrary, int phraseLengthToMake, int startLength)
              String startString="";
              char characterToAdd=' ';
              startLength++;
              Random generator = new Random();
              int sizeOfLibrary=textLibrary.size()/2, randomInt = generator.nextInt(sizeOfLibrary+1), value=0;
              Collection<String> stringNames = textLibrary.makeStringCollection();
              for(String stringFromCollection : stringNames)
                   if(randomInt == value)
                        startString = stringFromCollection;
                   value++;
              String thePhrase = new String(startString);
              System.out.println("INITIAL START:" + startString + "TTTT");
              int substringStart=1;
              while(startLength < phraseLengthToMake)
                   characterToAdd = textLibrary.randomUniformChoose(startString);
                   thePhrase = thePhrase + characterToAdd;
                   System.out.println("CHARACTER:" + characterToAdd + "TTTT");
                   System.out.println("PHRASE:" + thePhrase + "TTTT");
                   startString = thePhrase.substring(substringStart, thePhrase.length());
                   boolean answer = textLibrary.contains(startString);
                   System.out.println(answer);
                   System.out.println("NEW STRING:" + startString + "TTTT");
                   startLength++;
                   substringStart++;
              return thePhrase;
    }Second code:
    import java.util.Collection;
    import java.util.HashMap;
    public class DenseFrequencyLibrary implements FrequencyLibrary
         private HashMap<String, MultiSetOfChar> bookTitleAndCharacterAndIntegerHashMap = new HashMap<String, MultiSetOfChar>();
         private MultiSetOfChar keyAndValuePairs = new DenseMultiSetOfChar();
          * Creates a new DenseFrequencyLibrary with all the essential things clear;
         DenseFrequencyLibrary()
              bookTitleAndCharacterAndIntegerHashMap.clear();
          * Input the value from the creation of the DensneMultiSetOfChar into a HashMap.  If the key
          * already exists then the value associated with it is updated by one.
          * @param character a char to be used in forming the HashMap
          * @return characterMap
         private HashMap<String, MultiSetOfChar> inputIntoMap(String name, char character)
              if(!bookTitleAndCharacterAndIntegerHashMap.containsKey(name))
                   keyAndValuePairs = new DenseMultiSetOfChar(character);
              else
                   keyAndValuePairs.add(character);
              this.bookTitleAndCharacterAndIntegerHashMap.put(name, keyAndValuePairs); //input character and value
              return bookTitleAndCharacterAndIntegerHashMap; //return the new HashMap
          * Returns the number of books in the library.
          * @return |b|, ie the number of books in b
        public int size()
             int numberOfBooks=bookTitleAndCharacterAndIntegerHashMap.size();
             return numberOfBooks;
         * Searches the library for an occurrence of a given book
         * @param target the name of a book to be searched for in the library
         * @return true if and only if the argument is already a book title in the library.
        public boolean contains(String target)
             boolean bookIsInLibrary=false;
             if(bookTitleAndCharacterAndIntegerHashMap.containsKey(target))
                  bookIsInLibrary = true;
             return bookIsInLibrary;
         * Returns the MultiSetOfChar that represents the occurrences of the individual characters
         * in the text of the book indicated by the argument.
         * @param target
         * @return MultiSetOfChar
        public MultiSetOfChar getFrequencies(String target)
             MultiSetOfChar frequencyMultiSetOfChar = bookTitleAndCharacterAndIntegerHashMap.get(target);
             return frequencyMultiSetOfChar;
         * Modifies the character occurrences associated with name to include one more occurrence of element.
         * @param name string of the name of the book
         * @param element character to add to the specified book
        public void add(String name, char element)
             bookTitleAndCharacterAndIntegerHashMap = inputIntoMap(name, element);
         * Modifies the character occurrences associated with name to include one less occurrence of element.
         * @param name string of the name of the book
         * @param element character to be removed from the specified book
         * @return true if and only if the book is modified.
        public boolean remove(String name, char element)
             boolean characterWasRemovedFromBook=false;
             //if the target character is in the map then remove it
              if(bookTitleAndCharacterAndIntegerHashMap.containsKey(name))
                   MultiSetOfChar keyAndValuePairs = bookTitleAndCharacterAndIntegerHashMap.get(name);
                   keyAndValuePairs.remove(element);
                   characterWasRemovedFromBook = true; //set answer to true because the HashMap was changed
              else //target does not exist in the HashMap
                   characterWasRemovedFromBook = false; //set answer to false because the HashMap was not changed
             return characterWasRemovedFromBook;
         * Returns a random character, chosen from the same distribution as the characters appear in the book.
         * For example, if 5% of the characters in "Alice in Wonderland" are an 'A', then this method should
         * return an 'A' about 5% of the time.
         * @param name string of the name of the book to search through and remove a character
         * @return true if and only if the argument is already a book title in the library.
         public char randomUniformChoose(String name)
            MultiSetOfChar keyAndValuePairs = bookTitleAndCharacterAndIntegerHashMap.get(name);
            char randomCharacter = keyAndValuePairs.randomUniformChoose();
              return randomCharacter; //return the random character pulled out
         public Collection<String> makeStringCollection()
              Collection<String> stringCollection = bookTitleAndCharacterAndIntegerHashMap.keySet();
              return stringCollection;
    }Third code:
    import java.util.HashMap;
    import java.util.Set;
    import java.util.Collection;
    import java.util.Random;
    * DenseMultiSetOfChar implements MultiSetOfChar.
    * @mathmodel b is a finite multiset
    * @mathdef
    *  |b| is the cardinality of b
    *  ||c,b|| is the number of occurrences of element c in b
    * @author Kyle Hiltner
    public class DenseMultiSetOfChar implements MultiSetOfChar
         private char characterInput=' ';
         private HashMap<Character, Integer> characterMap = new HashMap<Character, Integer>();
          * Create a new DenseMultiSetOfChar with zero argument
         DenseMultiSetOfChar()
              characterMap.clear(); //clear static HashMap
          * Create a new DenseMultiSetOfChar with the passed in value.
          * @param newChar character input to be added to the HashMap
         DenseMultiSetOfChar(char newChar)
              this.characterInput = newChar; //set characterInput to the value passed in
              characterMap = inputIntoMap(this.characterInput); //call private procedure to add characterInput to HashMap
          * Input the value from the creation of the DensneMultiSetOfChar into a HashMap.  If the key
          * already exists then the value associated with it is updated by one.
          * @param character a char to be used in forming the HashMap
          * @return characterMap
         private HashMap<Character, Integer> inputIntoMap(char character)
              //if the character is not in the HashMap then add it with the starting value of 1
              if(!characterMap.containsKey(character))
                   characterMap.put(character, 1); //input character and value
              else //character does exist
                   int value = characterMap.get(character); //get the value for the specified key
                   value++; //increase the value so as to show that another character was added
                   characterMap.put(character, value); //place the character and new value in the HashMap
              return characterMap; //return the new HashMap
          * Returns the number of elements in this multiset (ie its cardinality).
          * Note that since multisets can include duplicates, the cardinality may be
          * larger than the number of distinct elements. Also, the total number of
          * items in the multiset is bounded above by Integer.MAX_VALUE.
          * @return |b|, ie the cardinality of b
         public int getCardinality()
              int totalElementsInMap=0;
              Collection<Integer> integerCollection = characterMap.values(); //create a collection for easy iteration
              //iterate through each value in the HashMap and compute the total number of elements in the HashMap
              for(Integer valueFromCollection : integerCollection)
                   totalElementsInMap = totalElementsInMap + valueFromCollection; //compute new value of total values
              return totalElementsInMap; //return the final total value
          * Returns the number of occurrences of a given element in the multiset. A
          * simple identity relating getElementCount and getCardinality is that the
          * sum of getElementCount for each char is equal to the cardinality of the
          * set.
          * @param target
          *            char to be counted in the multiset
          * @return ||target,b||, ie the number of occurrences of target in b
         public int getElementCount(char target)
              int numberOfGivenCharacters=0; //set initial value
              //if the HashMap contains the target character then numberOfGivenCharacters is set to the value
              if(characterMap.containsKey(target))
                   numberOfGivenCharacters = characterMap.get(target); //set numberOfGivenCharacters to the value assigned to the target character
              return numberOfGivenCharacters; //return the value for the target character
          * Returns a set such that every element in the multiset is in the set (but
          * no duplicates). The cardinality of the returned set must be less than or
          * equal to |b|. The cardinality of the two are equal if and only if b
          * contains no duplicate elements.
          * @return a set of Character, s, such that: <br />
          *         (for all (Character)i in s : (char)i in b) and <br />
          *         (for all (char)i in b : (Character)i in s)
         public Set<Character> getElementSet()
              Set<Character> characterSet = characterMap.keySet(); //create a Set from the keys of characters in the HashMap     
              return characterSet; //return the character Set
          * Adds a single element to the multiset. This operation always increases
          * the cardinality of the multiset by 1, assuming that the maximum capacity
          * of Integer.MAX_VALUE has not been reached.
          * @param item
          *            the char to be added to b
          * @requires |b| < Integer.MAX_VALUE
          * @alters b
          * @ensures b = #b union {item}
         public void add(char item)
              characterMap = inputIntoMap(item); //call the private method to add new character (item) to the HashMap
          * Removes the target, if it is present in the multiset. The method returns
          * true if and only if it changes the multiset.
          * @param target
          *            the char to be removed
          * @alters b
          * @ensures (target not in #b) ==> (b = #b) <br />
          *          (target in #b) ==> (b union {target} = #b)
          * @return target in #b
         public boolean remove(char target)
              boolean answer=false; //set initial value to false
              //if the target character is in the map then remove it
              if(characterMap.containsKey(target))
                   int value = characterMap.get(target); //find the value associated with the target character
                   //if the value is 1 call remove from the HashMap and remove key and value
                   if(value == 1)
                        characterMap.remove(target); //remove key and value from the HashMap
                   else //value is greater than 1
                        value--; //decrease value to show removal
                        characterMap.put(target, value); //replace target character with new value back into the HashMap
                   answer = true; //set answer to true because the HashMap was changed
              else //target does not exist in the HashMap
                   answer = false; //set answer to false because the HashMap was not changed
              return answer; //return answer
          * Returns a char chosen randomly based on the contents of the multiset.
          * This operation does not remove the char from the multiset or change the
          * multiset in any way. In particular, the cardinality of the multiset is
          * the same before and after this method.
          * <p>
          * Characters should be returned with a random distribution equal to the
          * distribution of characters in the multiset. That is, for a character that
          * appears N times in a multiset of cardinality M, the probability of that
          * character being returned is N / M. For example, a multiset that contains
          * only the character 'a', possibly many times, would always result in an
          * 'a' being generated. On the other hand, a multiset with an equal number
          * of 'a' and 'b' elements would return an 'a' approximately half the time
          * and a 'b' the other half.
          * @requires |b| >= 1
          * @return char c with probability p, where: <br />
          *         p = ||c,b|| / |b|
         public char randomUniformChoose()
              char randomCharacter=' ';
              Random generator = new Random();
              int totalElementsInMap=0;
              Collection<Integer> integerCollection = characterMap.values(); //create a collection for easy iteration
              //iterate through each value in the HashMap and compute the total number of elements in the HashMap. 
              //Do this in case a remove call was made
              for(Integer valueFromCollection : integerCollection)
                   totalElementsInMap = totalElementsInMap + valueFromCollection; //compute new value of total values
              int randomInt = generator.nextInt(totalElementsInMap+1), lowerValue=0, upperValue=0;
              Collection<Character> keyCollection = characterMap.keySet();
              //iterate through each value in the HashMap and compute the total number of elements in the HashMap
              for(Character keyFromCollection : keyCollection)
                 upperValue = upperValue + characterMap.get(keyFromCollection);
                 if(randomInt == upperValue)
                      randomCharacter = keyFromCollection;
                 if(randomInt >= lowerValue && randomInt <= upperValue)
                      randomCharacter = keyFromCollection;
                 lowerValue = upperValue + 1;
              return randomCharacter; //return the random character pulled out
    }The Error:
    Exception in thread "main" java.lang.NullPointerException
         at DenseFrequencyLibrary.randomUniformChoose(DenseFrequencyLibrary.java:137)
         at DistributionPlagiarist.randomphrase(DistributionPlagiarist.java:146)
         at DistributionPlagiarist.main(DistributionPlagiarist.java:112)I will attempt to explain what this does in as few words as possible. For a breakdown of the lab go urlhttp://www.cse.ohio-state.edu/~paolo/teaching/494MJ/labs/lab8.shtml{url}. If you don't feel like reading that: THe program reads in some command line arguments. From there it reads from the file provided in the command line and creates "keys" from the specified length. From there I need to create a phrase of the specified length. If i am supposed to create more then one then i do. That is pretty much it. I can't figure out where (really why) the NullPointerException error is coming from.
    Help is appreciated!!

    Post the actual error text (copy and paste, don't "interpret" it) here.
    It should include a stack trace which references a line number of the program -
    unless you suppressed the trace, in which case change your error handling
    so that the trace is produced.
    Identify which program line in your post the error is pointing to so that we can match
    the error with your program, since your post doesn't have line numbers..
    Edited by: ChuckBing on Nov 16, 2007 7:19 PM
    Also - posting large amounts of code (as you did) will reduce the chance of anyone helping

  • To retain the same file name in target(File) that coming from source system(AS2).

    Hi All,
    I have a requirement to send the two file from the third party system(GXS) to SAP ECC via SAP PI(version - 7.4). We are using AS2 adapter at the sender side to pick the file and using File Adapter to place the file in ECC.
    Its a pass through scenarion(No ESR part is used).
    Requirement:
    We are going to get 2 files ->Example:  one from Axis and another one from ICICI -> each bank file will have a file name ->
    We have to post the file at the target system with the same name as source file name, the source file name could come dynamically(with diff time stamp).
    Please let me know, Is it possible to achieve the above requirement(we have to retain the file name in target that coming from source system) with Sender AS2 adapter, If yes then please suggest the best approach.
    Regards,
    Pradeep Bawlia

    Hi Guys,
    The above requirement is solved now.
    Solution - I used java mapping for extracting the same source file name and assignning the same to the target system.
    Code:
    public class ExtractFileName_ASMA extends AbstractTransformation{
    public void transform(TransformationInput in, TransformationOutput out) throws StreamTransformationException  
    DynamicConfiguration conf=in.getDynamicConfiguration();
    DynamicConfigurationKey key_AS2FileNmae = DynamicConfigurationKey.create("http://sap.com/xi/XI/AS2/AS2", "AS2Filename");
    DynamicConfigurationKey key_FileNmae = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/File", "FileName");
    String As2FileName=conf.get(key_AS2FileNmae);
    conf.put(key_FileNmae, As2FileName);
    try{
    byte b[]=new byte[in.getInputPayload().getInputStream().available()];
    in.getInputPayload().getInputStream().read(b);
    out.getOutputPayload().getOutputStream().write(b);
    catch(Exception e)
    2. Another solution we can use the graphical mapping and need to use the dynamic config UDF at mapping level to acheive this requirement but here is one drawback - we need to do content conversion is this case.
    In case of Java mapping, no need to play with source file.
    WITHOUT USING ESR, WE CAN NOT ACHEIVE THIS REQUIREMENT.
    Regards,
    Pradeep Bawlia

  • Unable to create a PDF from Word or from Clipboard coming from Word

    Until a few days ago, I had no problem creating a PDF file from a Word document, or from a Word-generated clipboard item. Now this does not work anymore. I have entirely re-installed Adobe Acrobat 9 Pro (successfully), but I still cannot create the PDF coming from the above sources. I now also (sometimes) have the same issue when a clipboard item comes from Excel. No problem with any other source data, i.e. PowerPoint, Web pages, etc.
    Here is the error:
    And this is the next screen:
    Answering "Yes" goes through a lengthy process (successfully), but still does not create my PDF. Both my Word and Excel programs are Microsoft 2007 Professional.
    Any suggestions?

    No updates recently - except possibly whatever Microsoft updates automatically (security, etc.).
    What is quite strange is this specific isolated instance:
    If I am in a Word document, then highlight and select (Ctrl C) a range of text, then go to Acrobat 9 Pro and try to create a PDF from that clipboard text, I get the above error. However, if I select text from another program, such as a web page, then Acrobat does not complain when I try to create a PDF from the clipboard, and everything proceeds as expected.
    So that makes one think that the issue is with Word; however, I sometimes (and "sometimes" is the operative word) get the error when taking text from Excel. But sometimes not.
    Is it Microsoft? But that is strange, as all this worked a few days ago - specifically on Friday 9/3. I use this feature daily,
    And, as I mentioned before, trying to create a PDF from an entire Word file also does not work (create from File).

  • How to convert date which is coming from a file

    Hi All,
    I am reading the content from the file in which date is also one field, but i am while inserting into the database i'm getting an exception because it is not able
    to insert into the database because the database date format is different from the one which is coming from a file.
    The datatype value of the database is Date.
    Can anyone help me on this if anybody having an idea.
    Regards,
    CH

    Hi,
    Even if I'm using JavaEmbeddedActivity also i'm getting an error. Please have alook at the below code once
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    public class ConvertDateToStringExample {
    public static void main(String args[]){
    DateFormat dateFormat = new SimpleDateFormat("dd-nn-yyyy hh:mm:ss");
    //to convert Date to String, use format method of SimpleDateFormat class.
    String strDate = dateFormat.format(getVariableData('inputVariable','payload','/client:process/client:Date'));
    System.out.println("Date converted to String: " + strDate);
    Error Message:
    Error(21,33): Failed to compile bpel generated classes.
    failure to compile the generated BPEL classes for BPEL process "DateProcess" of composite "default/DateProcess!1.0"
    The class path setting is incorrect.
    Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
    Well it's not at all allowing me to insert the format while passing the input arguments.
    Regards,
    CH

  • Where in the world is this coming from?

    I've recently been contracted to build an application for my employer. Great. The project is really straight forward and its going along nicely ... all except for this simple bit here.
    I decided to use a new "big & bad" IDE (Netbeans 5.5) seeing as how this was pretty GUI intensive. I don't like to have to sit down and calculate all of those dimensions and placements by hand. So ... am using the IDE.
    Pasted below is the initComponents() method of my program where my JTree (jTree1) is instantiated. It has an empty constructor - and nothing has been added to it ... so I'm curious as to how this is happening:
    The problem:
    I've reviewed the code over and over again. I can't find anywhere where a default dataset is being assigned to the JTree. Anywhere. However, when I go to view my form - I have the following information in the tree:
    JTree
    |
    Colors
    |- blue
    |- violet
    |- red
    |- yellow
    |
    Sports
    |- basketball
    |- soccer
    |- football
    |- hockey
    |
    Food
    |- hotdogs
    |- pizza
    |- ravioli
    |- bananas
    Where in the name of Satan's assshole is this coming from?
        private void initComponents() {
            btnSend = new javax.swing.JButton();
            btnClose = new javax.swing.JButton();
            jScrollPane1 = new javax.swing.JScrollPane();
            jTree1 = new javax.swing.JTree();
            jLabel1 = new javax.swing.JLabel();
            btnDoAssignment = new javax.swing.JButton();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            setTitle("Homework Utilities");
            btnSend.setText("Send Homework");
            btnClose.setText("Close");
            btnClose.setMaximumSize(new java.awt.Dimension(109, 23));
            btnClose.setMinimumSize(new java.awt.Dimension(109, 23));
            btnClose.setPreferredSize(new java.awt.Dimension(109, 23));
            btnClose.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    btnCloseActionPerformed(evt);
            jTree1.setEditable(true);
            jScrollPane1.setViewportView(jTree1);
            jLabel1.setText("Select Homework Assignment:");
            btnDoAssignment.setText("Do Assignment");
            btnDoAssignment.setMaximumSize(new java.awt.Dimension(109, 23));
            btnDoAssignment.setMinimumSize(new java.awt.Dimension(109, 23));
            btnDoAssignment.setPreferredSize(new java.awt.Dimension(109, 23));
            org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(layout.createSequentialGroup()
                    .addContainerGap()
                    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                        .add(btnClose, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(btnSend)
                        .add(btnDoAssignment, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .add(22, 22, 22)
                    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                        .add(jLabel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 249, Short.MAX_VALUE)
                        .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 249, Short.MAX_VALUE))
                    .addContainerGap())
            layout.setVerticalGroup(
                layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(layout.createSequentialGroup()
                    .addContainerGap()
                    .add(jLabel1)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
                        .add(org.jdesktop.layout.GroupLayout.LEADING, jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 258, Short.MAX_VALUE)
                        .add(org.jdesktop.layout.GroupLayout.LEADING, layout.createSequentialGroup()
                            .add(btnDoAssignment, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(btnSend)
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                            .add(btnClose, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
                    .addContainerGap())
            pack();
        }Nowhere else in the rest of the entire application is jTree1 even referenced. So, how is this? How is that data in my tree? Best question: how in the funk do I get it out??

    Myeh - I'm not really in any rush. I work from home as a private contractor. I tell you - it is so much more ... relaxed? ... than when I was working for my previous employer. My current employer wants the product finished by June. Thats when they have a big push of students coming in and want the new software ready for them. So, I've got a while - and it definitely wont take me that long to complete. I just figured that there must be something to the fuss about IDEs and how they simplify things. And, tonight, I found that that is a load of horseshit.
    (Just so you know - there is a downside to working for yourself... you get weird requests from people like the following ...)
    I had a guy once ask me to write an application for his son who is obsessed with the television show Alias. He said he wanted a program that did exactly what this Alias program did on the show in a particular episode. When asked if I was familiar with it, I said no. So what does this goofball do? He goes and buys the show on DVD and brings it to me. We watch it - he takes me to the point in the show and says "That! Right there! That's what he wants!!"
    Astonished (and somewhat dumbfounded) I ask him, "You're aware of the fact that I am not going to be capable of writing an application that remotely logs into a secret NSA super-computer via satellite ...... right?" He then proceeded to tell me to make it look like it does. Just make up all sorts of stuff - just as long as it looks the same.
    The worst part .... that wasn't the only request of the type that I've received. (Granted, the others were by kids - usually 14 or 15 that thought that I'd do it for 10 or so bucks.) Because I obviously have time to waste on such things ...

  • Safari browser version you are running does not support community tool bar. what's that mean and where is it coming from or how do I get rid of it ?

    I keep getting the message "Safari browser version you are useing does not support community tool bar." Where is this coming from and how do I get rid of it ?

    That toolbar/ct plugin causes problems for all who install it!
    Close Safari, then locate and delete the following files and it should be gone:
    /Library/Application Support/Conduit
    /Library/InputManagers/CTLoader
    /Library/Receipts/ctloader.pkg
    /Library/Receipts/<Toolbar name>.pkg
    /Library/Application Support/SIMBL/Plugins/CT2285220.bundle
    /Users/<User name>/Library/Application Support/Conduit
    where / is the root library on your Hard Disk.
    If you are running Snow Leopard you should also look here:
    Library/launchAgents/com.conduit.loader.agent.plist
    Library/Application support/conduit plugins
    Note: Safari does not support any third-party toolbars except those supplied as an extension to Safari via the Extension Gallery.

  • Saving all results from requests coming from a script?

    Hi everbody,
    Is there a possibity to save in a file all the results coming from a script?
    My script provide me 14 results from select query and I want to save this results...
    Thank's for helping me

    beyou wrote:
    yes now I'm trying with SPOOL but doesn't work... :-(Try subtracting 42, that usually fixes the It doesn't work error.
    SQL> declare l_dummy number;
      2  begin
      3    select chr(ascii(count(null)) + 51) into l_dummy from dual
      4    where 0 = 1;
      5  exception when others then
      6    raise_application_error(-20666, 'It doesn''t work!');
      7  end;
      8  /
    declare l_dummy number;
    ERROR at line 1:
    ORA-20666: It doesn't work!
    ORA-06512: at line 6
    SQL> edi
    Wrote file afiedt.buf
      1  declare l_dummy number;
      2  begin
      3    select chr(ascii(count(null)) + 51 - 42) into l_dummy from dual
      4    where 0 = 1;
      5  exception when others then
      6    raise_application_error(-20666, 'It doesn''t work!');
      7* end;
    SQL> /
    PL/SQL procedure successfully completed.

  • Error message - cannot find where its coming from

    Hi Guys,
    I have a default error message setup, and I need to get rid
    of it for debugging purposes.
    Problem is, I cannot remember where the template is coming
    from.
    Theres nothing setup in application.cfm. Is there anywhere in
    cfadmin where it might be set?
    I'm using CF 7
    Thankyou

    Mattastic wrote:
    > Hi Guys,
    >
    > I have a default error message setup, and I need to get
    rid of it for
    > debugging purposes.
    >
    > Problem is, I cannot remember where the template is
    coming from.
    >
    > Theres nothing setup in application.cfm. Is there
    anywhere in cfadmin where it
    > might be set?
    >
    > I'm using CF 7
    >
    > Thankyou
    "Site Wide Exception" handler configured in the Administrator
    most likely.
    <cferror...> tags potentially embedded in your CFML
    files.

  • Problem occuring when extending classes coming from 2 signed JAR

    Hi everyone,
    I have 2 signed jar called "base_signed.jar" and "extended_signed.jar" using keytool with a testing certificate generated at runtime. All goes well because with both signed JARs I can use the URLClassLoader without any java.security.AccessControlException exception.
    But the first JAR contains abstract class B, the latter JAR contains a concrete class A.
    The problem occurs when I try to instantiate some class A coming from "extended_signed.jar" using Class.forName("blablaclassA").newInstance() and occurs only if this class A extends some other abstract class B contained inside "base_signed.jar" .
    Pratically if the class A is casted as its common JVM ancestor of B (JInternalFrame) all goes well, otherwise if I try to cast A using its direct ancestor B, I receive the following exception:
    network: Connessione a http://www.orion.lan/~antares/it/weev/wipidea/plugins/MeteoradarArpavPlugin$7.class con proxy=DIRECT
    Exception in thread "AWT-EventQueue-35" java.lang.ClassCastException: it.weev.wipidea.plugins.MeteoradarArpavPlugin cannot be cast to it.weev.wipidea.base.AWipideaPlugin
         at it.weev.wipidea.base.PluginLoader.loadNetworkPlugin(Unknown Source)
         at it.weev.wipidea.applet.WipideaApplet.loadPlugin(Unknown Source)
         at it.weev.wipidea.applet.WipideaApplet$1.actionPerformed(Unknown Source)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    network: Voce cache non trovata [url: http://www.orion.lan/~antares/it/weev/wipidea/base/PluginLoader.class, versione: null]
    network: Connessione a http://www.orion.lan/~antares/it/weev/wipidea/base/PluginLoader.class con proxy=DIRECT
    network: Voce cache non trovata [url: http://www.orion.lan/~antares/it/weev/wipidea/base/network-classpath.class, versione: null]
    ---The strange thing is that if I don't sign both JARs the class A is casted on B without any exception, could for security reason like hash or other? Ideally I need all JAR signed only because I plan to load classes from all over the net, but seems that URLClassLoader throws an AccessControlException when called.
    Anyway just now I solve all using only the common JVM ancestor of A and B, but what could be the final solution?
    Thanks, bye.

    Hi Sean,
    The file in question has been signed which causes issues in both OSB directly and in Eclipse when we do an import into that tool first.Can you let us know what issues you faced? Any errors? If yes, please post the same here.
    Regards,
    Anuj
    Edited by: Anuj Dwivedi on Feb 23, 2011 9:10 PM

  • HELP!Can't figure out where the extra memory is coming from!

    I deleted everything off my ipod except the games so I could have a lot of memory for music and my pictures and as you know the this 2nd generation ipod nano has 892.5MB well I've only used 476.3MB for music 442.4MB photo's 33.9MB can't understand where the 245.2MB for the other is coming from unless its the games if so how do I get the games off I don't play them I just listen to the music and show my pics to family & friends I want enough memory left to put audio books on there tho.Can anyone tell me how to delete the games?

    The games that come pre-installed on the iPod can't be deleted.
    The storage space taken up by "Other" can be made up of, notes or files of any kind you've added to the iPod whilst using it as a hard disk or album artwork. Or sometimes when the iPod data base has become corrupt.
    There will always be a few MBs of used space under "other" but if it's more than that it often happens when the iPod data base becomes corrupt.
    If the iPod is enabled for disk use, you can look at the folders on the iPod through Explorer or Finder and delete anything you don't want.
    If it's a corruption it will probably need to be restored, see how to restore the iPod to factory settings which will erase the iPods contents and reclaim the used space.
    Then reload the music from iTunes.

  • Intermittent whine coming from my CPU

    A couple of days ago, I started to hear a distant sound late at night. Soon I realized it was a very quiet noise coming from the depths of my CPU. It's a whiney kind of sound, like someone trying to start a car, except that car happens to be a deep-voiced crying woman. It happens once every seven seconds or so, irregularly. (I'm trying to record it so that if somebody would like to hear it, I can send them an mp3.) I'm not sure if the sound is there other times though I'm guessing it is. I'm not around most of the day, and it's never quiet enough to hear anything like this till nighttime.
    I'm not trying to get tech support this way, but perhaps someone here has heard this sound before. It's kinda scary sounding, but when you think it's someone crying down the street. As far as a noise coming from a computer, it isn't the most upsetting sound I've ever heard. And I must admit my computer has not been behaving poorly recently. Still, if anyone out there has said, "Yeah, I know that sound!" while reading this post, please reply!
    Thanks!

    i had the same problem, but I took out most of the stuff and reattached it all, ram vid card powers connectors ide cables, and it seems to of gone
    maybe worth a try

  • Random chirp - coming from system speaker?

     
    Just finished building my first computer, and everything seems to be working fine... except that I am getting a random "chirp" that sounds to me like it's coming from the system speaker (but it could be coming from something/somewhere else).  It seems to happen most within the first 5 minutes of bootup.  I've been running this time for about 1 hour, and it chirped I think 5 times in the first 1/2 hour, but hasn't chirped at all during the last 1/2 hour.
    1)  What could be causing this?
    2)  Should I be concerned about it?
    I read a couple of other posts about a similar problem, and they said it might be a power supply issue or some other thing on the MB that you put clear nail polish on???  Sorry, I'm not too knowledgeable in this subject.
    I am building this 'puter for my mom-in-law, and will be shipping it off to her -- so I want it to be rock-solid before I send it, since I won't be there to trouble-shoot it for 2 more months if something goes wrong.
    Thanks,
    Blaine

    nvidiot wrote:
    You could try swapping the front rear connections to see if this swaps the fronts with the rears or whether the fronts continue to work. It could be a dodgy cable or speakers or a loose connection.
    Dude I don't think you saw my other post lol, I changed the setting to 4.1 and I got sound from all but one of the speakers!! But there's still that one speaker..

  • High pitch whine/noise coming from 880G-E45 when PC is off

    I just recently built a PC with the 880G-E45 motherboard without any major hiccups except for the fact that my PC makes high pitch whine noise (similar to a charging flash bulb on a camera) whenever it is powered off. When the PC is on and just after the PC is turned off, there is no high pitch whine at all.
    From what I can tell, the noise is not coming from the CPU, but the corner of the motherboard where the 3 LED-lit RESET, CLEAR CMOS, and POWER buttons are. I eliminated all other components of the PC by only powering them one by one and whenever the 24-pin ATX power cable is plugged in, the high pitch whine noise would be made.
    Is there anything I can do to silence this noise or is this normal for this motherboard? This is a problem since the PC is for my room which is very small and while i can't hear it during all the activities of the day, in the dead of night, it is loud enough to keep me awake. The only shorthand solution was to switch off the power on the PSU (BTW, will this damage my PC if I do this too much?).
    Here are my specs:
    -AMD Athlon Phenom II X4 840
    -880G-E45
    -BIOS: A7576AM3 V3.10
    -Samsung 1TB sata drive
    -Corsair CX430 V2 430w
    -Kingston HyperX Blu 4x2GB
    -Win7 x64

    Quote
    I'm guessing the power being output by the PSU is too much.
    Nonsense, the PC will only draw as much power from the PSU as it needs, not the other way around.
    Evidently, the CX430W is somehow faulty. Contact your retailer, or Corsair directly, and see if they will replace it for you.

Maybe you are looking for

  • Java console doesn't launch when starting Java Web Start app from Firefox

    Updated my Linux desktop from RHEL to Fedora 12 with resultant upgrade of Firefox to 3.5.9 and now when I launch our Java Web Start application, no Java console appears. The Java Control Panel still shows "Show Console" as set. My app uses Java 1.5 w

  • How many x in y

    Hi I need to make charge based on 100s or any part thereof. So for 223 I need to charge three times (100 + 100 + 23) etc. How do I calculate this figure of three from 223? I know there is mod but it gives me 223 mod 100 = 23 but not how many hundreds

  • Regd:  Mail delivery whenever we give a Print in SAP.

    Dear All, i have one Query...  we Configured  Mail using  SCOT  t-Code and it is working fine. Now the Requirement is : when ever  end users  create purchase order or invoice creation the  mail should go to the respective  | Authorized Users. Is ther

  • Updated my firefox and it messed up my emai with knology, what to do?

    Among other changes, I can no longer used the advanced version of e-mail, only the simple version. I receive this message when trying to log-in: "Remote XUL-This page uses an unsupported technology that is no longer available by default in Firefox. P

  • Get new version coherence 3.5?

    Hi, when i want get new version 3.5 , I try to register in Oracle metalink and it asks me for customer support identifier. May I know what is customer support identifier and how can i get that.