Converter Problem

I am probably making a very simple error here, but I have checked the Forum and cannot find anyone who has had the same problem.
I have written an applet called "Proposal" which I have created in a package called "proposal". (i.e. proposal.Proposal)
After successfully compiling the applet, I have had trouble converting the class file into a cap file. I have studied the the examples that accompany the java card kit. From these I have manufactured my own Proposal.opt file which is as follows:
-out EXP JCA CAP
-exportpath c:\jdk1.3.1_04\java_card_kit-2_2\api_export_files
-applet  0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x2:0x1 proposal.Proposal
proposal
0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x2 1.0When I run the following command from c:\java:
"converter -config proposal\Proposal.opt"
I get the error:
"error: class Proposal does not belong to package proposal."
My source, class and opt file reside in the "c:\java\proposal" directory.
Can anyone help?
N.B. I am using win2k and JDK1.3.1_04

Its ok guys, I've solved the problem....and it was a very silly mistake!
In my code I declared the package to be
package proposal.Proposal; when in fact it should have just been
package proposal; That indeed was a schooboy error, although I would have thought the compiler should have picked that one up?
Damian

Similar Messages

  • Convert Problems/Solutions into Knowledge Articles

    Hi Experts,
    I am wroking on SAP CRM 7.0 SP06 and now we are planning to implement Knowledge Article functionality.
    I have done the all configuration settings and multilevel categorization, every thing working fine. Now I want to convert problems/solutions which already created in CRM and stored in SDB into knowledge article.
    Any one please guide me how can I convert existing problems/solutions into knowledge articles. Is there any report for this?
    Thanking you in anticipation.
    Regards,
    Babu.

    Hi Kevin,
    Well, I'm new on this and have only worked on CRM 6 & 7. I'll give you my advice regarding these CRM versions. I don't know if it is supported on CRM 5.
    IMG:
    CRM >> Enterprise Intelligence >> SAF >> Name and Configure KB
    You create and define you DB as you want: ACME INC
    CRM >> Enterprise Intelligence >> SAF >> Business Add-Ins >> BAdI: Knowledge Base
    Each knowledge base should have its own Add-In implementation. So you have to implement an Add-In based on Add-In definition CRM_SAF_KB_*: CRM_SAF_KB_ACME. You can follow IMG documentation.
    In my case, the add-in already existed, since Knowledge Article functionality is standard in 7.0. KB didn't exist, I don't know why. I just created it with the name assigned on the BAdI, compiled, and everything works fine now.
    Hope it helps.
    Regards.
    Pablo

  • Canon Powershot S120 Adobe Lightroom RAW converter problem

    Have a MacBook running Yosemite. I am an underwater photographer so rely on using White Balance to get colour into my photos. Since upgrading Lightroom from 5.3 or 5.6 to 5.7 all my Canon S120 RAW files change colour after import and become a wishy washy green.  As one moves along the filmstrip, the Histogram shows calculating and all the photos lose their colour, as if the White Balance is being removed. My previous catalogue, same camera, Lightroom 5.3 or 5.6 photos import as they look on the camera. Have discussed with Canon and they think an Adobe Codec RAW converter problem. Do you have additional Codecs for Canon S120? Canon happy to discuss problem.  Their reference: 1-3374995525. Please help.

    If you look at the Tint slider with As Shot WB set, you’ll see it is maxed out at 150 for all three of your sample images. 
    I think this means that LR’s DNG Profiles don’t have the range to entirely neutralize the WB so your images are left with the wrong WB and no way to fix it. 
    Adobe profiles don’t do a good job in extreme lighting situations, especially with an overabundance of blue light which underwater pictures typically have.
    You can mess with the Calibration sliders a bit and get some of the colors to be more like the camera-JPGs have, but some colors will still be different. 
    If you have an X-Rite color-checker, that you could photograph without getting it wet, then you could make a custom camera calibration profile for that specific lighting scenario and maybe it’d work, but maybe the profiles still can’t extend beyond a certain point.  I am also not sure how you’d keep the color-checker dry underwater.

  • EZ Vinyl Converter problem transferring to iTunes - window appears  "mixmeister programme has stopped working and will shut down". Then the data is lost, and I have to try to record/transfer again.  I have now tried many times.

    EZ Vinyl Converter problem transferring to iTunes - window appears  "mixmeister programme has stopped working and will shut down". Then the data is lost, and I have to try to record/transfer again.  I have now tried many times.
    The deck is ION TTUSB05XL   Laptop   Asus V550C with Windows 8.
    Strangely I did manage to successfully transfer two tracks to iTunes, but all further attempts have failed.
    JJR

    EZ Vinyl Converter problem transferring to iTunes - window appears  "mixmeister programme has stopped working and will shut down". Then the data is lost, and I have to try to record/transfer again.  I have now tried many times.
    The deck is ION TTUSB05XL   Laptop   Asus V550C with Windows 8.
    Strangely I did manage to successfully transfer two tracks to iTunes, but all further attempts have failed.
    JJR

  • Email PDF Convertion problem

    Hi,
    Thanks to the DIS, I'm able to check-in e-mail in my Content Server;
    As for Word, Excel and Powerpoint files, I would like to convert this incoming e-mail in PDF.
    As indicated in the PDF COnvertor documentation, it is possible to convert e-mail messages into PDF.
    To realize it, I defined a new file format in the Configuration Manager of the CS.
    The name is "application/outsidein". I chose "OutsideIn Technology" as "Conversion".
    In the file extension, I added "msg" and I mapped to the newly created format.
    Thanks to that, the email message is converted in PDF. Fine !
    The problem is the result of the conversion. It is just awful. The parts indicating the sender, the subject, ... is displayed in several pages.
    My email server is Microsoft Outlook 2007.
    Does anyone know how to improve the quality of the PDF conversion ?
    Thanks in advance
    Pierre

    the arabic font may not be supported by adobe with the version of adobe that you are using,
    Try another application that allows you to export to Adobe and see if the same issue occurs.
    You may need to get a full blown version of Adobe rather that just you the adobe provided by Crystal.

  • Process order convertion problem

    Hi All
    When I am converting the Planned Order to Process Order I am getting a error message Not able to determine the consumption account.
    Can anybody tell me how this problem can be solved.
    Is there anything I have to do in customizing
    Rregards
    Dhananjay

    Hi Dhananjay,
    check your material is been assigned to valution class in accounting view in MM02
    if it is assigned then check GL account is given properly to that valution class.
    take help of MM and FI consultant
    Thanks
    Bala
    IF useful reward

  • Zen Vision M video convertion problem: image upside d

    Tried to copy .avi videos to my ZVM, but after the required convertion?(via Creative converter to .wmv format) the video appeared upside down. Tried several times with different files -- same result. Any idea?

    trm989 wrote:
    I'm not sure what exactly is the problem with the video, but whenever I upload it, it will only play up 00:08 of 24:0. For some reason, it fails to recognize the other parts of the video, and only shows the video length as 8 seconds. The video works fine when played in Windows Media.
    The size of the video is 70 MB, and the data rate is 966 kbs.
    I would say maybe the data rate is the problem . I use this program to encode my videos & it has a preset for the Zen that also works well on the Zen VM. http://forums.creative.com/showthread.php?t=527380BTW just because a video plays on the computer does not mean it will play on your device.

  • Converting problems with QT file!

    I have a few Quicktime MOV files that I want to send a friend who owns a PC. The problem is - he gets audio but NO video (black screen) when he tries to play or convert these files with any of his software. I tried to convert the file on my Mac using Xilisoft Video Convertor, but I have the same results when I try to convert the files to Divx, AVI, MP4 or any other format. I can ONLY see the video when I play the original MOV file in Quicktime. Any suggestions?

    an H264 exported from QT is a safe way to go for windows play back-its a daily occurance here
    file >export >quicktime movie > H264

  • Adobe Media Converter problems...

    Problem #1 - seems when I'm trying to convert larger files, I instantly get the message in the timeline "Conforming file..." - this NEVER goes away.  However, 9 times out of 10, if I restart my machine and try again it will instantly start encoding without any issues - so obviously there was no need for any conforming in the first place.  What could be causing this and how do I fix it?
    Problem #2 - my file are 1920x1080.  If I convert them to f4v's without any resizing, and then play in a flash player at 640x360, the video is stretched and not as "high" as it should be, despite the 640x360 being a perfect aspect ratio to the 1920x1080.  If I do convert with resizing, then it looks fine, but I'd like to have a better quality when users switch to full screen if possible...
    What might I be doing wrong?  Thanks in advance...

    If the Audio is not in 32-bit, floating point form, with existing PEK files, then it DOES need to be conformed. I do not know of any camera that shoots 32-bit, floating point Audio, but might have missed one.
    In your Project's Scratch Disk folders do you have the CFA and PEK files already? If not, they need to be generated. If so, no Conforming should go on.
    Because of the size of the CFA's, I mentioned the free space on HDD's, as many have experienced Conforming issues, when they just did not have enough space. Cannot say that this is your issue, but is something to check.
    Also, the time to Conform the Audio will depend greatly on the Audio specs. and CODEC used, plus the Duration of the Clips, plus the speed of the computer.
    As a for instances, if one Imports a muxed MPEG w/ 12-bit 32KHz Audio (MPEG CODEC), it will take MUCH longer to Conform, than would a DV-AVI Type II with PCM/WAV 48KHz 16-bit Audio.
    With the former, one can expect to go to Starbucks, get a latte and then come back to find it completing, and with the latter, it will happen almost too quickly to even see the blue progress bar. Still, the Durations and the system will weigh heavily on those general timings.
    Good luck,
    Hunt

  • H:selectOneMenu and converter problem

    Hello
    I'm working on an application (Address Database) using JSF (Base JSF libs with IBM Faces). Apache Tomcat Server 5.5.
    Since days i'm trying to solve my problem with h:selectOneMenu and converter. I can save values correctly, but i cannot display the saved value again as a selected item.
    so here is my jsf code section:
         <h:selectOneMenu value="#{personBean.person.representative}"
                        styleClass="fldDefault fldcombo">
                        <f:selectItems value="#{partnerBean.representatives}" />
                        <f:converter converterId="keywordConvertor" />
                        <f:attribute name="SelectItemArrayList"
                             value="#{partnerBean.representatives}" />
         </h:selectOneMenu>
    representatives are keywords and in the selectOneMenu, a representative keyword object is stored.
    here is my partnerBean.jsp Code:
         private List<SelectItem> representatives = null;
         * populate keywords of type REPRESENTATIVE
         public void populateRepresentatives() {
              representatives = new ArrayList<SelectItem>();
              ArrayList<Keyword> representativeKeywords = kwHandler
                        .getKeywordsByType(KW_REPRESENTATIVE_TYPE);
              for (Keyword keyword : representativeKeywords) {
                   representatives.add(new SelectItem(keyword, keyword
                             .getKwDescription()));
    so the function gets the representative keyword objects, loop through them and add a newly created SelectItem Object to the representatives list.
    There is a converter in order to save and display (should!!) the values:
    public class KeywordConvertor implements Converter {
         public Object getAsObject(FacesContext context, UIComponent component,
                   String value) {
    ....code for saving...
         public String getAsString(FacesContext context, UIComponent component,
                   Object obj) {
    `          System.out.println(((Keyword) obj).getId()+"");
              return ((Keyword) obj).getId()+"";
    i did not provide the code for getAsObject, since the saving of the combo box works fine. If it has to do something with my problem, please ask me for this code..
    The System.out.prinln prints all ids correctly, but the generated HTML Code does not select the given value in the combobox.
    So whats wrong with the getAsString Method? or is the function completely somewhere else?
    I have to say that the function ((Keyword) obj).getId() returns a long !! is that the problem?
    Any help is very appreciated

    Hello
    i implemented the function in the Keyword Class:
    public class Keyword implements Serializable {
         public boolean equals(Keyword kw) {
              System.out.println("calling equals in:" + kw.getId());
              if (kw.getId() == this.getId()) {
                   return true;
              } else {
                   return false;
    but the System.out.print is not executed...
    i tried also:
         public boolean equals(Object o) {
              Keyword kw = (Keyword) o;
              System.out.println("calling equals in:" + kw.getId());
              if (kw.getId() == this.getId()) {
                   return true;
              } else {
                   return false;
    but then i get the following error message:
    org.apache.jasper.JasperException: javax.servlet.jsp.JspException: could not initialize proxy - no Session
    hmmm, could you show me how to implement the equals Function correctly?

  • Checkbox convertion problem in screen painter

    Hi experts,
    I would like to convert an field from DD char 1 in checkbox in the screen painter but the field is locked in my screen painter. I can't conert it to checkbox or radiobutton.
    -> The field is from an enhancement of an standard IT.
    Is their some option to unlock field in the screen painter ?
    Thanks,

    Hi,
    first check u are declare text boxes in TOP INCLUDE if OK, then change data type text to integer. it may be problem of it, can u post u r code where u assigned a value in text box.
    Abhilash

  • Character Converting Problem at File Adapter

    I am having a character conversion problem bringing in a XML file into XI.
    It is converting the data wrong.
    I have a file adapter picking up Audit.xml encoding is utf-8, use binary mode to pick it up.
    XI takes the file and converts it into a text file.
    I compared the hex of Audit.xml source file and the Audit.txt file and the characters are different for a specific few.
    See attached image for details
    Please let me know if any additional information will help
    http://i9.photobucket.com/albums/a68/tkc204/SAP%20XI/Audit.png

    Actually for this case Christian is right the source xml that I am receiving wasn't valid UTF-8. The program generating the xml was just putting the encoding - utf-8 tag on top because that's what the code told it to do.
    The actual data is Windows-1252 in xml. So when XI reads it, it uses the utf-8 tag on top and is expecting UTF-8, but it was getting something else causing the unsupported characters to get converted.
    The HEX was different on the Source XML comparing it to what XI was generating after File Adapter.
    After making the output change to Windows 1252. It changes back to the expect HEX.
    Source - is at Windows 1252
    XI - it will use UTF-8 (no way to change it)
    Target - forced to create in Windows 1252
    Other helpful tools I used: W3C Validator - upload the file and found that I wasn't receiving UTF-8
    I hope this is clear and helps someone else in the future.
    Thanks For everyone's input.
    Chirag

  • FM used to convert problem description to it_text ?

    Hi all,
    What is the FM or routine used to convert the problem description or notes we provide in WEBUI to it_text which is an importing parameter for ORDER_MAINTAIN FM?
    Thanks,
    Karthik

    I found one possible solution and a spot where you can put a break point and analyze the standard
    1- Possible solution: cl_crm_erms_converter=>convert_string_to_table
    2- Spot where you can place a breakpoint an analyze the standard: CL_CRM_TEXT_RUN_BTIL->IF_CRM_RUNTIME_BTIL~MAINTAIN_ATTRIBUTES
    Did you try to perform a reference search on the type table CRMT_TEXT_COMT you will find plenty of spots where is used and from here...analyze time
    Cheers!
    Luis

  • MS OFFICE 2014 Converting Problems

    I have just bought Adobe XI Pro, I am also using MS OFFICE 2014.
    When I save Word file as 2014 format and convert it to PDF , On header & footer section , if there is a picture or shape behind  writings, writings are  not been shown when converted.
    If I print it with Adobe Printer Than no problem. If I save Word file 2010 format and convert to PDF. Than no problem.
    Does Acrobat XI Pro or  Acrobat Disteller  support fully MS OFFICE 2014  or what is the solution ?
    I can not change all my word file format to previous one!

    Hi Ayhan ,
    The latest version of Ms Office is 2013 ,I believe you have typed that mistakenly.
    Ms Office 2013 is compatible with Acrobat 11.0.1 and above .
    Try updating it to the latest version .
    Launch Acrobat>Navigate to Help>Check for Updates
    You may want to refer to the following link as well.
    https://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html
    Regards
    Sukrit Dhingra

  • Dynamic Converter problem - Preview not available

    Hi All,
    I have a problem with Dynamic Converter.
    After choosing to edit a particular template and then trying to preview a certain content item, a message is passed saying "Preview is not available". The strange thing is that we are running two different environments where the function is working fine on the other one.
    Any suggestions regarding this?
    Note: We are running 10gR3 with Dynamic Converter 8.1.0.754
    thanks in advance!

    The obvious question is: are you sure you're previewing a content item that's "convertible" and also exists?
    The template editor only remembers the last content ID you picked. So if you pick item A for environment X and then B for environment Z, the editor will always load up B the next time you open up the editor. So if you edit the template in X again, and B doesn't exist in X, you'll get that error.
    Don't know if your problem is as simple as that though. We're running DC 8.1.0.735 and don't get any preview errors outside of the scenarios I listed above.
    Good luck.

  • JSF Drop Down Converter Problems

    I am having problems with JSF 1.1_01 (MyFaces 1.1.1).
    I have created page called page.jsp as follows:
    <h:selectOneMenu value="#{test.selectedDevice}" id="deviceTypeList" styleClass="dropdown">
    <f:selectItems value="#{test.deviceTypes}" />
    <ajax:support action="#{test.loadDevice}" event="onchange" reRender="t2,t3,t4,t5"/>
    </h:selectOneMenu>
    It is uses managed bean called TestBean.java:
    public class TestBean {
    public List getDeviceTypes(){
         logger.info(" *** In getDeviceTypes Backing Bean*** ");
         List<SelectItem> models = new ArrayList<SelectItem>();
         List<SelectItem> deviceTypes = new ArrayList<SelectItem>();
    // Gets Data from Hibernate Query . It returns List of Device Types
         models = deviceManager.getDeviceTypes();
         logger.info(" *** DeviceType List Size=*** "+models.size());
         for (Iterator it = models.iterator(); it.hasNext();) {
              System.out.println("Inside For Loop Iterator size="+models.size());
              Object[] row = (Object[]) it.next();
         System.out.println("ID: " + row[0]); // prints data
         System.out.println("Name: " + row[1]); //prints data
    // Below line results in error : does not have a Converter
         deviceTypes.add(new SelectItem(row[0],row[1]+""));
              return deviceTypes;
    During page rendering, page.jsp throws following exception:
    javax.servlet.ServletException: Value is no String and component _id0:deviceTypeList does not have a Converter
    Is this bug with MyFaces 1.1.1 or I have made something wrong?
    I am a newbie & didnt know much about Converters hence read some examples from the web saying to have getObject() & getString methods . So i added below Class but not sure how to align with page.jsp page.
    public class DeviceTypeConverter implements Converter{
         protected final Log logger = LogFactory.getLog(getClass());
         public Object getAsObject(FacesContext facesContext, UIComponent uiComponent, String s) throws ConverterException {
                   DeviceDao dao = new DeviceDao();
                   return dao.getdeviceTypes().(Long.decode(s));
                   public String getAsString(FacesContext facesContext, UIComponent
                   uiComponent, Object o) throws ConverterException {
                   if(o!= null)
                   logger.debug(o.toString());
                   try {
                   if((o!= null) && (o instanceof DeviceType)){
                   DeviceType dt = (DeviceType) o;
                   return ""+dt.getId();
                   else
                   return "0";
                   } catch (Exception e) {
                   logger.error(e);
                   throw new ConverterException();
    Any pointers/suggestions on how to write a Converter & help in resolving the error will be highly appreciated
    Regards
    Bansi

    Glad you found a way to make it work. I've got some ideas on improving this, as it is a little hacked together right now.
    But first things first...
    Does the models ArrayList really contain SelectItem
    objects??? If so, why would you bother transfering
    each SelectItem if it's already built.The models ArrayList doesnt contain SelectItems objects. It stores List of
    DeviceType objects retrieved from Database via Spring business layer i.e.
    models = deviceManager.getDeviceTypes() Then this line of code is wrong.
        List<SelectItem> models = new ArrayList<SelectItem>();You are not creating a list of SelectItem objects. You are creating a list of DeviceType objects. It should be:
        List<DeviceType> models = new ArrayList<DeviceType>();
    What are the objects represented by row[0] and
    row[1]?As models ArrayList contains Array of Objects i.e. multiple records (or
    rows) i am using Object[] row to store the values. That means row[0] &
    row[1] will contain column values for e.g. row[0] contains id values viz. 1,2,3
    etc
    What object does setSelectedDevice expect to
    receive?setSelectedDevice sets the selected Device id value submitted from JSF
    page into Backing BeanThis isn't what I was asking. I just want to know the java type object represented by row[0], row[1], and the java type object passed into setSelectedDevice. e.g: String, Integer, DeviceType, etc, or perhaps even the java primitive (int, char, boolean, etc...) if that's the case.
    These two questions are related and important. The java object represented by row[0] needs to be the java object passed into the setSelectedDevice. Actually, just by looking at your code, I can tell you the setSelectedDevice requires a String argument. My bet is that row[0] is not a String.
    As a side note... You shouldn't be making DB calls
    from your bean getters or setters. DB calls can mean
    a performance hit, and JSF will call the getters and
    setters multiple times per page request (which means
    you'll be doing multiple DB calls).... i started working on JSF-Spring-Hibernate project i always asked the
    question on Best Practices and i totally agree with your point. Hence i use
    Spring in the middle layer therefore i always call my Managers from
    Backing Bean for e.g. TestBean calls deviceManager for
    save,update,delete, getDeviceTypes,getDeviceTypes(String id)
    Also i have a question for you on the best practice. What should be the
    arguments to these save, update methods.
    Do you think it should be individual field values as specified in backing
    bean or should it be an objectUmm, I don't know. I'm sorry, I won't be much help to you here. I have not worked with Spring or Hibernate (yet). I can't advise you on those technologies (or how JSF would interface best with them).
    Check out this topic and you might be able to glean some useful information from it.
    http://forum.java.sun.com/thread.jspa?threadID=784351
    Hope I've been of some help!
    CowKing

Maybe you are looking for