Runtime Code Generation and operations on unknown types

(Post split in two) - Part 1
Hello,
The problem is a bit more complex so I will try to explain it as good as possible. Let's consider the following classes and interfaces (trimmed to the essential parts):
public abstract class Binding {
  private String name;
  public Binding(String name) {
    this.name = name;
  abstract Object getValue();
  // getters & setters
public interface ExpressionImpl {
  public Object evaluate();
public class DirectBinding extends Binding {
  private String expression;
  private ExpressionImpl exprImpl;
  public DirectBinding(String name, String expression) {
    super(name);
    this.expression = expression;
    this.exprImpl = /* Call to some code which will generate and load a a class that implements "ExpressionImpl" */
  public Object getValue() {
    return exprImpl.evaluate();
public class RecursiveBinding extends Binding {
  private String initializationExpression;
  private String recursiveExpression;
  private ExpressionImpl exprImpl;
  public RecursiveBinding(String name, String initializationExpression, String recursiveExpression)  {
    super(name);
    this.initializationExpression= initializationExpression;
    this.recursiveExpression= recursiveExpression;
    this.exprImpl = /* Call to some code which will generate and load a a class that implements "ExpressionImpl" */
  public Object getValue() {
    return exprImpl.evaluate();
public class Element {
  private List<Element> children;
  private Element parent;
  private List<Binding> bindings;
  // constructor, add, remove, getters and setters
}So:
1. Element models a tree node structure (reference to children and parent) and a binding container.
2. Bindings know their parent element.
3. A Binding can search and access Bindings from it's parent element or this element's ancestors.
4. To observe that Bindings return Object values.
5. Bindings are initialized from top to bottom. So if a child element's binding requires the value of a parent element binding, this is allready available.
6. Valid expressions for DirectBindings are for example:
- "100"
- "3.5D + (new java.util.Random().nextDouble())"
- "$parent_binding + $ancestor_binding"
7. Valid expressions for RecursiveBindings are (initialization expression, recursive expression) (for a Binding called "this_binding"):
- "$parent_binding" , "$this_binding + 1"
- "100", "$this_binding * $ancestor_binding"
8. A Binding object deals with values of the same type in it's expression(s) -> only numeric, only boolean. You cannot have "$parent_binding && true" if "parent_binding" returns an Integer object (through it's "Object getValue()" method).
9. Instead of parsing and evaluating the expressions as strings, classes are generated which return the natural (Java) evaluation of the expressions. Of course valid code will be generated for the expression, so if a binding reference is found, in the generated class it will be replaced with the equivalent "binding.getValue()".

Part 2
Let's consider the following code snippet:
Element parent = new Element("parent");
parent.addBinding(new DirectBinding("parent_binding", "3.5D"); // Will call this Binding 1
Element child = new Element("child");
child.addBinding(new DirectBinding("child_direct_binding", "$parent_binding + 1"); // Will call this Binding 2
child.addBinding(new RecursiveBinding("child_recursive_binding", "10", "$child_recursive_binding + Math.PI"); // Will call this Binding 3
parent.add(child);
parent.initialize(); // this is where the code generation starts (top to bottom)Now the following classes are generated:
Binding 1 expression implementation:
public class EMC_parent_binding implements ExpressionImpl {
     public EMC_parent_binding(final BindingCache bindingCache) {
     public Object evaluate() {
          return 3.5D;
//Binding 2 expression implementation:
public class EMC_child_direct_binding implements ExpressionImpl {
     private Binding m_parent_binding;
     public EMC_child_direct_binding(final BindingCache bindingCache) {
          m_parent_binding = bindingCache.getBinding("parent_binding");
     public Object evaluate() {
          return (java.lang.Double)(m_parent_binding.getValue()) + 1;
// Binding 3 expression implementation:
public class EMC_child_recursive_binding implements ExpressionImpl {
     private boolean firstEvaluation = true;
     private Binding m_child_recursive_binding;
     public EMC_child_recursive_binding(final BindingCache bindingCache) {
          m_child_recursive_binding = bindingCache.getBinding("child_recursive_binding");
     public Object evaluate() {
          if (firstEvaluation) {
               firstEvaluation = false;
               return 10;
          } else {
               return (UnkownType)(m_child_recursive_binding.getValue()) + Math.PI;  // <-------- This is where the problem appears
}Notice the casts in the evaluate() methods. Since I cannot do operations on "Object" I needed to cast to the appropriate types. This is easy to notice in Binding 2. It's easy to cast to "java.lang.Double" since when generating the code I allready have the value of "parent_binding" and thereby know it's type.
Now the problem appears at recursive bindings (code for Binding 3). The binding for which I currently generate the code has a value of "null" and cannot find an appropriate type to cast to. How can I find a type to cast to, or what other solutions do I have?
I sincerely thank you for reading this whole post, and am looking forward for some replies.
Kind regards,
Cosmin.

Similar Messages

  • Code Generation and Optimization

    hi,
    we have been looking into a problem with our app, running in a JRockit JVM, pausing. Sometimes for up to a second or so at a time.
    We enabled the verbose logging of codegen and opt.
    And we see entries like:
    [Fri Sep  3 09:51:38 2004][28810][opt    ] #114 0x200 o com/abco/util/Checker.execute(Lcom/abco/util/;)V
    [Fri Sep  3 09:51:39 2004][28810][opt    ] #114 0x200 o @0x243c4000-0x243c7740 1186.23 ms (14784.88 ms)
    So the optimization took 1186 ms.
    Does this optimization happen in the main thread?
    I.e., is the above message an indication that the app had to stop for 1186ms while the optimization occurred?
    Any help on this would be greatly appreciated!
    Also, does anyone have any more pointers to info on the code generation and optimization in JRockit?
    I have only managed to find the following:
    http://edocs.beasys.com/wljrockit/docs142/intro/understa.html#1015273
    thanks,
    JN

    Hi,
    The optimization is done in its own thread and should not cause pauses in your application.
    The probable cause for long pause times is garbage collection. Enable verbose output for gc (-Xverbose:memory), or use the JRockit Management Console to monitor your application. Try using the generational concurrent gc, -Xgc:gencon, or the gc strategy -Xgcprio:pausetime. Read more on: http://edocs.beasys.com/wljrockit/docs142/userguide/memman.html
    If you allocate a lot of small, shortlived objects, you might want to configure a nursery where small objects are allocated. When the nursery is full, only that small part of the heap is garbage collected at a smaller cost than scanning the whole heap.
    If you need help tuning your application, you could make a JRA recording and send to us: http://e-docs.bea.com/wljrockit/docs142/userguide/jra.html.
    Good luck,
    Cecilia
    BEA WebLogic JRockit

  • IOS Code Generation and Decompile?

    So I am doing an evaluation of Flash Builder for our mobile applications.
    I love it so far.  Here's the catch. At a minimum, I need to be able to have the native code or my architects will not let me use the tool simply on principle.
    I realize the .apk file is basically a swf and I can decompile that swf and see the actionscript.
    However, I need to be able to see the generated iOS native Objective C code.
    How do I go about decompiling?  I've been searching and thus far have come up empty.
    Just to be clear, this isn't to decompile an code other than our own.

    Jack,
    The time shown is the "time when the optimization ended" - "time when the
    optimization started". If does not say that the CPU time used was 1186 ms.
    One should probably not read too much into these numbers, I guess. The
    optimization does not happen in the main thread, but in a special
    optimizer thread that does these things asynchronously. If you do a
    Ctrl-Break (or kill -QUIT), you'll see a specific thread assigned for this.
    I don't think I have any pointers. Did you have any specific questions
    in mind?
    Cheers,
    olof
    Jack Nicklaus wrote:
    hi,
    > And we see entries like: [Fri Sep 3 09:51:38 2004][28810][opt ] #114 0x200 o
    com/abco/util/Checker.execute(Lcom/abco/util/;)V [Fri Sep 3 09:51:39
    2004][28810][opt ] #114 0x200 o @0x243c4000-0x243c7740 1186.23 ms (14784.88
    ms)
    So the optimization took 1186 ms.
    Does this optimization happen in the main thread?
    I.e., is the above message an indication that the app had to stop for 1186ms
    while the optimization occurred?
    Any help on this would be greatly appreciated!
    Also, does anyone have any more pointers to info on the code generation and
    optimization in JRockit?

  • Company code and operating concern currency in COPA

    Dear experts,
    I have one controlling area and one operating concern for indian and foreign entitiy with INR as currency for controlling area and one operating concern.
    but outside india i have sgd as company code currency.
    So i ticked company code currency in operating concern.so while posting revenue in billing .system store in company code as well as operating concern currency.
    But all my expenses for outside india entity will store(cost center) in company code currency 'SGD' and controlling area currency 'INR'.
    while doing copa assesssment cycle- whether system will store data in copa table in SGD and INR or only INR as operating concern currency.
    i need report on operating concern currency as well as company code currency.
    regards
    Raman Rana

    Hi,
       If you have ticked 'company code ccy' in KEA0 then all COPA postings (including COPA assessments) will happen in both currencies i.e. company code ccy and operating concern ccy.
    regards
    Waman

  • How can I allow user to customize the functionality of program at runtime? (not using runtime code compilation)

    Using .NET Framework 4.0 what features are available that would allow to accomplish something very modular and user customizable, like depicted in this XML.  Where I define specific base operations like Get() and Put() methods that operate on strings. 
    And allow the user to add and remove those or mix and match them in a way that they basically design their own run time functionality that suits them.  So they just create their own 'Operation' and fill it with the operations they want to perform on some
    incoming data type, in this case it is a string - with substring and insert methods. 
    EDIT - Assuming end user is non programmer and Dynamic Code compilation is not an option.  I have an idea maybe using dynamic keyword, but not sure if it makes what i suggest possible.
    <Operation Name="GetValues">
      <Get id=123"  FromIndex="2" ToIndex="23"/>
      <Get id="234"  FromIndex="3" ToIndex="5"/>
       <Output Path="C:\" Filename="testOut.txt" Append="true">
         <Format>
              <Result id="123"/> , <Result id="234"/>
         </Format>
       </Output>
    </Operation>
    <Operation Name="InsertValue">
      <Put AtIndex="5">stringtoinsert</Put>
      <Put AtIndex="36">anotherstringtoinsert</Put>
    </Operation>

    Hi sjs1978,
    I am not familiar with dynamic code, and I made a research about it.
    >> I'm aware of dynamic code compilation, but that requires user to input pieces of code.
    Did you try to store the pieces of code into a file and call the code when the dynamic code compilation requires user to input code?
    In addition, I found links about using code provider to compile a source file, and the links below might be useful to you.
    # Dynamic Source Code Generation and Compilation
    https://msdn.microsoft.com/en-us/library/650ax5cx(v=vs.110).aspx
    # CSharpCodeProvider Class
    https://msdn.microsoft.com/en-us/library/microsoft.csharp.csharpcodeprovider(v=vs.110).aspx
    # Is it possible to dynamically compile and execute C# code fragments?
    http://stackoverflow.com/questions/826398/is-it-possible-to-dynamically-compile-and-execute-c-sharp-code-fragments
    Best Regards,
    Tony
    Help each other

  • Unique 4 digit alphanumeric code generation.

    Hi Everyone,
    Please look into this code and suggest me, how should I approach to change this streak.
    My DB version is
    BANNER                                                       
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
    PL/SQL Release 10.2.0.1.0 - Production                         
    CORE 10.2.0.1.0 Production                                       
    TNS for Linux: Version 10.2.0.1.0 - Production                 
    NLSRTL Version 10.2.0.1.0 - Production         
    Please look into this unique 4 digit alphanumeric code generation.
    9999999999999 is just for reference. This is the current behavior.
    If I will put round instead of trunc, will it work for long run, though it's working for few sequence numbers.
    Can I change the order of numbers and alphabets? Please suggest something.
    As per the requirement these alphabets are restricted for the code generation and they are (I, L O, B, Q)
    If you run this code this will give the value as 3688. But 3688 is already exists so it should return something else and it should be full proof in the long run.
    Declare
    VC_SEQ_NUMBER varchar2(4) := NULL;
    BEGIN
    -- First digit (highest) of the alphanumeric
    vc_seq_NUMBER := vc_seq_NUMBER ||
       CASE TO_CHAR (MOD (TRUNC (TRUNC (TRUNC (9999999999999 / 31, 0) / 31,0) /31,0),31))
                    WHEN '0' THEN '0'
                    WHEN '1' THEN '1'
                    WHEN '2' THEN '2'
                    WHEN '3' THEN '3'
                    WHEN '4' THEN '4'
                    WHEN '5' THEN '5'
                    WHEN '6' THEN '6'
                    WHEN '7' THEN '7'
                    WHEN '8' THEN '8'
                    WHEN '9' THEN '9'
                    WHEN '10' THEN 'A'
                    WHEN '11' THEN 'C'
                    WHEN '12' THEN 'D'
                    WHEN '13' THEN 'E'
                    WHEN '14' THEN 'F'
                    WHEN '15' THEN 'G'
                    WHEN '16' THEN 'H'
                    WHEN '17' THEN 'J'
                    WHEN '18' THEN 'K'
                    WHEN '19' THEN 'M'
                    WHEN '20' THEN 'N'
                    WHEN '21' THEN 'P'
                    WHEN '22' THEN 'R'
                    WHEN '23' THEN 'S'
                    WHEN '24' THEN 'T'
                    WHEN '25' THEN 'U'
                    WHEN '26' THEN 'V'
                    WHEN '27' THEN 'W'
                    WHEN '28' THEN 'X'
                    WHEN '29' THEN 'Y'
                    WHEN '30' THEN 'Z'
                 END;
    -- Second digit of the alphanumeric
    vc_seq_NUMBER := vc_seq_NUMBER ||
              CASE TO_CHAR (MOD (TRUNC (TRUNC (9999999999999 / 31, 0) / 31, 0), 31))
                 WHEN '0' THEN '0'
                 WHEN '1' THEN '1'
                 WHEN '2' THEN '2'
                 WHEN '3' THEN '3'
                 WHEN '4' THEN '4'
                 WHEN '5' THEN '5'
                 WHEN '6' THEN '6'
                 WHEN '7' THEN '7'
                 WHEN '8' THEN '8'
                 WHEN '9' THEN '9'
                 WHEN '10' THEN 'A'
                 WHEN '11' THEN 'C'
                 WHEN '12' THEN 'D'
                 WHEN '13' THEN 'E'
                 WHEN '14' THEN 'F'
                 WHEN '15' THEN 'G'
                 WHEN '16' THEN 'H'
                 WHEN '17' THEN 'J'
                 WHEN '18' THEN 'K'
                 WHEN '19' THEN 'M'
                 WHEN '20' THEN 'N'
                 WHEN '21' THEN 'P'
                 WHEN '22' THEN 'R'
                 WHEN '23' THEN 'S'
                 WHEN '24' THEN 'T'
                 WHEN '25' THEN 'U'
                 WHEN '26' THEN 'V'
                 WHEN '27' THEN 'W'
                 WHEN '28' THEN 'X'
                 WHEN '29' THEN 'Y'
                 WHEN '30' THEN 'Z'
              END;
    -- Third digit  of the alphanumeric
    vc_seq_NUMBER := vc_seq_NUMBER ||
              CASE TO_CHAR (MOD (TRUNC (9999999999999 / 31, 0), 31))
                 WHEN '0' THEN '0'
                 WHEN '1' THEN '1'
                 WHEN '2' THEN '2'
                 WHEN '3' THEN '3'
                 WHEN '4' THEN '4'
                 WHEN '5' THEN '5'
                 WHEN '6' THEN '6'
                 WHEN '7' THEN '7'
                 WHEN '8' THEN '8'
                 WHEN '9' THEN '9'
                 WHEN '10' THEN 'A'
                 WHEN '11' THEN 'C'
                 WHEN '12' THEN 'D'
                 WHEN '13' THEN 'E'
                 WHEN '14' THEN 'F'
                 WHEN '15' THEN 'G'
                 WHEN '16' THEN 'H'
                 WHEN '17' THEN 'J'
                 WHEN '18' THEN 'K'
                 WHEN '19' THEN 'M'
                 WHEN '20' THEN 'N'
                 WHEN '21' THEN 'P'
                 WHEN '22' THEN 'R'
                 WHEN '23' THEN 'S'
                 WHEN '24' THEN 'T'
                 WHEN '25' THEN 'U'
                 WHEN '26' THEN 'V'
                 WHEN '27' THEN 'W'
                 WHEN '28' THEN 'X'
                 WHEN '29' THEN 'Y'
                 WHEN '30' THEN 'Z'
              END;
    --Fourth digit OF the alphanumeric
    vc_seq_NUMBER  := vc_seq_NUMBER ||
              CASE TO_CHAR (TRUNC (MOD (9999999999999 , 31), 0) )
                 WHEN '0' THEN '0'
                 WHEN '1' THEN '1'
                 WHEN '2' THEN '2'
                 WHEN '3' THEN '3'
                 WHEN '4' THEN '4'
                 WHEN '5' THEN '5'
                 WHEN '6' THEN '6'
                 WHEN '7' THEN '7'
                 WHEN '8' THEN '8'
                 WHEN '9' THEN '9'
                 WHEN '10' THEN 'A'
                 WHEN '11' THEN 'C'
                 WHEN '12' THEN 'D'
                 WHEN '13' THEN 'E'
                 WHEN '14' THEN 'F'
                 WHEN '15' THEN 'G'
                 WHEN '16' THEN 'H'
                 WHEN '17' THEN 'J'
                 WHEN '18' THEN 'K'
                 WHEN '19' THEN 'M'
                 WHEN '20' THEN 'N'
                 WHEN '21' THEN 'P'
                 WHEN '22' THEN 'R'
                 WHEN '23' THEN 'S'
                 WHEN '24' THEN 'T'
                 WHEN '25' THEN 'U'
                 WHEN '26' THEN 'V'
                 WHEN '27' THEN 'W'
                 WHEN '28' THEN 'X'
                 WHEN '29' THEN 'Y'
                 WHEN '30' THEN 'Z'
              END;
      DBMS_OUTPUT.PUT_LINE('vc_seq_NUMBER : ' || vc_seq_NUMBER);
    END;
    Regards,
    BS2012.

    BluShadow has demonstrated a way to generate Four digit base 36 alphanumeric sequence. I am not sure how much can it scale in a multi user environment. You can take it as a reference to use Sequences in order to be useful in a Multi user env.
    Alphanumeric sequence number generator

  • HT5457 iTouch generation and iOs question

    I am trying to download some new apps. I am getting messages that they are incompatible with my iTouch. I am wondering if I have an old generation and operating system.  My settings say version 4.2.1.  Is that a second generation and can I upgrade my Os to 4.3?  Thanks!

    The iOS version itself doesn't say what model it is; the second generation iPod touch can't be updated past 4.2.1.
    (75488)

  • FPGA Code Generation fails with error codes 7 and -1

    Hi all,
    I have been having a weird issue with my LV FPGA compilation in the last couple of days, no matter what I try to compile LV fails to generate the FPGA code files and returns with errors 7 and -1 and complains that the file is not found. This happens no matter what I am trying to compile even a VI with just a while loop. I followed the discussion forum here without any luck, also followed the NI article here and that did not help either. The error codes always get generated at the start of the Generating Intermediate files step #7 (out of 7).
    Attached to this post is a screenshot of the error I am getting (error -1 just says internal error and to contact NI support), bellow is basically the error I get for error code 7
    An internal software error has occurred. Please contact National Instruments technical support at ni.com/support with the following information:
    Error 7 occurred at Read from Text File in nirviGetInstantiation_cRIO-IDSel_Timer.vi->nirviGetInstantiation_cRIO-IDSel_Timer.vi.ProxyCaller
    Possible reason(s):
    LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
    =========================
    NI-488: Nonexistent GPIB interface.
    C:\NIFPGA\compilation\cRioController_8-SlotFPGA_FPGA-TriggerTest_C06156E2\IDSel_Timer.vhd
    I tried to do some digging to see what could possibly be happening, and I noticed that LV is looking for the vhdl files in the wrong folder (see the line highlighted in red above), when generating the vhdl files, LV will place them inside the "source_files" folder under the compilation project, but for some reason it is trying to find them under the root folder not inside the source_files folder!!!
    Does anyone have any idea why LV would be looking for these files in the wrong subfolder? 
    Thank you,
    Aws
    Attachments:
    Code Generation Errors.png ‏35 KB

    Hi Aws_Khudhair,
    What version of LabVIEW are you using? And what version of the FPGA module? From what I found, it seems as though this is primarily an issue with LabVIEW 8.6 and 8.6.1.
    http://digital.ni.com/public.nsf/allkb/A711119FE89E39E78625754E00075E92
    This forum also discusses a similar issue:
     http://forums.ni.com/t5/Real-Time-Measurement-and/FPGA-compile-errors-after-generating-intemediate-f...
    It may also be worth repairing/reinstalling the FPGA Module and the Xilinx compile tools.
    Catherine B.
    Applications Engineer
    National Instruments

  • Character Codes 10 and 13 in Tj operator

    Hello,
    I have a question about usage of character codes 10 and 13 in a Tj operator. I Have created a small test document with an type1 font (not embedded) using WinAnsiEncoding with Differences mapping 10 to X and 13 to Y. In a Tj command using quoted charcodes (A\rA\nA\r\n)Tj is displayed in Acrobat Reader as AYAXAYX, while the binary encoded (#$0dA#$0aA#$0d#$0a)Tj is displayed as AYAXAX. The #$0d#$0a is used as one character code in this case. My Question is for the case of an embedded font. A document using an embedded font (symbolic flag is set in font descriptor) using binary #$0d#$0a charcodes in a Tj, these charcodes are ignored. Question: would this also be true for the quoted variant \r\n, and is this behaiviour the same for symbolic and non symbolic fonts?
    with best regards
    Michael Hinrichs

    Hello,
    in my previous question was a mistake, the document with the embedded font did contain a binary #$0d#$0a quoted with a backslash \#$0d#$0a and this character is ignored. So decoding is independent of font type. So I think there are the following cases:
    if #$0d, #$0a or #$0d#0a used as binary codes they are used as one single charcode #$0a which then is used as charcode for the encoding array.
    if the quoted variants are used then \n is used as #$0a, \r as #$0d and \r\n as #$0d#$0a.
    if binary #$0d, #$0a or #$0d#0a are quoted with a backslash they are ignored.
    Is this correct?
    with best regards
    Michael Hinrichs

  • Installation operation failed.Unknown error (code:...

    I am trying to intall the latest version of Nokia Ovi Suite 2.2.1.23 And keep getting Installation operation failed.Unknown error (code: 1612).
    Have tried:-
    Nokia PC Suite Cleaner
    Uninstall Ovi Suite, PC Connectivity solution and Nokia Connectivity cable drivers from Add/remove program Delete the files from...
    C:\Documents and Settings\User\Application Data\Nokia\Ovi Suite C:\Documents and Settings\user\Local Settings\Application Data\Nokia C:\Documents and Settings\All Users\Application Data\OviInstallerCache Used MSI clean up utility Restart PC.
    Any solutions please...
    using :-
    Nokia 5800 XpressMusic 
    V50.0.005
    Windows 7 (32 bit)

    These errors is coming up, becasue the windows installer is corrupted. Please reinstall windows installer from the link provided below.
    http://support.microsoft.com/kb/2438651/en-us
    This should defnitely work..
    All the best and good luck.
    Cheers
    Show appreciation by clicking the kudos star :-), or gesture by typing thanks

  • Please help block my ipod touch second generation and forget the code, try putting the code so many times that now says connect to itunes, I connect but will not let me do anything that tells me this should unlock with key and I should do for Please help!

    please helpme i block my ipod touch second generation and forget the code, try putting the code so many times that now says connect to itunes, I connect but will not let me do anything that tells me this  should unlock with key and I should do for Please help!. thanks

    Place the iPOd in recovery mode and then restore. For recovery mode:
    iPhone and iPod touch: Unable to update or restore

  • Initial Stock Upload T code MB1C and Movement Type 561through LSMW - Error

    Hi,
    Trying to Upload the Initial Stock, Transaction Code MB1C and Movement Type 561 through LSMW.
    While recording the fileds, system giving a message of Code Block.
    Please let us know about Code Block while uploading the Initial Stock.
    Thanks
    Siddu.

    Check this thread
    [Re: Coding Block in LSMW recording via MB1C|Coding Block in LSMW recording via MB1C;
    thanks
    G. Lakshmipathi

  • I have a ipod nano 1st and 2nd generation and am trying to put music on it but every time windows says one of the usb devices attached to this computer has malufunctioned and windows does not recognize it code 43 can someone help me please

    i have a ipod nano 1st and 2nd generation and am trying to put music on it but every time windows says one of the usb devices attached to this computer has malufunctioned and windows does not recognize it code 43 can someone help me please

    Try putting it into "Disk Mode" http://docs.info.apple.com/article.html?artnum=93651
    Then with it in this mode connect it to the PC and try to run the latest iPod updater to do a restore and update software if you have the option. the latest iPod updater is 2006-03-23 and can be downloaded here http://www.apple.com/ipod/download/

  • When I type a link to a page in my root directory in code view and I click on the link in live view it does not go to that page.  But if I preview in a browser it works fine.

    When I type a link to a page in my root directory in code view and I click on the link in live view it does nothing.  When I then go to preview in a browser it works fine.  Can anybody help?

    I am not sure however I suspect live view is for viewing the page you are working on. You would have to open the other page to see it in live view. The browser on the other hand is doing what it is designed to do. I jump back and forth all the time from live view to the browsers I have installed.

  • UML associations and code generation don't work

    Hello,
    I've maid a Class Diagramm in JSE 8, class generation works great, but I have a problem with associations : they are not generated (ie no attributes in class files). I've tried to give association name and also named both ends, but nothing better.
    Thanks for your help.
    PS : navigable association seems to work great.

    Thanks for your valuable feedback and sorry for the inconvenience.
    I already submitted a request for enhancement (RFE) for automatic code generation for Association links. As for the documentation issue, I'm not able to replicate your problem. I'm seeing all comments in the source that I entered in the documentation panel. Could you please kindly provide me detail steps to reproduce the case that you don't see documentation generated in the code and I'll try to help you. Thanks!
    --Peter                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • RFC connection error (VPN-access)

    Hi! I have the following error for the RFC connection: The RFC connection is setup as follows. /H/10.101.7.1/S/3299/H/10.151.6.194 10.101.7.1 = IP of our SAP Router 10.151.6.194 = IP of customer system The RFC connection is established: SAP Router (i

  • Importing constantly fails after 10.1 update

    Hello All, I am experiencing a major problem after upgrading to 10.1 every time I try to import media "Canon VIXIA HF20" a supported camera it fails and tells me it is referencing the media on the camera. If I kick of the import again it sometimes wo

  • Updating a multichoice column of an item

    Hi, I have a multi-choice column in a sharepoint list. The choices being: Choice 1,Choice 2,Choice 3,Choice 4. I tried creating a visual webpart, where in i'm trying to update the column programmatically, I have used a checkbox list to select multipl

  • Elements 10 in windows 8

    I have the 5 disk set of install CD's for Photoshop Elements 10. Never used. My PC has Windows 8. Can this be installed?

  • After installing software - desktop items

    I have downloaded and installed both Firefox and Open Office, and I am confused. There are these items left on the desktop for each software package. It acts like it is installed on the desktop. I'm I to expect everything I install to clutter my desk