AJAX code compilation error in jdk1.4.2_15 in JDeveloper 10.1.3.3.0

I am using AJAX for search functionality in our appication which involves ADF JSF,jspx pages in JDeveloper 10.1.3.3.0. When I compile the following code it compiles fine without error in jdk1.5 but gives compilation error in jdk1.4.2_15.
public List<String> autoCompleteFindUniqueNames(String searchString){
UniqueEmployeeNamesImpl hits = this.getUniqueEmployeeNames1();
hits.setNamedWhereClauseParam("searchPrefix",searchString.toUpperCase()+ "%");
hits.setRangeSize(5);
hits.executeQuery();
ArrayList resultset = new ArrayList((int)hits.getEstimatedRowCount());
for (Row row:hits.getAllRowsInRange()){
resultset.add((String)row.getAttribute("LastName"));
return resultset;
Compilation error giving on the line " for (Row row:hits.getAllRowsInRange()){ "
and it says " Error ; Expected "
Can somebody helpme out what should I change on this line in order to compile this ?
Thanks in advance,
Ram

Frank,
Thanks for your response. I removed <String> after LIST and it compiles. But the problem
is with the following iterator code which is giving error while compiling in jdk1.4.2_15. Trying to find out the equivalent iterator code of the following which is in jdk1.5
Row row:hits.getAllRowsInRange()
Thanks,
Ram

Similar Messages

  • Flex 2 with AS 3.0: Transitions code compilation error

    I just bought "The Essential Guide to Flex 2 with
    ActionScript 3.0. (Friends of Ed 2007) In order to work through the
    examples, I downloaded Flex 3.0 beta. Its been going well ... until
    starting the exercises on transitions.
    I've narrowed the problem down to the "relativeTo" attribute
    of the AddChild class. This snipped builds and runs fine:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:states>
    <mx:State name="bookDetails" basedOn="">
    <mx:AddChild creationPolicy="all" position="lastChild">
    <mx:FormItem id="isbn" label="ISBN: 1590595432" />
    </mx:AddChild>
    </mx:State>
    </mx:states>
    <mx:Panel title="Book" id="book"
    horizontalScrollPolicy="off" verticalScrollPolicy="off">
    <mx:Form id="bookForm">
    <mx:FormItem label="Foundation XML Flash"
    fontWeight="bold" />
    <mx:FormItem label="Sas Jacobs" fontStyle="italic" />
    </mx:Form>
    <mx:ControlBar>
    <mx:LinkButton label="Book Details" id="bookLink" />
    <mx:Spacer width="100%" id="spacer1" />
    <mx:Label text="Book Title" id="title" />
    </mx:ControlBar>
    </mx:Panel>
    </mx:Application>
    However, as soon as I add relativeTo, e.g:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:states>
    <mx:State name="bookDetails" basedOn="">
    <mx:AddChild relativeTo="{bookForm}" creationPolicy="all"
    position="lastChild">
    <mx:FormItem id="isbn" label="ISBN: 1590595432" />
    </mx:AddChild>
    </mx:State>
    </mx:states>
    <mx:Panel title="Book" id="book"
    horizontalScrollPolicy="off" verticalScrollPolicy="off">
    <mx:Form id="bookForm">
    <mx:FormItem label="Foundation XML Flash"
    fontWeight="bold" />
    <mx:FormItem label="Sas Jacobs" fontStyle="italic" />
    </mx:Form>
    <mx:ControlBar>
    <mx:LinkButton label="Book Details" id="bookLink" />
    <mx:Spacer width="100%" id="spacer1" />
    <mx:Label text="Book Title" id="title" />
    </mx:ControlBar>
    </mx:Panel>
    </mx:Application>
    Flex Builder 2 gives me the following error:
    Type was not found or was not a compile-time constant.
    Thinking this might have been a bug with Flex 3.0, I
    uninstalled then installed the most recent release of version 2. I
    still get the same problem. Any ideas?

    Another possibility is that you used some kind of transition for the object but didn't name it in all of the keyframes.  When you transition an object in a timeline tween and don't name it in the first keyframe, the latter keyframes adopt that lack of a name event though you might assign a name in them.
    What you should do is go into your Publish Settings and in the Flash section select the option to Permit Debugging.  This will add a line number following the frame number in the error message.  Once you know which line is causing the problem, try tracing the object that is in that line.  You will most likely find out it is null, and it will be because of one of the reasons I've mentioned (I don't think I forgot any others, but it's possible).

  • Compilation errors on CommandLine works ok in JDeveloper!

    Hi,
    I am trying to run the application on a commandline. I am able to run it fine in JDeveloper as the application is created in JDeveloper. But I need to run it on a commandline. I need some help how to make it work. Here is the scenario:
    I have two packages i.e.
    com.test1.test2.all
    com.test1.test2.util
    I have four classes in each of the package.
    My main class is in package com.test1.test2.all
    When I try to compile the program, gets errors that say can't find the classes from package
    com.test1.test2.util. As I have added import com.test1.test2.util.*; in classes of com.test1.test2.all. So can anyone help me what is the right way to do. Thanks for the help.

    please make life easy for everyone and post what you
    are entering at the command line.
    your: javac -classpath etc......
    Cant help you without that.
    The big problem with IDE's is you end up automating
    your perception of the build process, so you don't
    actually know whats going on within the compiler.
    If you want my advice stay away from JBuilder (or any
    IDE) until you understand the fundamentals. It may
    seem easier now, but you aren't doing yourself any
    favours.
    Danny
    I'm a jEdit + javac man myself.

  • Trying to register with ePrint and getting error code.Ajax submit failed: error = 403, Forbidden.

    Trying to register with ePrint and getting error code.Ajax submit failed: error = 403, Forbidden. I need help??

    To bypass this error attempt either a restart of your computer, or use an alernate broser such as firefox or chrome. If you already have another browser the latter may be the easier fix.
    Jon-W
    I work on behalf of HP
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    Click the KUDOS STAR on the left to say “Thanks” for helping!

  • Compiler error in 9.0.3 when deploying using jdk1.4.1rc

    Hi, I'm trying to deploy an application into iAS9.0.3. The server is started with jdk1.4.1rc. However, I'm getting a compiler error (see below). When compiling with jdk1.3.1 everything is working fine, but I need to use the new API's in 1.4. Can anyone help me out here? Will 9.0.3 be certified for jdk 1.4 when the production version is released?
    Thanks
    /Johannes
    Auto-deploying OPS-EJB (No previous deployment found)... OPS_StatelessSessionBeanWrapper0.java:11: cannot access java.lang.Object
    bad class file: D:\j2sdk1.4.1\jre\lib\rt.jar(java/lang/Object.class)
    class file has wrong version 48.0, should be 47.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    public class OPS_StatelessSessionBeanWrapper0 extends com.evermind.server.ejb.RemoteStatelessSessionEJBObject implements com.novamedia.ops.ejb.OPS
    ^
    1 error
    Error compiling D:\eclipse-projects\ops-application\OPS-EJB: Syntax error in source

    OC4J 9.0.3 production will be certified with JDK 1.4.
    You can try the work arounds discussed in http://forums.oracle.com/forums/message.jsp?id=767439 to get it working with JDK 1.4
    regards
    Debu

  • Compilation error for code in Solaris 8 which was compiled in SUNOS 4.1.3

    Hi,
    I compiled the C source files in Solaris 8 which was earlier compiled in SUNOS 4.1.3(Solaris 1.1).
    On compiling I get following discrepencies: 1. Executable size are considerably different.
    2. I am using some X windoes system library, it gives compilation error like "prototype mismatch 2 arguments passed when 3 required". "improper member use: fd " fd is the member od display structure.
    3. "identifier redeclared: shmat current : function() returning pointer to char
    previous: function(int, pointer to const void, int) returning pointer to void : "/usr/include/sys/shm.h""
    4. Also I am getting "cg error :..: Disk quota exceeded " while compiling one of the modules.
    Please let me know solution of all/any of these.
    Thanks in advance!!
    Edited by: SmithaIVR on Dec 3, 2008 2:20 AM

    Sounds like ancient code that no longer matches current API's.
    Theres not much option except to rewrite those bits.

  • Compilation error, When moving code from 32-bit to 64-bit

    Hello,
    This Code compile on 32 bit system, but Getting Compilation error fro 64 bit,
    :/export/home/pshirode/rel_v95/cc_lib > make
    Making dependencies...
    cc -g -D__EXTENSIONS__ -D_SVID_GETTOD -I../h -I/app/oracle/product/9.2_32/precomp/public -I. `getconf LFS_CFLAGS | head -1` -D UT_TRACE_FUNCTION -I. -m64 -xarch=sparcvis -library=iostream,no%Cstd -H -w -E 2>&1 >/dev/null Bitmap.cc BitmapData.cc BitmapInputTxnStream.cc BitmapOutputStream.cc UnexpectedException.cc FieldData.cc FieldDataCollection.cc FieldDefinition.cc FieldDefinitionCollection.cc OutputFixedStream.cc ParsingEngine.cc Schema.cc Statistics.cc String.cc TraceStream.cc TxnStream.cc c_api.cc SocketImpl.cc Socket.cc ServerSocket.cc UnixSocket.cc Thread.cc test.cc | grep -v License | grep -v command | ../dvl.bin/mkdep >.depends
    Dependencies updated...
    CC -g -D__EXTENSIONS__ -D_SVID_GETTOD -I../h -I/app/oracle/product/9.2_32/precomp/public -I. `getconf LFS_CFLAGS | head -1` -D UT_TRACE_FUNCTION -I. -m64 -xarch=sparcvis -library=iostream,no%Cstd -c Bitmap.cc
    "RuntimeException.h", line 131: Error: Function RuntimeException::~RuntimeException() can throw only the exceptions thrown by the function std::exception::~exception() it overrides.
    "RuntimeException.h", line 97: Error: Could not find std::exception::exception(const char*) to initialize base class.
    "RuntimeException.h", line 121: Error: xmsg is not a member of std::exception.
    "Bitmap.cc", line 62: Error: Cannot return int(Bitmap::*)()const from a function that should return int.
    4 Error(s) detected.
    make: *** [Bitmap.o] Error 4
    CFLAGS in Makefile
    # The system include directory must be specifically included first because some of the
    # ghost includes use system include file names (e.g., generic.h)
    # Modified these section to compile on TVLAPP1HAG
    CFLAGS += -D $(STDOUT_TRACE)
    #CFLAGS += -g -D$(MAINLINE) $(OUR_COLLECTION)
    #CFLAGS += -compat -Qoption ccfe -abirel=4.1
    #CFLAGS += -Qoption ccfe -abirel=4.1
    CFLAGS += -I. -m64 -xarch=sparcvis -library=iostream,no%Cstd
    #CFLAGS += -I. -mt
    # Add the flag for multi-threaded apps
    LDFLAGS += -lsocket -lnsl -lthread
    # declare an empty macro for compiler directive flags, to be command-line
    # driven (ie, for -D directives)
    CCFLAGS=
    CCFLAGS += -DRW_NO_CPP_RECURSION
    # The following manipulation of CC and overriding the .cc.o suffix
    # dependency is removed here to use what is supplied by default int
    # the h/common.mak file.
    #XX = CC
    #CC = CC
    #COMPILE = $(CC) -o $*.o $(CFLAGS) $(CCFLAGS) -c $*.cc
    #.cc.o:
    # $(COMPILE)
    #.DEFAULT:
    # $(COMPILE)
    #all: $(TEST_OBJS) $(PGM_EXEC)
    all: $(TEST_OBJS)
    #install:
    # $(INSTALL) $(PGM_EXEC)
    $(TEMPLATE_CONTAINER).o: $(TEMPLATE_CONTAINER).cc
    $(CC) -o $*.o $(CFLAGS) -pta -c $*.cc
    # Uncomment the following lines, and uncomment the appropriate MAINLINE
    # setting to create your desired test program for a cc_lib routine. Normally
    # we simply want to create the cc_lib .o files so this is commented out.
    #test exec
    $(PGM_EXEC): $(INCLUDES) $(TEST_OBJS)
    @echo Linking test...
    $(CC) -g -o $(PGM_EXEC) $(TEST_OBJS) $(LDFLAGS) $(ROOT)/util/libutil.a
    checksum:
    /export/home/pshirode/rel_v95/cc_lib > CC -V
    CC: Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25
    Please help ASAP

    This looks like exactly the same question you asked in the thread
    [http://forums.sun.com/thread.jspa?threadID=5335510]
    Please do not ask the same question in more than one thread.

  • Compilation error, When moving from 32-bit to 64-bit code

    Hello,
    I m getting Compilation error, This program already compiled on 32 bit, but getting compilation error on 64 bit.
    CC -V
    CC: Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25
    make
    Making dependencies...
    cc -g -D__EXTENSIONS__ -D_SVID_GETTOD -I../h -I/app/oracle/product/9.2_32/precomp/public -I. -xcg92 `getconf LFS_CFLAGS | head -1` -D UT_TRACE_FUNCTION -Dbool=int -g -D -I. -m64 -xarch=sparcvis -H -w -E 2>&1 >/dev/null Bitmap.cc BitmapData.cc BitmapInputTxnStream.cc BitmapOutputStream.cc UnexpectedException.cc FieldData.cc FieldDataCollection.cc FieldDefinition.cc FieldDefinitionCollection.cc OutputFixedStream.cc ParsingEngine.cc Schema.cc Statistics.cc String.cc TraceStream.cc TxnStream.cc c_api.cc SocketImpl.cc Socket.cc ServerSocket.cc UnixSocket.cc Thread.cc test.cc | grep -v License | grep -v command | ../dvl.bin/mkdep >.depends
    Dependencies updated...
    CC -g -D__EXTENSIONS__ -D_SVID_GETTOD -I../h -I/app/oracle/product/9.2_32/precomp/public -I. -xcg92 `getconf LFS_CFLAGS | head -1` -D UT_TRACE_FUNCTION -Dbool=int -g -D -I. -m64 -xarch=sparcvis -c Bitmap.cc
    "/opt/SUNWspro/prod/include/CC/Cstd/./limits", line 1046: Error: Multiple declaration for std::numeric_limits<int>.
    "/opt/SUNWspro/prod/include/CC/Cstd/./ostream", line 192: Error: Multiple declaration for std::ostream::operator<<(int).
    "/opt/SUNWspro/prod/include/CC/Cstd/./ostream", line 351: Where: While specializing "std::ostream ".
    "/opt/SUNWspro/prod/include/CC/Cstd/./ostream", line 351: Where: Specialized in non-template code.
    "/opt/SUNWspro/prod/include/CC/Cstd/./ostream", line 192: Error: Multiple declaration for std::wostream::operator<<(int).
    "/opt/SUNWspro/prod/include/CC/Cstd/./ostream", line 354: Where: While specializing "std::wostream ".
    "/opt/SUNWspro/prod/include/CC/Cstd/./ostream", line 354: Where: Specialized in non-template code.
    "/opt/SUNWspro/prod/include/CC/Cstd/./istream", line 104: Error: Multiple declaration for std::istream::operator>>(int&).
    "/opt/SUNWspro/prod/include/CC/Cstd/./istream", line 373: Where: While specializing "std::istream ".
    "/opt/SUNWspro/prod/include/CC/Cstd/./istream", line 373: Where: Specialized in non-template code.
    "/opt/SUNWspro/prod/include/CC/rw7/rw/defs.h", line 316: Error: A typedef name cannot be used in an elaborated type specifier..
    "/opt/SUNWspro/prod/include/CC/rw7/rw/defs.h", line 317: Error: A typedef name cannot be used in an elaborated type specifier..
    "/opt/SUNWspro/prod/include/CC/rw7/rw/defs.h", line 318: Error: A typedef name cannot be used in an elaborated type specifier..
    "RuntimeException.h", line 131: Error: Function RuntimeException::~RuntimeException() can throw only the exceptions thrown by the function std::exception::~exception() it overrides.
    "RuntimeException.h", line 97: Error: Could not find std::exception::exception(const char*) to initialize base class.
    "RuntimeException.h", line 121: Error: xmsg is not a member of std::exception.
    "Bitmap.cc", line 62: Error: Cannot return int(Bitmap::*)()const from a function that should return int.
    11 Error(s) detected.
    make: *** [Bitmap.o] Error 11
    In Makefile CFLAGS setting are as follows,
    ### Setup common symbols for .depends
    SRC = $(TEST_SRC)
    INCLUDES = $(TEST_INC)
    # clean objects, executeable, generated .pc -> .c
    CLEAN = -r *.o $(PGM_EXEC) Templates.DB/* SunWS_cache/*
    include $(ROOT)/h/common.mak
    # The system include directory must be specifically included first because some of the
    # ghost includes use system include file names (e.g., generic.h)
    # Modified these section to compile on TVLAPP1HAG
    CFLAGS += -D $(STDOUT_TRACE)
    CFLAGS += -Dbool=int -g -D$(MAINLINE) $(OUR_COLLECTION)
    #CFLAGS += -compat -Qoption ccfe -abirel=4.1
    #CFLAGS += -Qoption ccfe -abirel=4.1
    CFLAGS += -I. -m64 -xarch=sparcvis
    #CFLAGS += -I. -mt
    # Add the flag for multi-threaded apps
    LDFLAGS += -lsocket -lnsl -lthread
    # declare an empty macro for compiler directive flags, to be command-line
    # driven (ie, for -D directives)
    CCFLAGS=
    CCFLAGS += -DRW_NO_CPP_RECURSION
    # The following manipulation of CC and overriding the .cc.o suffix
    # dependency is removed here to use what is supplied by default int
    # the h/common.mak file.
    #XX = CC
    #CC = CC
    #COMPILE = $(CC) -o $*.o $(CFLAGS) $(CCFLAGS) -c $*.cc
    #.cc.o:
    # $(COMPILE)
    Please Help

    Hello,
    Still I am not able to solve the error. please help me.. Please see the below code...
    Error:
    s3dvap983:/export/home/pshirode/rel_v95/cc_lib > make
    Making dependencies...
    cc -g -D__EXTENSIONS__ -D_SVID_GETTOD -I../h -I/app/oracle/product/9.2_32/precomp/public -I. `getconf LFS_CFLAGS | head -1` -D UT_TRACE_FUNCTION -g -D -I. -m64 -xarch=sparcvis -H -w -E 2>&1 >/dev/null Bitmap.cc BitmapData.cc BitmapInputTxnStream.cc BitmapOutputStream.cc UnexpectedException.cc FieldData.cc FieldDataCollection.cc FieldDefinition.cc FieldDefinitionCollection.cc OutputFixedStream.cc ParsingEngine.cc Schema.cc Statistics.cc String.cc TraceStream.cc TxnStream.cc c_api.cc SocketImpl.cc Socket.cc ServerSocket.cc UnixSocket.cc Thread.cc test.cc | grep -v License | grep -v command | ../dvl.bin/mkdep >.depends
    Dependencies updated...
    CC -g -D__EXTENSIONS__ -D_SVID_GETTOD -I../h -I/app/oracle/product/9.2_32/precomp/public -I. `getconf LFS_CFLAGS | head -1` -D UT_TRACE_FUNCTION -g -D -I. -m64 -xarch=sparcvis -c Bitmap.cc
    "/opt/SUNWspro/prod/include/CC/rw7/rw/defs.h", line 316: Error: A typedef name cannot be used in an elaborated type specifier..
    "/opt/SUNWspro/prod/include/CC/rw7/rw/defs.h", line 317: Error: A typedef name cannot be used in an elaborated type specifier..
    "/opt/SUNWspro/prod/include/CC/rw7/rw/defs.h", line 318: Error: A typedef name cannot be used in an elaborated type specifier..
    "RuntimeException.h", line 137: Error: Function RuntimeException::~RuntimeException() can throw only the exceptions thrown by the function std::exception::~exception() it overrides.
    "RuntimeException.h", line 103: Error: Could not find std::exception::exception(const char*) to initialize base class.
    "RuntimeException.h", line 127: Error: xmsg is not a member of std::exception.
    "Bitmap.cc", line 62: Error: Cannot return int(Bitmap::*)()const from a function that should return int.
    7 Error(s) detected.
    make: *** [Bitmap.o] Error 7
    96 class RuntimeException : public xmsg {
    97 public:
    98
    99 /**
    100 * Create an exception with a simple error message
    101 * @param message The error message
    102 */
    103 RuntimeException(const char* msg) : xmsg(msg) {}
    104
    105 /**
    106 * Create an exception with an error code, fileinfo, and message. This will
    107 * produce an error message that looks like:
    108 * in File:%s at line#: %d \n %error_message%
    109 *
    110 * @param error An integer error code. The catch block can use the error()
    111 * method to examine this value
    112 * @param fileinfo The location in a source file where the error occured
    113 * @param msg The error message
    114 * @see RuntimeException.error
    115 */
    116 RuntimeException(int p_error, const Fileinfo& f, const char* msg)
    117 {
    118 error = perror;
    119 strstream buffer;
    120 buffer << "in File:"
    121 << f.filename()
    122 << " at line#:"
    123 << f.lineno() << endl << msg
    124 << ends; // required for this strstream library, other versions
    125 // like Borland the stream is always null terminated
    126
    127 xmsg::xmsg(buffer.str());
    128 delete buffer.str(); // added by db 03-Jul-98 accoprding to the
    129 // ssbuf(3C++) man page - other implementations may
    130 // use malloc/free but Solaris uses new/delete
    131 }
    132
    133 /** @return the error code */
    134 int error() {return _error;}
    135
    136 /** Clean up instance */
    137 virtual ~RuntimeException() {}
    138
    139
    140 protected:
    141
    142 /**
    143 * Default constructor - not very useful to throw an exception without at
    144 * least an error message, so this is reserved for only subclasses.
    145 */
    146 RuntimeException() : xmsg() {}
    147
    148 private:
    149
    150 /** the error code associated with the error */
    151 int _error;
    152 };
    153

  • Compile error in hidden module: Essbaselogon. This error commonly occurs when code is incompatible with the version, Platform, or architecture of this application

    Hi,
    I am getting below wrror while accesing the Ecel:
    compile error in hidden module: Essbaselogon. This error commonly occurs when code is incompatible with the version, Platform, or architecture of this application

    IIRC essbase is a financial reporting add-in (Hyperion, or something similar?).
    This message is telling you that the add-in is not compatible with your current software. You should check with the vendor who provided the essbase add-in. Tell them what version of windows and Excel (and maybe Hyperion) you are using, and get a compatible
    version from them...
    If you do not need or run essbase/hyperion/etc then you should just remove/disable the add-in. If it doesn't show in your add-in menu, then you may have to do a repair installation or re-install Excel

  • [svn:osmf:] 13314: Fix compile error in logging code.

    Revision: 13314
    Revision: 13314
    Author:   [email protected]
    Date:     2010-01-06 13:46:17 -0800 (Wed, 06 Jan 2010)
    Log Message:
    Fix compile error in logging code.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/osmf/net/NetNegotiator.as

    Hi,
    Can you please make sure you have Flex 3.2 or higher SDK and then target to Flash Player 10. I have this working on my system and yes, i got the same error when my SDK was below 3.2 and not targeted to Flash Player 10.
    Hope this helps.

  • Error code 1054: compiling error on examples with the 5640R

    Hi,
    I'm trying to use the 5640R to analyze the I and Q outputs of a set of downconversion mixers. I found that I might be able to slightly modify some of the examples that came with driver 1.3. However, when I tried to compile the FPGA part of the "ni5640R Analog Input and Output" example (before I made any modifications), I get a Code Generation Error 1054 (Cut and pasted below)
     Error 1054 occurred at nirviUIDToObject.vi
    Possible reason(s):
    Error getting object reference for UID.
    All text parsed:
    <CodeGenErr>
    <ErrorCode>1</ErrorCode>
    <DynamicText>Internal software error occurred getting module generator VI Paths (2)</DynamicText>
    </CodeGenErr>
    <CodeGenErr>
    <ErrorCode>7</ErrorCode>
    <DynamicText>Error calling module generator VI: NULL</DynamicText>
    </CodeGenErr>
    <CodeGenErr>
    <ErrorCode>1</ErrorCode>
    <DynamicText>Internal software error occurred getting module generator VI Paths (2)</DynamicText>
    </CodeGenErr>
    <CodeGenErr>
    <ErrorCode>7</ErrorCode>
    <DynamicText>Error calling module generator VI: NULL</DynamicText>
    </CodeGenErr>
    <CodeGenErr>
    <ErrorCode>1</ErrorCode>
    <DynamicText>Internal software error occurred getting module generator VI Paths (2)</DynamicText>
    </CodeGenErr>
    The code goes on for pages and pages.  When I use the pre-compiled "NI5640R Analog Input and Output (FPGA)" module that came with the driver, I seem to have no problems. Could anybody please shed some light on the issue?
    Thank.
    Richard Tseng

    Hi, I just wanted to report that I seem to have solved the problem. The issue was that while Labview was recently updated to version 8.6.1, the Labview FPGA module stayed at version 8.6. I found information leading to the solution through these two posts:
    http://forums.ni.com/ni/board/message?board.id=170&thread.id=423223
    http://digital.ni.com/public.nsf/allkb/A711119FE89E39E78625754E00075E92
    Richard Tseng

  • Compiler Error in achacks.as assmebly code

    Simply declaring a variable to a specific compiled c-library class yeilds the following error:
    [Compiler] Error #1084: Syntax error: expecting identifier before modulus.
       1852.achacks.as, Ln 33031, Col 16:
            xor     %esi, %esi
    The swc produced is unusable.
    Does anyone know anything more about this error?
    Thanks,
    Bo

    Your library uses x86 assembly.  Probably the assembly is only included when you declare that variable because it is indirectly referenced by the constructor of the class you are trying to declare.  When you don't reference the class, the code for it is not linked.
    Alchemy, despite telling code that it is i386, cannot link or run x86 assembly.  You should find the assembly in your library and somehow remove or disable it.  XIXs came up with a nice set of CFLAGS to identify all assembly in unfamiliar code.

  • J2EE deploytool compile error in generated code.

    I write and compile all the code for EJB.
    Created .EAR and .WAR files needed for deploy. But when the deploy application tries to generated and compile stub code there is a compilation problem.
    Anyone knows how can I solve this? or this is a problem of the deploy app, Is there another one?
    I'm using J2EE SDK 1.3 beta version.
    THANKS...

    It's not an Exception. Are compile errors of the generated code.
    When you make "Deploy..." from "Tools" menu item of the "Application Deployment Tool", it make some task including source generation and its compilation, so, this compilation have errors.

  • Always get same compilation error.. Does'nt matter whatever i write in code

    Hi All,
    I am getting strange error while compiling my pl/sql code.. it always gives me error
    SQL> SHOW ERR
    ERROR:
    ORA-00942: table or view does not exist
    ..I always get this error. In sample piece of code , i dont have any table also
    SQL> SELECT * FROM V$VERSION ;
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
    PL/SQL Release 9.2.0.5.0 - Production
    CORE 9.2.0.6.0 Production
    TNS for Solaris: Version 9.2.0.5.0 - Production
    NLSRTL Version 9.2.0.5.0 - Production
    SQL> Create or replace FUNCTION check_cid IS
    BEGIN
    dbms_output.put_line("CHAL");
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line("GHODA");
    END check_cid;
    2 3 4 5 6 7 8
    Warning: Function created with compilation errors.
    SQL> SQL> show err
    ERROR:
    ORA-00942: table or view does not exist
    SQL> Create or replace FUNCTION check_cid RETURN NUMBER IS
    stat_res NUMBER;
    BEGIN
    stat_res := 1;
    dbms_output.put_line("CHAL");
    RETURN stat_res;
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line("GHODA");
    END check_cid;
    / 2 3 4 5 6 7 8 9 10 11
    Warning: Function created with compilation errors.
    SQL> SHOW ERR
    ERROR:
    ORA-00942: table or view does not exist
    SQL> Create or replace FUNCTION check_cid() RETURN NUMBER IS
    stat_res NUMBER;
    BEGIN
    stat_res := 1;
    dbms_output.put_line("CHAL");
    RETURN stat_res;
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line("GHODA");
    END check_cid;
    / 2 3 4 5 6 7 8 9 10 11
    Warning: Function created with compilation errors.
    SQL> SHOW ERR
    ERROR:
    ORA-00942: table or view does not exist

    The error message is correct.
    You are using double quotes instead of single quotes.
    Identifiers (table names, column names etc) with special characters should be enclosed by double quotes, so PL/SQL thinks you are using an identifier and can't find it.
    Please replace the double quotes by single quotes.
    Please also make sure you always try to iron out simple compilation errors yourself, so you become independent, and don't need to ask for the assistance of volunteers.
    Optionally, increase your intake of coffee, and/or buy (better) glasses ;)
    Sybrand Bakker
    Senior Oracle DBA

  • Compiler error: Code could not be generated

    When I tried to run the example.VI (attached) there was an error:
    Compiler error. Report this problem to NI Tech support
    copy cvt, csrc = 0X40
    bad mode in _GenCopyCOnvertNumCode xc = 0X40
    Could anyone help me in this regard.,
    Thanks in advance
    Rajesh
    Attachments:
    example_test.vi ‏44 KB

    Hi,
    If I understand correctly, all you want to do is to convert a single to a
    binary string.
    The attached VI does this. It can be turned into a subvi very easily.
    Regards,
    Wiebe.
    "Intern" wrote in message
    news:[email protected]..
    > Hi Wiebe,
    > I use LV6 and fortunately the VI runs after I changed array
    > initialisation of the last 2 inputs. But there prevails a new problem
    > in my example VI.
    >
    > There are 2 more inputs which are in single precision mode. Say,
    > N and M are the 2 inputs.
    >
    > eg.,
    > N = 40
    > M = 5
    >
    > I want the numerical conversion of those inputs as 7 bit binary value.
    > N = 40 ---> 0101000
    > M = 5 ---> 0000101
    >
    > I could convert the I/P into U8 or I8 type in wh
    ich there prevails
    > another zero at the MSB that is not interesting for my application. I
    > have also attached the updated VI along with this email. You could see
    > the inputs which are in single precision mode and the required output
    > is a 24 bit word.
    >
    > N --> 7 bit
    > M --> 7 bit
    > V --> 1 bit
    > X --> 2 bit
    > R --> 2 bit
    > n so on..
    >
    > Help me in this regard.
    >
    > Thanks in advance.
    > Regards
    > Rajesh
    [Attachment Single to Binary.vi, see below]
    Attachments:
    Single_to_Binary.vi ‏17 KB

Maybe you are looking for