Xrefactory cannot extract method?

When i use Xrefactory with GNU Emacs to extract some piece of java code to another method, it tells me to enter a name for the new method. After i do so, a error comes up:
[error] : internal check 'namem->offset - bodyplace->offset <= strlen(invocation...
The project was created using defaults, and there was nothing wrong with the method name i typed.
Could some one see what's wrong?
Thank you.

Sorry, forget what i've said, I was dreaming.

Similar Messages

  • Zip.ZipInputStream cannot extract files with Chinese chars in name

    Dear friends,
    Peace b upon u!
    I am trying to read a zip file (~3000 files)containing one
    or more files with Chinese, Japanese or Korean names, the
    getNextEntry method throws an IllegalArgumentException as below after extracting just ~300 files as below:-
    java.lang.IllegalArgumentException
            at java.util.zip.ZipInputStream.getUTF8String(Unknown Source)
            at java.util.zip.ZipInputStream.readLOC(Unknown Source)
            at java.util.zip.ZipInputStream.getNextEntry(Unknown Source)
            at testZipFiles.getZipFiles(testZipFiles.java:65)
            at testZipFiles.main(testZipFiles.java:18) issue:java.util.zip.ZipInputStream cannot extract files with Chinese chars in name
    Category java:classes_util_jarzip
    Plz let me know 1 of the ways which I can solve this issue.
    1)if someone has JAVA DCOMPILER plz send the SOURCE Code
    for the ZipInputStream.class to me..I need to edit it using 1 of the solutions as provided below which I googled.
    2)If there is an alternate or upgraded java.util.zip.ZipInputStream or any org.apache.tools.zip.* package which can read such files..If yes where I can download the same on net.
    3)Any other easier solution, which can let me extract all files (by excluding Chinese files thru CATCH) without the extractor process to fail altogether.
    On net I found that the only solution with this is:-
    - edit the new ZipEntry, remove the static initializer that calls
    the native methods initIDs().
    this step seems a bit scary, but it's according to the
    workaround
    to bug #4244499 (the workaround of Olive64, THU JUN 05
    01:55 P.M. 2003),
    that handles a similar bug at the ZipOutputStream.
    Now you have a ZipInputStream that supports multi-bytes
    entry names.
    to extract the zip file, using the fixed code that is offered
    above,
    create a function that gets an "encoding" string, a "destPath"
    string
    and a "sourceFile" (zipped) and does :
    ZipInputStream zipinputstream = null;
    ZipEntry zipentry;
    zipinputstream = new ZipInputStream(new FileInputStream
    (sourceFile),encoding);
    zipentry = zipinputstream.getNextEntry();
    while (zipentry != null) { //for each entry to be extracted
        String entryName = zipentry.getName();
        int n;
        FileOutputStream fileoutputstream = new FileOutputStream
    ( destPath + entryName );
        while ((n = zipinputstream.read(buf, 0, 1024)) > -1)
            fileoutputstream.write(buf, 0, n);
        fileoutputstream.close();
        zipinputstream.closeEntry();
        zipentry = zipinputstream.getNextEntry();
    }//while
    zipinputstream.close();

    Hi friend,
    We'd better to ask one question in each thread. If you have another issue, you can consider to open up a new thread in this forum.
    Now for the first question, do you mean this picture? It throws access exception in archive2.
    If so , because your extractPath is a path, not a directory.You should add +"xxx.zip". For more information, please refer to
    ZipFile.Open
    Method (String, ZipArchiveMode).
    For the second question, you can use the following code to skip the error message.
    while (true)
    try
    //do something;
    catch (Exception ex)
    { continue; }
    Good day!
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Acrobat Professional 8.1.6 "Cannot extract the embedded font...."

    I created a PDF exporting from InDesign and when the PDF opens I get the message: "Cannot extract the embedded font...Some characters may not diplay or print correctly." I made sure the font was postscript font and is not corrupted, I changed the font and the same problem happened.
    I have looked all over the internet for an answer and have not found a solution. Can you please give me some advised how to solve the problem?
    iMac G5-PowerPC G5
    Mac OSX version 10.5.6
    Adobe Acrobat Professional 8.1.6
    InDesign CS3 5.0.4
    Thank you.

    Hi Markus ,
    It is a problem with the pdf file being encoded as ascii by the email program when it is really binary. The way to get around the problem is to zip the file or use a different email program or change the encoding method if possible.
    Regards
    Sukrit Dhingra

  • Acrobat 7: cannot extract the embedded font

    My problem is with reading some (not all) imported files with Acrobat 7 Professional. Certain files that will open with both Acrobat Reader 5 and Reader 8 will not open with Acrobat 7 Professional. I could understand much better if a file would open with 8 and not with 5 & 7, or with 5 but not 7 & 8. But in these particular cases it is only 7 that will not work. I am working on a PC with Windows XP.
    I get the message:
    "Cannot extract the embedded font xxxxxxxx. Some characters may not display or print correctly"
    The entire document then appears to be blank--through interestingly enough I can carry out other Acrobat 7 operations such as deleting specific pages in the pdf file.
    I suspect that there is a simple preferences setting that is wrong, but have been unable to find anything that helps.
    Any help would be appreciated.
    Of course, I may not be in the right forum, and this is really a problem with the "Professional" package, not just the Reader.

    Hi Markus ,
    It is a problem with the pdf file being encoded as ascii by the email program when it is really binary. The way to get around the problem is to zip the file or use a different email program or change the encoding method if possible.
    Regards
    Sukrit Dhingra

  • Error message from Adobe Reader. cannot extract the embedded font 'LICCMC+MyriadPro-Light'. some characters may not display or print correctly. Print looks like gibberish

    Trying to view/print PDF documents from website. Print looks like gibberish and is unreadable. Problem is with the embedded fonts. Error message from Adobe says cannot extract the embedded font 'LICCMC+MyriadPro-Light'. some characters may not display or print correctly.

    Try Adobe support, that's not a Firefox support issue. <br />
    http://forums.adobe.com/index.jspa

  • Invoking a web service - cannot resolve method parameter

    I am getting a failure trying to invoking a method called sl_Access on a web service.
    (Same code worked in Workshop 7.1, but fails in Workshop 8.0. The WDSL has not
    changed.) WLW is not able to revolve a method parameter called piCustNo. The service
    call works in WLW 7.1, but not 8.0.
    Any insight on how to fix this problem?
    The service call
    private AnonType_sl_AccessResponse response = null;
    nlastid = response.piLastId;
    the service definition from wsdlControl.jcx ----
    * @jc:protocol form-post="false" form-get="false" http-soap="true"
    public AnonType_sl_AccessResponse sl_Access (int piCustno);
    console error output -----
    Submitted at Wednesday, October 8, 2003 2:15:22 PM EDT
    Exception in sl_Access
    com.bea.control.ServiceControlException:
    SOAP-ENV:Client
    An error was detected in the Web Service request. (10894)
    Cannot resolve method sl_Access parameter ns:piCustno (10933)e91a6247e9b693c3:-1b6d127:f811fed2db:-8000#17
    at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:846)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:359)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:420)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:393)
    at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:387)
    at $Proxy11.sl_Access(Unknown Source)
    at com.ovid.service.AccessService.getRepl(AccessService.java:93)
    at com.ovid.service.AccessService.processBatch(AccessService.java:71)
    at Controller.runAccess(Controller.jws:399)

    see:
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.workshop&item=1730
    Joe Smith wrote:
    >
    I am getting a failure trying to invoking a method called sl_Access on a web service.
    (Same code worked in Workshop 7.1, but fails in Workshop 8.0. The WDSL has not
    changed.) WLW is not able to revolve a method parameter called piCustNo. The service
    call works in WLW 7.1, but not 8.0.
    Any insight on how to fix this problem?
    The service call
    private AnonType_sl_AccessResponse response = null;
    nlastid = response.piLastId;
    the service definition from wsdlControl.jcx ----
    * @jc:protocol form-post="false" form-get="false" http-soap="true"
    public AnonType_sl_AccessResponse sl_Access (int piCustno);
    console error output -----
    Submitted at Wednesday, October 8, 2003 2:15:22 PM EDT
    Exception in sl_Access
    com.bea.control.ServiceControlException:
    SOAP-ENV:Client
    An error was detected in the Web Service request. (10894)
    Cannot resolve method sl_Access parameter ns:piCustno (10933)e91a6247e9b693c3:-1b6d127:f811fed2db:-8000#17
    at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:846)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:359)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:420)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:393)
    at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:387)
    at $Proxy11.sl_Access(Unknown Source)
    at com.ovid.service.AccessService.getRepl(AccessService.java:93)
    at com.ovid.service.AccessService.processBatch(AccessService.java:71)
    at Controller.runAccess(Controller.jws:399)

  • Error message: "Cannot extract embedded font..."

    I have Acrobat 7.1  Professional with Windows Vista and until now have not had a problem downloading and reading any .pdf file.  Today I tried to download brochures from a company's product line web page (example: http://www.ulsinc.com/products/ils1275/) and got an error message stating "Cannot extract the embeddded font UOYPQY+MyriadPro-Bold.  Some characters may not display or print properly."
    Well.that's an understatement.  Nothing but the images appear correctly.  All text appears as a string of dots.
    I have combed your support pages looking for a solution to no avail.  The closest I came was a forum entry about this problem in Acrobat 8.  It points out that the problem doesn't occur in Acrobat 7.  I'm afraid it does.
    All other .pdf documents both on my computer and on other websites download perfectly.
    A friend tried downloading the files on his computer.  It worked perfectly.  No error message.  And all he has is Reader 9 (so do I).
    I'm stumped.  Can anyone help me solve this problem?

    Found this fix in Preflight: Under prepress, I selected my destination, which is sheetfed offpress (CMYK) and ran the analyze and fix. The updated file opened without the error message.

  • Which extraction methods are used for extracting AR , AP, GL , cost centre

    which extraction methods are used for extracting AR , AP, GL, cost centre  account   data from R/3 system.
    please let me know what type of extraction we use...generic or FISL.... OR COPA
    ON WHAT SCENARIOS WE USE  THIS EXTRACTIONS..
    if any have documents on it please  email...please  send  an  email    documents ..
    to  [email protected]  
    iam bit confused with sap help...
    will reward full points
    please reply

    Hi,
    For general ledger :
    http://help.sap.com/saphelp_nw70/helpdata/en/57/dd153c4eb5d82ce10000000a114084/frameset.htm
    This is the best how-to guide on AP,AR,GL and TAX.
    http://help.sap.com/saphelp_nw04/helpdata/en/af/16533bbb15b762e10000000a114084/frameset.htm
    Hope it helps.
    Regards,
    Srikanth.

  • How to find the extraction method of a datasource?

    Hi,
    On a review of some documents on SDN, regarding how to track where data is coming from to BW, there was this helpful quote.
    “Just knowing what is the extraction method of a datasource and our search of the origins achieves a vast improvement!” 
    So, through se11, ROOSOURCE gave some details including the include ROEXTRACT.
    from here, I am getting stuck, se16 and se11 are not helping.
    How do I move from the information on this screen to see, for example, the extraction method for a datasource 2LIS_11_VAITM  
    Thanks

    Hi,
    I followed the instruction i.e. in ROOSURCE then Contents...
    but when I enter the datasource 2LIS_11_VAITM  in hoipes to see the corresponding Delta Process for this datasource, I get a message
    "... No table entries found for specified key"
    what does this mean, knowing that thie datasource exists.
    Thanks

  • Adobe reader cannot extract embedded font after pdf sent via outlook

    We have some pdf files that open fine in Adobe Reader 9.1.3.  Once we send them via e-mail (we use Outlook 2003), they will not open properly with the error message: "Cannot extract the embedded font 'TWDWSP+TradeGothic-Light.  Some characters may not display or print correctly."  When we click OK, another error message appears: "An error exists on this page.  Acrobat may not display the page correctly.  Please contact the person who created the PDF document to correct the problem."  If the files are sent in a ZIP archive, they open correctly, but not if sent individually as PDFs.  Can someone help?

    It's one of the reasons that it's not recommended to send a PDF via email without Zipping it first. Either the senders or receivers email client may use encoding to make the ransfer faster which can wreck PDF's.
    Best bet is to Zip (as you've seen) the file first or post it to a web space and email the link.

  • Help! Cannot extract Font

    Hi All,
    I am using Aperture to produce a book - hopefully. When I preview the book as a Pdf and open in Reader I get the error message:
    Cannot extract the embedded font 'CNGKIY+AGaramondPro-Regular'. Some characters may not display or print correctly.
    The display shows dots instead of text.Strangely the pdf file opens and looks fine in the Apple Preview program. The font
    I have used is Garamond Professional which I have installed on my computer. ( I have uninstalled and reinstalled it). I ma using
    the latest version of Reader  and all software updates.
    I am reluctant to purchase the book if I cannot get Reader to display it properly and hence i am stuck with the project at the moment.
    Any advice appreciated.
    keef476

    Hi,
    Thanks for the reply.
    I think I have narrowed this down. It seems to happen whenever I apply any effects to the fonts
    i.e old style figures or shading - these are all in the font menu within Aperture. If I remove these and
    use the basic font it reads OK.
    As all the pdfs I have produced read perfectly in Apple's Preview I am left wondering if I should just delete
    Reader and use Preview. Problem with this is if there actually is something wrong with the pdf and I want to send
    it to be printed.
    By the way the pdfs are also produced within Aperture as part of the buy book process. When I looked
    at the file info it said they were produced by Mac osx quartz. i am not sure if its possible to make your own
    pdf and send to Apple to be printed as a book.
    keef476

  • Cannot extract the embedded font - Adobe Reader XI

    Hello,
    I have an XPS file converted to a PDF with an embedded font inside, when I open the file, as I scroll to a page having '&' in the text (that's my case, but it's probably the same with any special character), a message box shows up saying "Cannot extract the embedded font 'HDGSLM+[my font]'. Some characters may not display or print correctly." and I can't see the special character in the page.
    I checked that my font was actually embedded in the PDF (File -> Properties -> Fonts) and seems to be ok, normal characters look fine and the application doesn't say anything until I scroll to the page with '&' inside. Also, other PDF readers show the document fine.
    I looked around the forum and saw that other people got the same problem and to them was a bug introduced in Adobe Reader 8.x, but nothing was confirmed by developers.
    Can you help me? Is it a bug? If yes, is Adobe working on it?
    Thank you.
    P.S.
    My Adobe Reader version is 11.0.4

    Reader can not create PDF files, so you should look for bugs in the software that was used to generate it.

  • Cannot extract the embedded font 'IEOFAD+TimesNewRoman'.

    I am a Mac OS X 10.6.8 and Adobe reader X 10.1.4 user. When I'm opening a pdf file, this error message come out: Cannot extract the embedded font 'IEOFAD+TimesNewRoman'. Some characters may not display or print correctly.
    How do I solve this problem? Thanks.

    Your question pertains to the Mac version of Adobe Reader. I've moved it to the Adobe Reader forum.

  • Cannot extract the embedded font arial.Some char might not be displayed

    Hi Folks,
                  Our requirement is to generate the customer account statement for a set of cusomters during a particular period.
                         we  use a script to generate the statement and convert it to pdf.This pdf is then stored in the application server and retrived using cg3y transaction.The transaction allows the statement to be generated for multiple customers and company code.
    the problem that we face is that the first customer account statement is generated properly the rest of the statements are not displayed properly.When we open the customer account statement we get the error 'Cannot extract the embedded font arial.Some characters might not be displayed properly'.All the Headings that we of the font BOLD ARIAL were not displayed.
    This error does not occur for the first pdf file generated.(say we have 3 customers  for the 1st customer pdf is proper however for the next two error'.
                         When I checked the application server I found that the first file has font subtype as Type1 and then rest of the files have font subtype as Truetype.
    This is working fine.I downloaded the file to pc using cg3y.the pdf looks fine.                   
    Directory:  /home/nwfound/n_us_cas
    Name:       0010798791US13122009.PDF
    %PDF-1.3#
    2 0 obj#
    /WinAnsiEncoding#
    endobj#
    3 0 obj#
    <<#
    %Devtype SAPWIN   Font COURIER  normal Lang EN#
    /Type /Font#
    /Subtype /Type1#                       ****see here font subtype is type1
    /BaseFont /Courier#
    /Name /F001#
    /Encoding 2 0 R#
    >>#
    endobj#
    4 0 obj#
    <<#
    /Filter 5 0 R#
    /Length 6 0 R#
    /Length1 352224#
    >>#
    stream#
    This one is not working fine.Gives an error 'Cannot extract the embedded font arial.Some characters might not be displayed properly when downloaded to pc using cg3y.The heading that were of font ARIAL BOLD were not displayed.
    Directory:  /home/nwfound/n_us_cas
    Name:       0010000105US13062010.PDF
    %PDF-1.3#
    2 0 obj#
    /WinAnsiEncoding#
    endobj#
    3 0 obj#
    <<#
    %Devtype SAPWIN   Font COURIER  normal Lang EN#
    /Type /Font#
    /Subtype /TrueType#                - see here the subtype is True type.How can i change this?
    /BaseFont /Courier#
    /Name /F001#
    /Encoding 2 0 R#
    >>#
    endobj#
    4 0 obj#
    <<#
    /Filter 5 0 R#
    /Length 6 0 R#
    /Length1 352224#
    >>#
    I have to change the tont subtype to Type1 as in my first cust. statement.Is there a way to this???????
    There can be no problem with the code cause the account statement generated for first customer is perfect.
    Any suggestions will be appreciated.
    IF hotfdata[] IS NOT INITIAL.
    *Convert otf data to pdf lines.
        CALL FUNCTION 'CONVERT_OTF'
          EXPORTING
            format                = 'PDF'
          IMPORTING
            bin_filesize          = l_size
          TABLES
            otf                   = hotfdata
            lines                 = li_pdf_output
          EXCEPTIONS
            err_max_linewidth     = 1
            err_format            = 2
            err_conv_not_possible = 3
            err_bad_otf           = 4
            OTHERS                = 5.
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    *clear hotfdata otherwise next empty cust acc. statement may have
    *this data.
        REFRESH:hotfdata.
        CLEAR   hotfdata.
    *If account statement is generated then set w_flag to generate email.
        w_flag = 'X'.
    *The converted pdf lines are of char132 format.
    *They have to be converted to char255 format.
        LOOP AT li_pdf_output INTO lwa_pdf_output.
          TRANSLATE lwa_pdf_output USING ' ~'.
          CONCATENATE l_gd_buffer lwa_pdf_output INTO l_gd_buffer.
          CLEAR lwa_pdf_output.
        ENDLOOP.
        TRANSLATE l_gd_buffer USING '~ '.
        REFRESH li_mess_att.
        DO.
          li_mess_att = l_gd_buffer.
          APPEND li_mess_att.
          SHIFT l_gd_buffer LEFT BY 255 PLACES.
          IF l_gd_buffer IS INITIAL.
            EXIT.
          ENDIF.
        ENDDO.
        CLEAR   x_objcont.
        REFRESH x_objcont.
        LOOP AT li_mess_att.
          x_objcont = li_mess_att.
          APPEND x_objcont.
        ENDLOOP.
    *application file name
        CONCATENATE po_filun kna1-kunnr save_bukrs datum02+4(2)
                      datum02(4) lc_pdf INTO l_filename.
        CONDENSE l_filename NO-GAPS.
        CONCATENATE file l_filename INTO file.
        CONDENSE file NO-GAPS.
    *Transer pdf data to app. server.
        "data len type i.
        OPEN DATASET file FOR OUTPUT IN BINARY MODE.
        LOOP AT x_objcont.
          TRANSFER x_objcont TO file.
        ENDLOOP.
        CLOSE DATASET file.
      ELSE.
        REFRESH:hotfdata.
        CLEAR   hotfdata.
      ENDIF.

    Hi,
    this can be related to the compression of the PDF file.
    You can turn off the FlateDecode compression again via report RSTXPDF3 as described in Note #843480. It is a little confusing. The option 'FLATE_COMPR_OFF' needs to be set to 'On' to turn off the FlateDecode compression.
    To set this please run as follows:
    se38 -> RSTXPDF3 -> enter 'FLATE_COMPR_OFF' in the 'Name' field -> Select 'Change Settings' radio button
    You will get a pop-up 'Do not use flat compression'.
    Select the 'on' button.
    After this check if the PDF is created correctly.
    regards,
    Aidan

  • Cannot extract the embedded font 'F2'. Some characters may not display or print correctly.

    This question was previously published but no answer has been found.
    Error message is :
    "Cannot extract the embedded font 'F2'. Some characters may not display or print correctly."
    Many pdf documents display this error with Adobe Reader 8.1.0. We have errors for embedded fonts 'F0','F3','F7' and so on.
    It looks like a Adobe Reader bug because :
    - All PDF files can be opened with Acrobat Reader 5.0.5, 6.x and 7.x, can't be opened with 8.1.0 version.
    - the 8.1.1 update removes only the bug for 'F0' error message (issue #1572280).
    The solution :
    - to publish a 8.1.2 update to fix this important bug
    - is there a registry parameter or tool option to disable the checking added in 8.x version of Adobe Reader ? The 8.x version catches more errors to be compliant with Adobe specification but Adobe reader must be
    compliant with all documents generated by third party products.
    This Adobe Reader bug applies to Windows Vista, XP Pro SP2, 2000.
    Thx,
    Regards

    Just to let you know, for anyone else with this problem. I had this problem occur on a MAC when you tried to do save to PDF in excel. This was all happening at the point of generation of the PDF in my case.
    The fix was to delete ALL the microsoft preferences, but perahps only the font cache needed to be deleted.
    I deleted the following areas from the local users userprofile on the mac. On windows, I would probably log in as a differnet user to try to see if the problem just exsists for one particular user.
    Here are the sections I deleted:
    Library/caches/metadata/Microsoft*
    Username/library/preferences/com.microsoft* ( and anyhting with microsoft in it)
    I did leave the entourage settings though.
    hope it helps someone with a similar issue.

Maybe you are looking for