Invalid use of '__declspec.

Hi, I'm trying to compile a project formerly built without changing anything. But I get the following error for function declarations in the header file.

int DLLSTDCALL DLLEXPORT Test_InitDevDll (int invertByteOrder);

"test.h" (36,16) invalid use of "__declspec". "."

What can be the reason of this error?

Try the reorganization it:

DLLEXPORT int DLLSTDCALL Test_InitDevDll (int invertByteOrder);

I assume you are using now CVI 2013 with Clang that is more strict.

Tags: NI Software

Similar Questions

  • Invalid use of incomplete type / before the declaration of

    We are trying to build a shared library project. And we have added the KDSoapClient of the KDSoap library header files to the project. When you build the project, you get the following errors:

    debug/moc_KDSoapPendingCallWatcher.cpp:54:22: error: invalid use of incomplete type 'struct KDSoapPendingCallWatcher::Private'
    debug/../../public/KDSoapClient/KDSoapPendingCallWatcher.h:75:11: error: forward declaration of 'struct KDSoapPendingCallWatcher::Private'
    

    Everything compiles fine if KDSoap header files are added to a project of cascades.

    main.cpp was necessary. Why must a library project a main.cpp?

  • Run database query, invalid use of the:

    I have a tutorial of ColdfusionMX problem when I get to add tags on the top of the code view. And I write the same thing as the tutorial.
    I get an error message that says:
    Query execution error database.
    error occurred during the processing of the application.
    Invalid use of ',' () in a query expression

    I need help desperately,
    Geordeslys,

    The web site, you access has met an unexpected error.
    Please contact the site administrator.

    The following information is for the creation of Web sites for debugging purposes.

    Error occurred while processing request
    Run database query error.
    Invalid use of '. «, » !', ou « () ». in a query expression ' ARTISTS. ARTISTID = ART. ARTISTID AND ART. MEDIAID = MEDIA. MEDIAID.

    The error occurred in C:\CFusionMX7\wwwroot\CFIDE\gettingstarted\tutorial\TMPhy0vtntf3u.cfm: line 1

    1:
    2: SELECT FIRSTNAME, LASTNAME, ARTNAME, DESCRIPTION, PRICE, LARGEIMAGE, ISSOLD, MEDIATYPE
    3: ART, ARTISTS, MEDIA

    --------------------------------------------------------------------------------
    Dear CF_dev2,

    Is that what you mean by full CF code?

    Georgeslys,
    SQL SELECT FIRSTNAME, LASTNAME, ARTNAME, DESCRIPTION, PRICE, LARGEIMAGE, ISSOLD, MEDIATYPE OF ARTISTS, ART, MEDIA WHERE ARTISTS. ARTISTID = ART. ARTISTID AND ART. MEDIAID = MEDIA. MEDIAID
    Cftutorial DATA source
    VENDORERRORCODE 3092
    SQLSTATE

    Resources:
    See the ColdFusion documentation to verify that you are using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.

    Browser Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322;. PC Media Center 4.0; IEMB3; IEMB3)
    Remote address 127.0.0.1
    Referrer
    Date/time 03-Sep-07 19:11

    Stack trace (click to enlarge)
    at cfTMPhy0vtntf3u2ecfm1461475070.runPage (C:\CFusionMX7\wwwroot\CFIDE\gettingstarted\tutoria l\TMPhy0vtntf3u.cfm:1) at cfTMPhy0vtntf3u2ecfm1461475070.runPage (C:\CFusionMX7\wwwroot\CFIDE\gettingstarted\tutoria l\TMPhy0vtntf3u.cfm:1)

    com.inzoom.adojni.ComException: invalid use of '. «, » !', ou « () ». in a query expression ' ARTISTS. ARTISTID = ART. ARTISTID
    AND ART. MEDIAID = MEDIA. MEDIAID. in the Microsoft JET Database Engine = 3092 code Type = 1
    at com.inzoom.ado.Command.jniExecute (Native Method)
    at com.inzoom.ado.Command.execute(Command.java:40)
    at com.inzoom.jdbcado.Statement.exec(Statement.java:34)
    at com.inzoom.jdbcado.Statement.execute(Statement.java:107)
    at coldfusion.server.j2ee.sql.JRunStatement.execute(JRunStatement.java:212)
    at coldfusion.sql.Executive.executeQuery(Executive.java:753)
    at coldfusion.sql.Executive.executeQuery(Executive.java:675)
    at coldfusion.sql.Executive.executeQuery(Executive.java:636)
    at coldfusion.sql.SqlImpl.execute(SqlImpl.java:236)
    at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:500)
    at cfTMPhy0vtntf3u2ecfm1461475070.runPage (C:\CFusionMX7\wwwroot\CFIDE\gettingstarted\tutoria l\TMPhy0vtntf3u.cfm:1)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
    at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
    at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
    at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
    at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
    at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
    at coldfusion.filter.ClientScopePersistenceFilter.invoke (ClientScopePersistenceFilter.java:2 8)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
    to coldfusion. CfmServlet.service (CfmServlet.java:107)
    at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
    at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
    to jrunx.scheduler.ThreadPool$ DownstreamMetrics.invokeRunnable (ThreadPool.java:318)
    to jrunx.scheduler.ThreadPool$ ThreadThrottle.invokeRunnable (ThreadPool.java:426)
    to jrunx.scheduler.ThreadPool$ UpstreamMetrics.invokeRunnable (ThreadPool.java:264)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

  • Difficulty the following error code: ssl_error_illegal_parameter_alert

    After upgrading to FF26, I get sites like Yahoo and Facebook that does not open correctly. Passwords for yahoo mail won't initially. I have to recycle the time pages 2 and 3 before they will not work correctly. I sometimes get the "year error occurred during a connection to www.facebook.com.» Even SSL rejected a unacceptable content handshake message. (Error code: ssl_error_illegal_parameter_alert) ».

    I tried to do the recommended fixes posted on the site by deleting the cache and history, however, the problem still exists. In addition, I completely wiped off FF of the computer and reinstalled and nothing has changed. I have Kaspersky Pure 2.0 as my antivirus, but this problem occurs on one of my three computers.

    I have this problem without any security software additional beside microsoft one (as described in the bugzilla entry).

    I don't see in the creation of new matter. Bugzilla entry clearly described the problem, sees which side Server (apache), too many shows. There are some developers that includes SSL to examine it.

    Creating another question will not really help. It is not a question of invalid use. Also if you use google for this error, you will find that tons of people have this problem in various conditions (and no solution, only solutions relying on play with TLS inner firefox settings)

  • TDMS plugin

    I try to use screw express data storage to write of TDMS files but I get the error-2588 to try to open the file.

    Here:

    http://zone.NI.com/reference/en-XX/help/371361H-01/lverror/storage_error_codes/

    the error code is translated into "Failed to register the use. The use of .uri file may contain information of invalid use. ", but the message box that reports the error says"Labview cannot open the data storage file.

    I (re)? installed the plugin from the site, NOR unsuccessfully. I'm using Labview 2011.

    Any ideas?

    It's the opening and process of creation of the file which was not.

    The VI attached shows the problem, although now, I discovered the reason for this. "Open data storage" VI insists on the .tdms extension is provided in the path while the VI 'TDMS Open' adds the extension itself.

    I still think that the description of the error-2588 code is useless, or the error code is issued wrongly.

  • Errors in the journal dbwalker

    Need help determining what to look for with these errors:

    1567: (Error) more than a single subscriber in the GlobalSubscriber table share the same remote address that makes this Subscriber: the global subsccriber following files were found at sharting this remote address:

    0: (Error) internal error dbWalker: 94 (invalid use Null) in the procedure checkSubscribers of the frmMain form

    Alias is Unity_UNI013A, display name is Unity Messaging System - UNI013A

    Alias is EAdmin0cc60a21, main extension is 9999913, display name = example administrator - UNI013A

    Alias = David P. Massaron/Bloomfield/Dickinson-Wright, first expansion = 7268, full name = Massaron, David

    Alias = Geoffrey A. Fields/GRapids/Dickinson-Wright, first expansion = 1017, full name = Fields, Geoffrey

    Alias = GR-Messenger/GRapids/Dickinson-Wright, main extension = 1035, name = Messenger, GR

    Alias = Stephen M. Guerra/Bloomfield/Dickinson-Wright, first expansion = 7266, full name = Guerra, Stephen

    Alias = Paula R. Lindsley/GRapids/Dickinson-Wright, first expansion = 1022, full name = Lindsley, Paula

    0: (Error) internal error dbWalker: 94 (invalid use Null) in the procedure checkSubscribers of the frmMain form

    Alias is Unity_UNI014A, display name is Unity Messaging System - UNI014A

    Alias is EAdmin4a8e1f4c, main extension is 99999, full name = example administrator - UNI014A

    Alias = Kathleen T. Pogue/Detroit/Dickinson-Wright, first expansion = 3107, full name = Pogue, Kathleen

    Alias is Michelle Thurber Czapski/Detroit/Dickinson-Wright, main extension is 3636, full name = Czapski, Michelle Thurber

    0: (Error) internal error dbWalker: 94 (invalid use Null) in the procedure checkSubscribers of the frmMain form

    Alias is Unity_UNI012A, display name is Unity Messaging System - UNI012A

    0: (Error) internal error dbWalker: 94 (invalid use Null) in the procedure checkSubscribers of the frmMain form

    Alias is Unity_UNI010A, display name is Unity Messaging System - UNI010A

    Alias = Martha J. Austin/Detroit/Dickinson-Wright, first expansion = 3631, full name = Austin, Martha

    Alias = Eleanor J. Logan Bussey/Detroit/Dickinson-Wright, main extension = 3186, full name = Logan Bussey, Eleanor

    Alias is EAdmin034f76be, main extension is 9999912, display name = example administrator - UNI012A

    Alias = Linda S. McAlpine/Bloomfield/Dickinson-Wright, first expansion = 7202, full name = McAlpine, Linda

    Alias = extension operator LS, Lansing, Dickinson-Wright, primary = 4730, full name = operator, LS

    Alias = Dora H. June/Bloomfield/Dickinson-Wright, first expansion = 7299, full name = June, Dora

    Alias = GR operator, GRapids, Dickinson-Wright, main extension = 1000, full name = operator, GR

    I'm confused about the 1567 error that has another error immediately after him. Can someone make sense this? Thank you.

    In fact, the value does not get used to the Domino users - there is already a bug open about this last week: CSCsa66123. I have a fix for it in TR 28 of dbWalker - I'll send it later today.

  • 64-bit Oracle 11.2.0.4 problem connection postgresql 9.1 64-bit

    Hello everyone, this week I tried extensively to create a connection between an engine and a motor of oracle postgresql, but have failed, followed the user recommendations Kgronau-Oracle through the thread https://community.oracle.com/thread/3560250?start=0 & tstart = 0, but did not work and error that comes out when I run the following query in sqlplus :

    Select * from 'user' PG_LINK;

    ERROR on line 1:

    ORA-28500: connection to a non-Oracle system Oracle returned this

    Publish:

    ORA-02063: preceding line PG_LINK

    I did the settings as follows:

    Oracle Linux 6.5 64 - bit

    I created a file in /home/oracle/.odbc.ini

    with the following information:

    [PG_LINK]

    Driver = /usr/pgsql-9.1/lib/psqlodbcw.so

    ServerName = 172.16.2.14

    Username = user

    Password = pass

    Port = 5432

    Database = database

    Trace = yes

    Trace file = /tmp/database.log

    With the permissions: - rw - r - r - oracle oinstall

    The driver install via: yum install postgresql91 - odbc.x86_64

    version 09.03.0400 - 1PGDG.rhel6

    Also installed the unixODBC package - 2.3.0 compile the source and the result of the-j odbcinst command that results in:

    unixODBC 2.3.0

    DRIVERS...: /usr/local/etc/odbcinst.ini

    SYSTEM DATA SOURCES: /usr/local/etc/odbc.ini

    FILE DATA SOURCES... : / usr/local/etc/ODBCDataSources

    USER DATA SOURCES.. : /home/oracle/.odbc.ini

    SQLULEN size...: 8

    SQLLEN size...: 8

    Size SQLSETPOSIROW. : 8

    $ ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1

    I also created a file $ORACLE_HOME/hs/admin/initPG_LINK.ora with the following information:

    HS_FDS_CONNECT_INFO = PG_LINK

    HS_FDS_TRACE_LEVEL = OFF

    HS_FDS_SHAREABLE_NAME = /usr/pgsql-9.1/lib/psqlodbcw.so

    HS_FDS_SQLLEN_INTERPRETATION = 32

    Define ODBCINI = /home/oracle/.odbc.ini

    Files $ORACLE_HOME/network/admin/listener.ora and tnsnames.ora were also changed as well:

    Listener.ora

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = PG_LINK)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (ENV = "LD_LIBRARY_PATH = /usr/lib64:/usr/pgsql-9.1/lib:/u01/app/oracle/product/11.2.0/dbhome_1/bin")

    (PROGRAM = dg4odbc)

    )

    (SID_DESC =

    (GLOBAL_DBNAME = SIAPROD)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = SIAPROD)

    )

    )

    tnsnames.ora

    SIAPROD =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 172.16.1.55) (PORT = 1521))

    )

    (CONNECT_DATA =

    (SERVICE_NAME = SIAPROD)

    )

    )

    PG_LINK =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 172.16.1.55) (PORT = 1521))

    (CONNECT_DATA = (SID = PG_LINK))

    (HS = OK)

    )

    Finally, I've followed these recommendations:

    So, let's create a file strace to see if we get more details for esta trace.

    1. get the process id of the Oracle listener that generates the gateway (ps - ef | grep TNS)

    2 strace o FAE - dg4odbc.log < gateway listener process id > Pei

    3. now start a new SQL * Plus the term and try to select in the Postgres database again. Once you get the error, cancel the process of strace of step 2 dg4odbc.log and download the file to a public file share.

    -Klaus

    http://www.mediafire.com/download/3kglaeg023v3r9r/dg4odbc.log

    I hope you can help me solve this problem

    Thanks in advance.

    Mkirtley good day, thanks again for your help and time on my problem, but I followed your recommendations again and the error persists. Already tired of this, I decided to make several changes to the files of configuration and ODBC iniPG_LINK.ora where I was finally able to operate these services bad XD, all attached configuration files:

    Listener.ora

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = PG_LINK)

    (ORACLE_HOME = / u01 / app / oracle / product / 11.2.0 / dbhome_1)

    (ENV = "LD_LIBRARY_PATH = / usr / local / lib: /u01/app/oracle/product/11.2.0/dbhome_1/lib")

    (PROGRAM = dg4odbc)

    )

    (SID_DESC =

    (GLOBAL_DBNAME = SIAPROD)

    (ORACLE_HOME = / u01 / app / oracle / product / 11.2.0 / dbhome_1)

    (SID_NAME = SIAPROD)

    )

    )

    tnsnames.ora

    SIAPROD =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 172.16.1.55) (PORT = 1521))

    )

    (CONNECT_DATA =

    (SERVICE_NAME = SIAPROD)

    )

    )

    SS_LINK =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 172.16.1.55) (PORT = 1521))

    (CONNECT_DATA = (SID = SS_LINK))

    (HS = OK)

    )

    PG_LINK =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 172.16.1.55) (PORT = 1521))

    (CONNECT_DATA = (SID = PG_LINK))

    (HS = OK)

    )

    iniPG_LINK.ora

    HS_FDS_CONNECT_INFO = PG_LINK

    HS_FDS_TRACE_LEVEL = 255

    HS_FDS_SHAREABLE_NAME = / usr / local / lib / libodbc.so

    # HS_LANGUAGE = American_America.WE8ISO8859P1

    # HS_FDS_SQLLEN_INTERPRETATION = 32

    ODBCINI September = / home / oracle /. ODBC.ini

    / Home/Oracle /. ODBC.ini

    [ODBC data sources]

    PG_LINK = PostgreSQL

    [PG_LINK]

    Debug = 1

    CommLog = 1

    ReadOnly = no

    Driver = / usr / pgsql - 9.1 / lib / psqlodbc.so

    ServerName = 172.16.2.27

    FetchBufferSize = 99

    User name = portaluquindio

    Password = portaluquindio

    Port = 5432

    Database = portaluquindio

    [Default]

    Driver = / usr / lib64 / liboplodbcS.so

    /usr/local/etc/odbcinst.ini

    [PostgreSQL]

    Description = PostgreSQL ODBC driver

    Driver = / usr / pgsql - 9.1 / lib / psqlodbc.so

    The installation program = / usr / lib64 / libodbcpsqlS.so

    FileUsage = 1

    [Oracle @ hs DB02] $ odbcinst-j

    unixODBC 2.3.2

    ............ DRIVERS: /usr/local/etc/odbcinst.ini

    SYSTEM DATA SOURCES: /usr/local/etc/odbc.ini

    FILE DATA SOURCES... : / usr / local / etc / ODBCDataSources

    USER DATA SOURCES.. : /home/oracle/.odbc.ini

    SQLULEN size... 8

    SQLLEN size... 8

    Size SQLSETPOSIROW. : 8

    CREATE DATABASE LINK PG_LINK3

    CONNECT to 'portaluquindio' IDENTIFIED BY 'portaluquindio '.

    WITH THE HELP OF "PG_LINK";

    CREATE DATABASE LINK PG_LINK

    CONNECT to 'postgres' IDENTIFIED BY 'postgres '.

    WITH THE HELP OF 'PG_LINK '.

    [Oracle @ dbhome_1 DB02] $ database

    SQL * more: Production release 11.2.0.4.0 Wednesday, August 12, 2015 09:48:17

    Copyright (c) 1982, 2013, Oracle. All rights reserved.

    Connected to:

    Oracle Database 11 g Release 11.2.0.4.0 - 64 bit Production

    SQL > select count (*) from 'usuario"@PG_LINK;

    COUNT (*)

    ----------

    442

    SQL >

    [Oracle @ dbhome_1 DB02] $ database

    SQL * more: Production release 11.2.0.4.0 Wednesday, August 12, 2015 09:50:19

    Copyright (c) 1982, 2013, Oracle. All rights reserved.

    Connected to:

    Oracle Database 11 g Release 11.2.0.4.0 - 64 bit Production

    .; SQL > select count (*) from 'general '. "usuario"@PG_LINK3

    COUNT (*)

    ----------

    63143

    SQL >

    The above configuration leads to several conclusions, given my experience with all heterogeneous services:

    (1) it is not really clear, precise and detailed information on the installation of the heterogeneous services and its connection with unixODBC in oracle, I say this, because all Web sites official and unofficial oracle differently to configure or similar appear, but I always find people with different problems without clear indications of your problem.

    (2) I think that it is very important to take account of the version of unixODBC, because the version 2.3.0 has not helped me and I had to use the 2.3.2. Version 2.3.0 did not help me, because a mistake: '[unixODBC-support] [IM002] [unixODBC] [driver manager] data source name not found and no pilot not specified default', unlike points 2.3.2 and it was installed in the same way as above:

    tar xvf /tmp/unixODBC-2.3.2.tar

    CD /tmp/unixODBC-2.3.2

    . / configure; do; make install

    (3) I have several dblinks with data different connection as stated above, this means that the dblink is not logging data of the odbc.ini.

    Yet once, I thank very you much collaboration user Mkirtley, because it was a great help.

    I'm now stuck looking for a tutorial or a manual on how to write sentences or procedures between oracle and postgres.

    For now I leave you with the following problem when you run a SQL statement in oracle postgres:

    SQL > select 'usua_id' from 'general '. 'The user' PG_LINK

    2 where "usua_usuario" = "123456";

    where "usua_usuario" = "123456"

    *

    ERROR on line 2:

    ORA-00997: invalid use of LONG data type

    SQL >

    Thank you very much and good day.

  • Alienware 15 Bios error 8772

    Good afternoon

    I have some problems, my laptop Alienware 15 (2015) have some difficulty to start sometimes on Startup logo.
    I mean sometimes he will stay with the 'Alienware logo' doing nothing, just to shoot 20 seconds later, or sometimes will have 2 or 3 minutes to start on boot Windows logo, with HARD drive leads to crazy, as he was looking for something before you turn on the Wifi led...

    I tried all BIOS (A00, A02 and A03 A04) all the same and all this with a file error created during the flash on the desk saying "8772 error: invalid use, requiered switch - allowsv updated to firmware version even" (the file disappear after restarting the laptop).

    What does that mean?
    I tried to discuss with Support from Dell in my country, but instead of reinstalling Windows or Bios they do not know what to do, and I don't want to lose another day...

    Thank you :)

    and looking at your photos BIOS please, if you have an SSD please change quick response technology intel AHCI (SATA OPERATION)

  • Create with param

    Hello

    I have a requirement where when the user selects a row in a table and want to change, we want to create a new line with the values of the selected line and mark the existing line as inactinve in the backend, to keep a track of all change auditing.

    So is it a declarative way to do this. I tried to use create with param and created all the bindings of attribute and value assigned to them to create with named param data but it comes as null so I guess that it takes the value after the new creation of the line.

    Please let me know.

    Navneet

    Hello

    to create with parameters: I can't tell where you fool you because what you share is a description that it doesn't, not on your application. See here: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/13-create-with-params-169140.pdf

    To mark the source of copy as invalid, use the listener to action to command button that you use to create the new line (slide createWithParams as button and double click on a button to create a method in a managed bean signature, make sure that the binding code is generated for you (check box option)).

    Frank

  • Bug: NullPointerException generating JHeadstart application

    Hello

    JDeveloper 11.1.2.3.0 using GENERIC_120914.0223.6276.1 and 11.1.2.1.28 JHeadstart. Following this tutorial: http://download.oracle.com/consulting/jhstutorial1112.pdf

    I think the tutorial is obsolete (and there are a number of minor errors).

    Jag - config.xml is at: http://pastebin.com/raw.php?i=LJ8vsyDb and http://pastebin.com/LJ8vsyDb

    The application can no longer be generated. Product of the jdev.exe running from the command line:

    INFO: Number of data controls: 1
    JagRunnerCommand CONSTRUCTION
    JHeadstart debugger: no debugging session with key does not exist: 'JAG. '
    January 21, 2013 16:38:53 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
    INFO: Loading XML file [C:\projects\jdev_home\JHeadstartTutorial\ViewController\templates\config\jag-config.xml] bean definition
    java.lang.NullPointerException
    at oracle.jheadstart.dt.share.jdev.util.Bc4jUtils.isTopLevelUsage(Bc4jUtils.java:860)
    at oracle.jheadstart.dt.jag.validation.PGModelValidatorImpl.checkTreeProperties(PGModelValidatorImpl.java:1186)
    at oracle.jheadstart.dt.jag.validation.PGModelValidatorImpl.validateGroupAttributes(PGModelValidatorImpl.java:963)
    at oracle.jheadstart.dt.jag.validation.PGModelValidatorImpl.validateGroup(PGModelValidatorImpl.java:428)
    at oracle.jheadstart.dt.jag.validation.PGModelValidatorImpl.validateGroup(PGModelValidatorImpl.java:439)
    at oracle.jheadstart.dt.jag.validation.PGModelValidatorImpl.validateBaseGroups(PGModelValidatorImpl.java:287)
    at oracle.jheadstart.dt.jag.validation.PGModelValidatorImpl.validate(PGModelValidatorImpl.java:224)
    at oracle.jheadstart.dt.jag.JhsApplicationGenerator.generateService(JhsApplicationGenerator.java:365)
    at oracle.jheadstart.dt.jag.JhsApplicationGenerator.generateService(JhsApplicationGenerator.java:350)
    to oracle.jheadstart.dt.jag.jdev.JagRunner$ 1.run(JagRunner.java:76)
    at java.lang.Thread.run(Thread.java:662)
    Uncaught exception
    java.lang.ArrayIndexOutOfBoundsException: 1
    at org.netbeans.Archive.flushCaches(Archive.java:246)
    to org.netbeans.Stamps$ Store.store (Stamps.java:580)
    to org.netbeans.Stamps$ Worker.run (Stamps.java:744)
    java.lang.NullPointerException
    at oracle.ideimpl.feedback2.client.FeedbackManagerImpl.showCustomerFeedbackDialog(FeedbackManagerImpl.java:543)
    at oracle.ideimpl.feedback2.client.FeedbackManagerImpl.showFeedbackDialog(FeedbackManagerImpl.java:360)
    to oracle.ideimpl.feedback2.client.FeedbackManagerImpl$ 2.run(FeedbackManagerImpl.java:238)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
    to java.awt.EventQueue.access$ 000 (EventQueue.java:85)
    in java.awt.EventQueue$ 1.run(EventQueue.java:603)
    in java.awt.EventQueue$ 1.run(EventQueue.java:601)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
    at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    in java.awt.Dialog$ 1.run(Dialog.java:1046)
    in java.awt.Dialog$ 3.run(Dialog.java:1098)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.awt.Dialog.show(Dialog.java:1096)
    at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:853)
    at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:650)
    at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:621)
    to oracle.jheadstart.dt.share.jdev.ide.DialogUtils$ 1.run(DialogUtils.java:213)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
    to java.awt.EventQueue.access$ 000 (EventQueue.java:85)
    in java.awt.EventQueue$ 1.run(EventQueue.java:603)
    in java.awt.EventQueue$ 1.run(EventQueue.java:601)
    at java.security.AccessController.doPrivileged (Native Method)
    in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
    at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
    at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    Any ideas how to solve this problem?

    Thank you!

    Thanks for the unit test.
    My suspicion was right, when I try to run the tester on request of HRModule module, I get the following error:

    (oracle.jbo.JboException) Houston-26059: invalid use of link see 'EmpManagerFkLink3 '. Either the "oracle.hr.model.service.HRModule.CreateEmployeesView" source or destination 'null' is not defined.

    If you look in the XML application module, you can see the following:

    <>
    Name = "EmpManagerFkLink3".
    ViewLinkObjectName = "oracle.hr.model.queries.EmpManagerFkLink"
    SrcViewUsageName = "oracle.hr.model.service.HRModule.CreateEmployeesView"
    Reversed = "false" / >
    <>
    Name = "EmpManagerFkLink2".
    ViewLinkObjectName = "oracle.hr.model.queries.EmpManagerFkLink"
    SrcViewUsageName = "oracle.hr.model.service.HRModule.CreateEmployeesView"
    DstViewUsageName = "oracle.hr.model.service.HRModule.NewSubordinates"
    Reversed = "false" / >

    For some reason, the DstViewUsageName property is missing from EmpManagerFkLink3. That should not happen.
    If you add this property, by copying from EmpManagerFkLink2, then everything works perfectly again, and the JHeadstart generator works OK.

    The tutorial should be up-to-date, so please report any errors you find in the tutorial, so we can fix this.

    Thank you
    Steven Davelaar,
    JHeadstart team.

  • Once again, Oracle to MSSQL Unixodbc with freetds

    I have no idea why my config don't work, so I need your help:

    I connect to a MSSQL 2008R2 server of SLES 64-bit my odbc system is calles MSSQL and running isql - v mssql < user > < pw > wit.

    I see an error in my/hs/log like that
    Oracle Corporation - Thursday 9 February 2012 15:45:07.202


    Heterogeneous Agent release
    11.2.0.1.0


    Agent HS was diagnosed with error on the original communication,
    probable cause is an error in the network administration
    Network of error 2: NCR-00002: NCR: invalid use
    HS Gateway: NULL connection to the output context


    Here my config files:
    initdg4odbc.ora

    # This is an example of initialization file of the agent that contains the HS settings
    # necessary for the database to ODBC gateway

    #
    # HS init parameters
    #
    HS_FDS_CONNECT_INFO = mssql
    HS_FDS_TRACE_LEVEL = 4

    ##HS_FDS_SHAREABLE_NAME=/usr/local/lib/libtdsodbc.so

    #HS_FDS_SHAREABLE_NAME = < name of the full path to the driver or the odbc driver manager >

    #
    # ODBC specific environment variables
    #
    ##set ODBCINI = < name of the full path to the odbc initialization file of the >


    #
    # Required for the non-Oracle system environment variables
    #
    ##set < varenv > = < value >
    ##set LIBPATH = / usr/local/lib:

    SQLNET.ora:
    sqlnet.ora # Network Configuration file: /opt/oracle/product/11gR1/db/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    SQLNET. AUTHENTICATION_SERVICES = (NONE)
    NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)

    ADR_BASE = / opt/oracle

    Listener.ora

    listener.ora # Network Configuration file: /opt/oracle/product/11gR1/db/network/admin/listener.ora
    # Generated by Oracle configuration tools.

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle.internal.netlogix.de) (PORT = 1521))
    )
    )
    SID_LIST_LISTENER = (SID_DESC = (SID_NAME = ORCL) (Program = dg4odbc))
    ADR_BASE_LISTENER = / opt/oracle


    tnsnames.ora

    tnsnames.ora # Network Configuration file: /opt/oracle/product/11gR1/db/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.

    ORCL =
    (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = oracle.internal.netlogix.de) (PORT = 1521))) (CONNECT_DATA = (SID = orcl))(HS=OK))



    tnsping orcl addresses like this:

    tnsping orcl

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on February 9, 2012 15:54:40

    Copyright (c) 1997, 2009, Oracle. All rights reserved.

    Use settings files:
    /opt/Oracle/product/11gR1/DB/network/admin/SQLNET.ora


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = oracle.internal.netlogix.de) (PORT = 1521))) (CONNECT_DATA = (SID = orcl))(HS=OK))
    OK (0 msec)




    Hope everyone can find my fault for typing. IM no guru of oracle.

    Tank you

    There is a problem with the driver - reports the gatewa ytrace Manager:
    HS_FDS_SHAREABLE_NAME ' returned «/usr/local/lib/libtdsodbc.so.0.0.0»»

    But the file config that you posted earlier was:

    Published by: kgronau on February 10, 2012 09:47

    HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so

    -online the libodbc library is commonly the ODBC driver manager, while libtdsodbc is the driver ODBC itself.

    Please set the parameter in your file init bridge go back to:
    HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so

  • An unescaped ampersand still causes LPX-00242 in xmltype.transform

    Running Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production

    Collect web form and recovery through SQLX functions then transformed into html and plain text documents. If the '&' entered... functions SQLX is not immune to "& amp;"... but the LPX-00242 error is always triggered when sending to xmltype.transform.

    A simple test case:
    set define off;
    declare
    l_xsl xmltype;
    l_xml xmltype;
    begin
    
    l_xsl := xmltype('<?xml version="1.0"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="text"/>
    
    <xsl:template match="/">
    
    Hello <xsl:value-of select="//name"/>
    
    </xsl:template>
    </xsl:stylesheet>');
    
    l_xml := xmltype('<test><name>Jane&amp;John Doe</name></test>');
    
    dbms_output.put_line(l_xml.transform
                                        (l_xsl
                                        ).getclobval ());
    end;
    the code above throws this exception:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00241: entity reference is not well formed
    Error at line 3
    ORA-06512: at "SYS.XMLTYPE", line 138
    ORA-06512: at line 20
    If I restart the block above... but change the string xml < test > < name > Jane & amp; amp; John Doe < / name > < / test >

    Now, I get the following exception:
    Error at line 2
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00242: invalid use of ampersand ('&') character (use &amp;)
    Error at line 3
    ORA-06512: at "SYS.XMLTYPE", line 138
    ORA-06512: at line 20
    If I change the xml < test > < name > string Jane & amp; amp; amp; John Doe < / name > < / test >... no exception and displays the following text:

    Hello Jane & amp; amp; John Doe

    any reason why the SQLX function escape is not enough and I need to double-escape it? The working version ideal, since I now have to decode the reference entity to him is not character, otherwise the code entity reference appears in the content.

    Published by: pl_sequel on 7 Sep 2011 14:12

    [4] all that requires the double escapement in a part of the xml, but not the other is suspect.

    Okay, but see my example again (tested in 11.2.0.1), no double-escaping used, and the output is correct.

    The tip of the double escapement is just what OP found as a workaround for his code, but then it is equivalent to the method = "xml" in the first place (as you showed some post after).

  • hspace box and hspace in cs6

    What happened to the boxesd in the properties for hspace and hspace around an image in cs6?  Is it because it must be done with CSS?

    The advantage of this approach is that you can apply shims margins on each side of the image rather than hspace/spacing horizontal which still affected both up/down or left/right sides also.

    Being obsolete means that) there is no guarantee for it, and b browser support) your page will not be validated when it contains tags.  While the latter is of little practical consequence, it's always a good idea to make your pages as good as possible so that it is easier to find the case-layout of invalid uses when they occur.

  • Pl/sql table as an input parameter

    Hello.

    I need to know if it is possible to use a pl/sql table as an input parameter to a stored procedure in a package.

    Right now I ve compiled the procedure correctly, but when I try to call, I´ve-PLS-00330.

    EXAMPLE:
    This is the package:

    CREATING a PACKAGE test IS
    TYPE table_list IS TABLE OF VARCHAR2 (20) INDEX directory.
    PROCEDURE proc_test (list IN table_list);
    END TEST;
    /

    Test to CREATE THE PACKAGE BODY IS
    PROCEDURE proc_test IS
    BEGIN
    BECAUSE me IN the list. ... FIRST list. LAST
    LOOP
    DBMS_OUTPUT. Put_line (i);
    END LOOP;
    END proc_test;
    END test;
    /

    And I m trying to call with a block anonimous like this:

    BEGIN
    DECLARE
    TYPE ΠIS TABLE OF VARCHAR2 (20) INDEX directory.
    BEGIN
    call_list (1): = "my_record_1";
    call_list (2): = "my_record_2";
    call_list (3): = "my_record_3";
    test.proc_test (call_list);
    END;

    And then, I ve
    ORA-06550: line 8, column 2:
    PLS-00330: invalid use of the name of type or subtype

    Do you understand how I have to do?

    Thanks for your help.

    Respect of

    You call it with the type that you defined.

    BEGIN
    DECLARE
    call_list test.table_list := test.table_list();
    BEGIN
    call_list(1) := 'my_record_1';
    call_list(2) := 'my_record_2';
    call_list(3) := 'my_record_3';
    test.proc_test(call_list);
    END;
    
  • Recordset errors

    Hi new post here. Quick history of the issues I'm having. I was running CF 8 64 bit with Vista and had the MS Access driver problem. SO I downloaded CF 9 32 bit version and can now set my data source for an Access database. No problem, here now, so it's good. Now when I define a recordset for a select query, I add several files to the Select statement and for some reason a particular record that I add, CF always puts the name of the record in brackets. that is "size" my database was no bracket included, but CF adds just on the name of the record. With CF 8, it doesn't seem to be a problem, but with version 9, it now throws an error message: adojni.ComException: invalid use of '. «, » !', ou « () ». in a query expression tblSwimwear. "" Size "in Microsoft JET database engine code 3092

    I know it's a lot to digest, but I am very confused as to what is happening here. New CF 8 had no problem with the "" around waist. I can even go and delete the brackets around size until I have test the select query and still get the error. If I leave aside the size record, I get no error.

    I will add this to ensure that '; m which covers all the bases, but when I set my datasource, I had to use Unicode in Microsoft Access as my driver. Don't know if it would make a difference, but can always let anyone who can help to know. Thanks in advance!

    not sure what you mean by fleeing with hooks. You mean put the [] around waist? Please explain.

    It seems that the forum deleted some of the characters in my post.

    Try

    SELECT tblSwimwear.Model, tblSwimwear.Style, tblSwimwear.Color and tblSwimwear. [Size], tblSwimwear.QuantityInStock FROM tblSwimwear WHERE tblSwimwear.color = 'black '.

    ORDER BY tblSwimwear.Color

Maybe you are looking for