Critical Error while compiling with AIR16 (*.ipa export)

Hey,
my application crashed while compiling with AIR16. (Flex 4.13.0-AIR 16.0)
With AIR15 it works well.
First I thougt, the reason might be the included ANE, but it isnt. The ANE works fine with another project.
In fact other projects also work with AIR16.
Any ideas?
Error message:
Error occurred while packaging the application:
Undefined symbols for architecture armv7:
  "_traits:AOTBuildOutput-0000000101_6:234::Span", referenced from:
      _AOTBuildOutput-0000000101_6:9729:Edge in AOTBuildOutput-0000000101_6.o
  "_traits:AOTBuildOutput-0000000101_6:234::Edge", referenced from:
      _AOTBuildOutput-0000000101_6:9706:flashx.textLayout.compose::Parcel/allocateEdge in AOTBuildOutput-0000000101_6.o
  "_traits:AOTBuildOutput-0000000100_5:18::LocaleID", referenced from:
      _AOTBuildOutput-0000000100_5:265:mx.resources::LocaleSorter$/sortLocalesByPreference in AOTBuildOutput-0000000100_5.o
ld: symbol(s) not found for architecture armv7
Compilation failed while executing : ld64
EDIT:
I tried it also with Flex 4.14.0-AIR 16.0. Got this message:
Error occurred while packaging the application:
Undefined symbols for architecture armv7:
  "_traits:AOTBuildOutput-0000000101_6:248::Span", referenced from:
      _AOTBuildOutput-0000000101_6:11261:Edge in AOTBuildOutput-0000000101_6_1.o
  "_traits:AOTBuildOutput-0000000101_6:248::Edge", referenced from:
      _AOTBuildOutput-0000000101_6:11238:flashx.textLayout.compose::Parcel/allocateEdge in AOTBuildOutput-0000000101_6_1.o
  "_traits:AOTBuildOutput-0000000101_6:207::CellCoords", referenced from:
      _AOTBuildOutput-0000000101_6:8073:flashx.textLayout.elements::TableElement/normalizeCells in AOTBuildOutput-0000000101_6.o
      _AOTBuildOutput-0000000101_6:8072:flashx.textLayout.elements::TableElement/getBlockedCoor ds in AOTBuildOutput-0000000101_6.o
  "_traits:AOTBuildOutput-0000000100_5:18::LocaleID", referenced from:
      _AOTBuildOutput-0000000100_5:340:mx.resources::LocaleSorter$/sortLocalesByPreference in AOTBuildOutput-0000000100_5.o
ld: symbol(s) not found for architecture armv7
Compilation failed while executing : ld64

We've built a lot of test-apps including the same components and libraries as in this app, but we are not able to reproduce this crash in other projects.
The project works fine in the Simulator without any crashes or compile errors!

Similar Messages

  • Critical Error while compiling / exporting *.ipa with AIR16

    Hey,
    my application crashed while compiling with AIR16. (Flex 4.13.0-AIR 16.0) With AIR15 it works well.
    First I thought, the reason might be the included ANE, but it isn't. The ANE works fine with another project. In fact other projects also work with AIR16.
    The project works fine in the Simulator without any crashes or compile errors!
    We've built a lot of test-apps including the same components and libraries as in this app, but we are not able to reproduce this crash in other projects.
    Edit: We just tested an *.apk export. works also fine!
    Any ideas?
    EDIT:
    Tried out AIR17beta. And who wonderes? It works!
    But I really want to know, what the problem is/was!
    Flex 4.13.0-AIR 16.0:
    Error occurred while packaging the application:
    Undefined symbols for architecture armv7:
    "_traits:AOTBuildOutput-0000000101_6:234::Span", referenced from:
    _AOTBuildOutput-0000000101_6:9729:Edge in AOTBuildOutput-0000000101_6.o
    "_traits:AOTBuildOutput-0000000101_6:234::Edge", referenced from:
    _AOTBuildOutput-0000000101_6:9706:flashx.textLayout.compose::Parcel/allocateEdge in AOTBuildOutput-0000000101_6.o
    "_traits:AOTBuildOutput-0000000100_5:18::LocaleID", referenced from:
    _AOTBuildOutput-0000000100_5:265:mx.resources::LocaleSorter$/sortLocalesByPreference in AOTBuildOutput-0000000100_5.o
    ld: symbol(s) not found for architecture armv7
    Compilation failed while executing : ld64
    Flex 4.14.0-AIR 16.0:
    Error occurred while packaging the application:
    Undefined symbols for architecture armv7:
    "_traits:AOTBuildOutput-0000000101_6:248::Span", referenced from:
    _AOTBuildOutput-0000000101_6:11261:Edge in AOTBuildOutput-0000000101_6_1.o
    "_traits:AOTBuildOutput-0000000101_6:248::Edge", referenced from:
    _AOTBuildOutput-0000000101_6:11238:flashx.textLayout.compose::Parcel/allocateEdge in AOTBuildOutput-0000000101_6_1.o
    "_traits:AOTBuildOutput-0000000101_6:207::CellCoords", referenced from:
    _AOTBuildOutput-0000000101_6:8073:flashx.textLayout.elements::TableElement/normalizeCells in AOTBuildOutput-0000000101_6.o
    _AOTBuildOutput-0000000101_6:8072:flashx.textLayout.elements::TableElement/getBlockedCoor ds in AOTBuildOutput-0000000101_6.o
    "_traits:AOTBuildOutput-0000000100_5:18::LocaleID", referenced from:
    _AOTBuildOutput-0000000100_5:340:mx.resources::LocaleSorter$/sortLocalesByPreference in AOTBuildOutput-0000000100_5.o
    ld: symbol(s) not found for architecture armv7
    Compilation failed while executing : ld64

    We've built a lot of test-apps including the same components and libraries as in this app, but we are not able to reproduce this crash in other projects.
    The project works fine in the Simulator without any crashes or compile errors!

  • SUNWspro iostream error while compiling with SunStudio 10

    We are getting the following error when we try to compile the C++ code using SunStudio 10 on Sun Solaris Sparc server.
    We made couple of changes in the source code 1) whereever we have stream.h we replaced it with iostream.h and 2) include fstream.h whereever required.
    Can anyone tell us where did it go wrong.
    + /opt/SUNWspro/bin/CC -g -O -DHAWK -mt -lclntsh -lsocket -lnsl -I/export/home/StandardComponents/SC/include -I../../mylib -I../../include -I/opt/SUNWspro/prod/include/CC/Cstd -I. -I- -D_TRACE_ -c collectDborMtoInfo.c
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 20: Error: Use ";" to terminate declarations.
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 20: Error: A declaration was expected instead of "'\n'".
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 20: Error: Use ";" to terminate declarations.
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 20: Error: A declaration was expected instead of "'\n'".
    4 Error(s) detected.

    Remove the -I directive that points into the compiler installation. You should not have have -I or -L options that point into the compiler installation area, into /usr/include, or into /usr/lib. The CC compiler driver knows where to find system headers and libraries, and in what order to search the directories. If you force a different search order, you can break something.
    If removing -I/opt/SUNWspro/prod/include/CC/Cstd does not fix the problem, compiling with -P or -E will show you the preprocessor output, and looking at the lines with the errors will usually show the source of the problem quickly.
    BTW, you should be aware that the ".h" form of the C++ headers, like <iostream.h> and <fstream.h>, is not standard. Using them is not portable, because not all C++ implementations provide them, and those that do often have different content.

  • PCC-S-02014 error while compiling with in Sun Solaris

    We are porting our application from HP-UX to Sun Solaris and as part of that I am trying the compile a Pro*C program in Sun Solaris using SUNWspro C++ compiler. Precompiling is failing with following error.
    PRECOMP set: /u01/app/oracle/product/10.2.0/bin/proc dbms=native code=cpp mode=ansi include=/u01/app/oracle/product/10.2.0/precomp
    ireclen=255 oreclen=255
    define=__sparc define=__SUNPRO_C include=/usr/include include=. include=/u01/app/SUNWspro/prod/include/CC/stlport4 include=/u01/app/oracle/product/10.2.0/rdbms/public/ include=/u01/app/oracle/product/10.2.0/network/public/ include=/u01/app/oracle/product/10.2.0/rdbms/demo/ errors=yes select_error=no
    sqlcheck=limited ltype=NONE
    release_cursor=no hold_cursor=no
    Pro*C/C++: Release 10.2.0.3.0 - Production on Thu Dec 18 03:09:59 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    System default option values taken from: /u01/app/oracle/product/10.2.0/precomp/admin/pcscfg.cfg
    Syntax error at line 44, column 30, file /u01/app/SUNWspro/prod/include/CC/stlport4/algorithm:
    Error at line 44, column 30 in file /u01/app/SUNWspro/prod/include/CC/stlport4/a
    lgorithm
    # include STLPNATIVE_HEADER(algorithm)
    .............................1
    PCC-S-02014, Encountered the symbol "(" when expecting one of the following:
    : [ ] + / . .. an identifier, a numeric constant, newline,
    define, elif, else, endif, error, if, ifdef, ifndef, include,
    line, pragma, undef, exec, sql, begin, end, var, type,
    oracle, an immediate preprocessor command, a C token, create,
    function, package, procedure, trigger, or, replace,
    Normal C++ files are getting compiled with out eny issues. This particular file is having functions written in C fashion. Any idea what is missing in the compiler option.
    regards
    Vinu

    Hi Vinu,
    I'm not sure if this is still an issue for you. When I have encountered issues like this with Pro*C I have ended up specifying parse=none to the proc command and then putting all declarations between "EXEC SQL BEGIN DECLARE SECTION" and "EXEC SQL END DECLARE SECTION" markers. I have also moved any "special" declarations into a specific header file and then placed the "#include <special header file>" inside the declare section as well.
    Perhaps that will help a bit,
    Regards,
    Mark

  • Error while compiling with Flash Builder [FlexSDK4]

    I'm new to Flex 4 .. I have a application which is developed in Flex 3..
    But I'm changing it to flex4.. I'm getting the following error.. Can any one help me how to resolve this..?
    The style 'paddingTop' is excluded by type 'mx.containers.Canvas'.
    Help me to resolve this..
    Thanks in advance,
    Vijay

    That style is not defined for the Canvas.
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/containers/Canvas.ht ml?filter_flex=4.1&filter_flashplayer=10.1&filter_air=2

  • Error while compiling model in Visual Composer 7.1.

    Hi,
    I am getting a error while compiling model in Visual Composer 7.1.
    An exception occurred at the server while running the build process, reason: Extension with id com.sap.vc.runtimeproviders.null not found. For more details please refer to the log file.
    Can any one please tell me what the error is?

    Hello
    This problem usually indicates the model Runtime provider is not set properly
    Please goto configure pane and check the RT provider that is et for the model or any other model in the same DC
    Also services usages require this property to be set accordingly
    To make sure the services are set properly please look into the configuration pane when the respective service usage is selected (and check the same)
    Please let me know if this helped or not
    Guy

  • Error while compiling the PO Item Category KFF

    Kindly help me. I am new and learning Purchasing module and now stuck because of an error while compiling the PO Item Category KFF. This is because a segment is saved in the database incompletely.
    Now the segment does not show in the Segments Summary form. But when I enter the same Number, I get the error APP-FND-00924: You chose a sement number that is used by another segment.
    When I freeze and compile the structure with different segments, I get the error
    APP-FND-00668: The data that defines the flexfield on this field may be inconsistent. Inform your system administrator that the function: FDFRKS could not find the structure definition for the flexfield specified by Application = &APPL, Code = MCAT and Structure number = 201 (APPID=401)
    APP-FND-00738: Error detected when attempting to load value set on Context: &CONTEXT for Segment: &SEGMENT in Routine: FDFBKS
    APP-FND-01564: ORACLE error 1403 in FDFAVS3
    Cause: FDFAVS3 failed due to ORA-01403: no data found.
    The SQL statement being executed at the time of the error was:  and was executed from the file &ERRFILE.
    Regards
    Reem

    Hi Sandeep
    Sorry that I am bothering with basic questions, but I am not able to run any Select queries. It gives error Table or View does not exist. I can see the table from ALL_TABLES view, but I cannot Select.
    I have logged in as oracle user. This is not Vision datbase. Can you let me know the default dba user and password or how to get the permission?
    Regards
    Reem

  • Error while compiling Model in VC 7.1

    Hi,
    I am getting a error while compiling model in Visual Composer 7.1.
    An exception occurred at the server while running the build process, reason: Extension with id com.sap.vc.runtimeproviders.null not found. For more details please refer to the log file.
    Can any one please tell me what the error is?

    Hi
    The common reason for this kind of error is a misconfigured model or data service proxy
    To verify this is not the case please follow these steps:
    1. In the DC where you get the error open your models one by one and verify that the runtime provider that is configured is set properly (usually should be WebDynpro but could be Voice or Portal if this is the runtime that you are targeting your application to)
    This configuration is accessible in the configure panel when your model is in focus
    2. Do the same as described in bullet 1 on your data services' usages as well. Select the usage of the data service and check that the runtime provider is set properly
    3. remove any unused service in your DC (this is a good practive regardless of the current problem. To view your data services in a certain DC open the "Manage Models Dialog". Select the "Data Services" entry in the filter dropdown on the top right corner. Drill down into the DC you are clearing and delete services you do not think they are in use. Please note that removing a service must be done carefully since you might delete services that could be in use by other models in the same DC or by dynamic entry list of a control in your model, etc.)
    Please let me know if it helped
    Guy

  • Critical Error while upgrading workbook

    Dear All,
    I receive a critical error while I open a workbook in Bex 7.0 analyzer.
    After I see the dialog - "Workbook open for upgrade", I received this error.
    It says check the trace and I don't have a clue how to check the trace.
    Can somebody help me?
    Thanks,
    Praveen.

    Hi Arun,
    Thanks for your reply.
    Yes my GUI is latest with all 710 latest patches for:
    1. SAP GUI Patch 13
    2. BW 7.0 Add-on Patch 901
    3. BW 3.5 Add-on Patch 6
    Thanks and regards,
      Pratik

  • Error while compiling java file using J2SE 1.5.0

    Dear Sir,
    I'm getting the following error while compiling the java file.The code is also given.
    package test;
    public class TestRowSet {
    public TestRowSet() {
    "TestRowSet.java": cannot access java.lang.Object,bad class file: D:\Program Files\Java\jdk1.5.0\jre\lib\rt.jar\java\lang\Object.class,class file has wrong version 49.0, should be 48.0,Please remove or make sure it appears in the correct subdirectory of the classpath. at line 4, column 1
    Please help me out.
    --Suketu Naik.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    But I'm compiling within "Borland JBuilder 9.0". I've
    set the JDK path of the current project to point to
    the path of JDK 1.5.0 . I've also tried to compile at
    command prompt with "javac". I'm getting the same
    error of "Undefinedclassloader" with long StatckTrace.
    I don't know anything about JBuilder either. If you use the command prompt and enter the full path to the 1.5 javac.exe then that will prove whether the issue is using an older javac or not. For example "c:\j2sdk1.5.0_01\bin\javac HelloWorld.java"

  • Exiting from sqlplus when there is any errors while compiling pl/sql progra

    I am connecting to sqlplus from unix and I am executing a pl/sql script . Now if I get some error while compiling a procedure, package, function or any sql statement I want to exit sqlplus.
    whenever sqlerror works only for sql statements but not for plsql
    I dont want to query user_errors table and then throw some exception depending on the same .
    Is there any command available or any easier way to solve this problem ?

    Those errors we get only when there is conflict in same etc.
    Now consider the example here
    sample.sql
    whenever sqlerror exit failure ;
    declare
            s1 long;
    begin
            s1 := 'create or replace procedure proc1 as '||
              'declare '||
              'begin '||
                  'end; '||
              'end;';
            execute immediate s1;
    end;
    select 1 from dual;When I run the script
    SQL> @sample.sql
    ERROR:
    ORA-24344: success with compilation error
    ORA-06512: at line 9
    Warning: PL/SQL compilation errors.
             1
             1Actually I want to get out before it executes select means once it throws error in pl/sql.

  • Conversion Error: I/O error while communicating with native process

    Hi,
    I am trying to use Oracle Outside In Technology Image Export for conversion of images. I am trying to run the example ExportTest that comes with the downloaded SDK.
    I get the below error while running the ExportTest example.
    Conversion Error: I/O error while communicating with native process .
    Am I missing any settings?
    Please guide to the right forum if this is not the one for posting queries on Oracle Outside In Technology Image Export.
    Thank you.

    Hi Revanth,
    I am using Image Export 8.3.7 and I am trying to run the java class "ExportTest" that is in the location sdk\samplecode\ExJava\Examples\ExportTest\src of the download.
    My input folder has one jpg - puzzle.jpg (this is just a simple jpg), I am trying to convert it to TIFF. ExportTest.java uses the classes in Export.jar . Export.jar is located in the sdk\samplecode\ExJava\Examples\ExportTest . You can see source files of the Export.jar at location sdk\samplecode\ExJava\Java API\src of the download. I am running the 'ExportTest' by providing the arguments (input folder, output folder and ix.cfg - this file comes with the download). So now when I run this class I was getting the error I mentioned in this post. Inorder to find more details about the error I modified the 'Export.java' (at sdk\samplecode\ExJava\Java API\src\com\outsideinsdk) just to printStackTrace when the exception occurs and rebuilt the 'Export.jar' and ran the 'ExportTest.java'.
    And below is the stack trace that I got :
    java.io.IOException: CreateProcess: nullexporter.exe "inputpath_u=AGkAbgBwAHUAdA
    BcAHAAdQB6AHoAbABlAC4ASgBQAEc=" "outputpath_u=AG8AdQBwAHUAdABcAHAAdQB6AHoAbABlAC
    4ASgBQAEcALgBUAEkARgBG" "outputid=FI_TIFF" "fallbackformat=FI_TEXT" "tiffcolorsp
    ace=24BitRGB" "preferoitrendering=false" "tiffcompression=Packbits" "mapbuffersi
    ze=8192" "defaultprintfontheight=20" "graphicwidthlimit=0" "reordermethod=off" "
    unmappablechar=0x002A" "timezone=0" "graphicheightlimit=0" "defaultmarginleft=14
    40" "ssshowheadings=false" "quickthumbnail=false" "graphicoutputdpi=0" "ssdirect
    ion=AcrossandDown" "defaultmarginbottom=1440" "ssshowgridlines=false" "dbshowhea
    dings=false" "readbuffersize=2" "whattoexport=all" "graphicsizelimit=0" "imagewa
    termarkopacity=0" "blue=-1" "handlenewfileinfo=no" "outputid=FI_TIFF" "lzwcompre
    ssion=enabled" "usedocpagesettings=true" "defaultmarginright=1440" "numberofstat
    callbacks=0" "dbfittopage=NoScaling" "tempbuffersize=2048" "pdffilterreorderbidi
    =no" "imagecropping=nocropping" "defaultmargintop=1440" "documentmemorymode=larg
    e" "m?
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:66)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:566)
    at java.lang.Runtime.exec(Runtime.java:491)
    at java.lang.Runtime.exec(Runtime.java:457)
    at com.outsideinsdk.Export.convert(Export.java:262)
    at com.outsideinsdk.ExportTest.convert(ExportTest.java:142)
    at com.outsideinsdk.ExportTest.main(ExportTest.java:214)
    hope this helps to find the problem.
    Thank you

  • Error while communicating with the server

    Hi Experts,
    I'm having the following issue, when I try to send data using an input schedule the server says that there was an error while communicating with the server and don't send the data, I took a look at the log file and it says the following,
    ==============[BPC Logging]==============
    [Message Type] : ERROR
    [Job Name]     : OSoft.Services.Application.FileAccessService.FileAccessServiceProxy
    [DateTime]     : 4/6/2011 8:42:44 AM
    [UserId]       : CAMESAP\BPC_SYSADMIN
    [Message]       : UJF_EXCEPTION E018     Cannot find document/directory 0
    ==============[BPC Logging End ]==============
    Also i went to take a look at the default script logic, because i remember that this error happened to me when i wrongly program an script logic in the default.lgf  but it shows me the following error when I open it,
    System.InvalidCastExeption: Specified cast is not valid
    at System.data.DataColumnCollection.get_Item(String name)
    at System.data.DataRow.get_Item(String columnName)
    at Osoft.Consumers.Admin.AdminLogicClient50.LogicMain.GetLogic()
    If I compile the file, the error stop appearing, put with all new logic files it happens at first, I think that these two errors are very deep related, if anyone can help me will be very appreciated,
    Thanks in advanced

    Hi,
    I have faced the similar kind of problem in BPC NW 7.5 SP5.
    The main reason is when you are trying to send any data via input schedule, you will get this web server communication issue.
    1) Check if any thing you are calling script logic under default.LGF. Exclude the logic out from default and test it.
    2) Process all the dimensions in application
    3) Perform Lite optimization and check are there any errors.
    4) Finally check BPC COM+ services  and check if any service stopped and also check osoft send governer service in microsoft services.
    5) Diagnoise usign server manager.
    6) Try input some thing in apshell and check if u face the same web server communication error?

  • Error while compiling form 6i

    Hi All,
    I am getting Memory fault error while compiling the form.
    I tried with two commands.
    I executed these commands from $AU_TOP/forms/US
    At first I tried with
    f60gen $AU_TOP/forms/US/XXTEST.fmb apps/opopop123 output_file =$XXEEG_TOP/forms/US/XXTEST.fmx
    and I got following error
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    PL/SQL Version 8.0.6.3.0 (Production)
    Oracle Procedure Builder V6.0.8.21.0 Build #0 - Production
    Oracle Virtual Graphics System Version 6.0.5.39.0 (Production)
    Oracle Multimedia Version 6.0.8.25.0 (Production)
    Oracle Tools Integration Version 6.0.8.17.0 (Production)
    Oracle Tools Common Area Version 6.0.5.32.0
    Oracle CORE Version 4.0.6.0.0 - Production
    Compiling package specification APP_CUSTOM...
    No compilation errors.
    Compiling package body APP_CUSTOM...
    Memory fault
    Secondly I tried with
    f60gen Module=/opt/egapmdev/ebmdappl/au/11.5.0/forms/US/XXTEST.fmb Userid=apps/opopop123 Module_Type=FORM batch=yes Output_File=XXTEST.fmx
    Now the error came was only 'Memory fault' without any other messages.
    Please any one look into it.

    Sure,
    I used two commands both are not working.
    First
    f60gen $AU_TOP/forms/US/XXTEST.fmb apps/opopop123 output_file =$XXEEG_TOP/forms/US/XXTEST.fmx
    Second
    f60gen Module=/opt/egapmdev/ebmdappl/au/11.5.0/forms/US/XXTEST.fmb Userid=apps/opopop123 Module_Type=FORM batch=yes Output_File=XXTEST.fmx
    Both are not working
    Error messages in first command
    Forms 6.0 (Form Compiler) Version 6.0.8.28.0 (Production)
    Forms 6.0 (Form Compiler): Release - Production
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    PL/SQL Version 8.0.6.3.0 (Production)
    Oracle Procedure Builder V6.0.8.21.0 Build #0 - Production
    Oracle Virtual Graphics System Version 6.0.5.39.0 (Production)
    Oracle Multimedia Version 6.0.8.25.0 (Production)
    Oracle Tools Integration Version 6.0.8.17.0 (Production)
    Oracle Tools Common Area Version 6.0.5.32.0
    Oracle CORE Version 4.0.6.0.0 - Production
    Compiling package specification APP_CUSTOM...
    No compilation errors.
    Compiling package body APP_CUSTOM...
    Memory fault
    Error message in second command
    Memory fault
    I ran this command from
    $AU_TOP/forms/us --(/opt/egapmdev/ebmdappl/au/11.5.0/forms/US)
    Looking forward from you.

  • Error while compiling trigger/procedure for a table in which attribute is r

    I have table
    desc pappu
    name varchar(10);
    start varchar(5);
    end varchar(5);
    One of the attribute is end which is also a reserved keyword in oracle.I want to create some procedure/trigger which use the attribute end but i get errors while compiling that "
    PLS-00103: Encountered the symbol "END" when expecting one of the
    following:
    <an identifier> <a double-quoted delimited-identifier>
    The symbol "<an identifier> was inserted before "END" to
    continue.
    Any workaround for this.

    user620101 wrote:
    name varchar(10);
    start varchar(5);
    end varchar(5);
    SQL> create table pappu (name varchar(10),stat varchar(5),end varchar(5));hi,
    earlier you have given column name start and here you are creating table with colum name stat....anyway try to use column alias for column END
    CREATE TABLE pappu (NAME VARCHAR(10),STAT VARCHAR(5),END VARCHAR(5));
    INSERT INTO PAPPU ( NAME, STAT, END ) VALUES ( 'name1', '1', '14');
    INSERT INTO PAPPU ( NAME, STAT, END ) VALUES ( 'name2', '15', '20');
    CREATE OR REPLACE PROCEDURE testpappu
    AS
    CURSOR test1
    IS
    SELECT NAME,stat AS st,END AS v_end FROM pappu;
    BEGIN
         FOR i IN test1
         LOOP
         DBMS_OUTPUT.PUT_LINE ( 'name - '||i.NAME ||'-'||i.st||'-'||i.v_end );
         END LOOP;
    END;
    SQL> exec testpappu;
    name - name1-1-14
    name - name2-15-20
    PL/SQL procedure successfully completed.
    Thnx
    MB
    Edited by: ManishB on Sep 20, 2010 10:50 AM

Maybe you are looking for