KODO not reading object as BLOB

I am using Kodo JDO 2.4.3, MS SQL Server 2000, and the pure java driver
com.jnetdirect.jsql.JSQLDriver (JSQLConnect.jar ).
I have a class with a serializable object as member variable. When this
class gets persisted the member object gets stored in database(as BLOB),
but it is not populated while reading it. This object is null when
accessed through its accessor method.
Is there something I am missing? Pls help.

Manoj-
Most of the warnings are expected and can be ignored (and are caused by
the MS JDBC driver inappropriately issuing warnings when they should be
log messages, and a known bug with their ResultSet.close() method).
However, I notice that you are getting the following error:
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Violation of PRIMARY
KEY constraint 'PK__JDO_SEQUENCEX__2D7CBDC4'.
Cannot insert duplicate key in object 'JDO_SEQUENCEX'.Does this mean that anything is working at all for you under the MS
driver, or that your blob test case is completing without errors (and it
is just the case that the blob field is null)?
Also, can you post the .java and .jdo files, so we can take a look to
see if there is anything wrong with your configuration?
In article <[email protected]>, Manoj Prakash wrote:
I tried with MS's driver too, with same result. Serializable object's data
is not loaded at all, when accessed through its getter method. I do not
see the relevant SELECT statement from KODO in the console.
With MS's driver, we see much more warnings and errors printed on the
console, not sure if they are serious but look scary. Below is the console
printout of the problem, when tried with MS's driver, storing first, and
then retrieving.
0 [main] INFO kodo.Runtime - Starting Kodo JDO version 2.4.2
(kodojdo-2.4.2-20030326-1841) with capabilities: [Enterpr
ise Edition Features, Standard Edition Features, Lite Edition Features,
Evaluation License, Query Extensions, Datacache
Plug-in, Statement Batching, Global Transactions, Developer Tools, Custom
Database Dictionaries, Enterprise Databases]
50 [main] WARN kodo.Runtime - WARNING: Kodo JDO Evaluation expires in 14
days. Please contact [email protected] for
information on extending your evaluation period or purchasing a license.
201 [main] INFO kodo.MetaData -
com.solarmetric.kodo.meta.JDOMetaDataParser@976011: parsing source:
file:/C:/MANOJ/proj
ects/cc/design/high-level-design/jdev/txm/code/src/com/cyclonecommerce/txm/domain/docmgr/docmgr.jdo
611 [main] INFO kodo.MetaData -
com.solarmetric.kodo.meta.JDOMetaDataParser@5b8827: parsing source:
file:/C:/MANOJ/proj
ects/cc/design/high-level-design/jdev/txm/code/src/com/cyclonecommerce/txm/domain/queue/queue.jdo
1443 [main] INFO jdbc.JDBC - [ C:11930515; T:10105568; D:13359904 ] open:
jdbc:microsoft:sqlserver://Corw2db01;Database
Name=cc_manoj (infi)
2073 [main] INFO jdbc.JDBC - [ C:11930515; T:10105568; D:13359904 ]
close: com.solarmetric.datasource.PoolConnection@b6
0b93[[requests=0;size=0;max=0;hits=0;created=0;redundant=0;overflow=0;new=0;leaked=0;unavailable=0]]
2083 [main] INFO jdbc.JDBC - [ C:11930515; T:10105568; D:13359904 ] close
connection
2434 [main] INFO jdbc.JDBC - Using dictionary class
"com.solarmetric.kodo.impl.jdbc.schema.dict.SQLServerDictionary" to
connect to "Microsoft SQL Server" (version "Microsoft SQL Server 2000 -
8.00.534 (Intel X86)
Nov 19 2001 13:23:50
Copyright (c) 1988-2000 Microsoft Corporation
Enterprise Edition on Windows NT 5.0 (Build 2195: Service Pack 2)
") with JDBC driver "SQLServer" (version "2.2.0029")
8463 [main] INFO jdbc.JDBC - [ C:15397900; T:10105568; D:13359904 ] open:
jdbc:microsoft:sqlserver://Corw2db01;Database
Name=cc_manoj (infi)
8483 [main] WARN jdbc.JDBC - java.sql.SQLWarning: java.sql.SQLWarning:
[Microsoft][SQLServer 2000 Driver for JDBC]Datab
ase changed to cc_manoj
8483 [main] WARN jdbc.JDBC - java.sql.SQLWarning: java.sql.SQLWarning:
[Microsoft][SQLServer 2000 Driver for JDBC][SQLS
erver]Changed database context to 'cc_manoj'.
8483 [main] WARN jdbc.JDBC - java.sql.SQLWarning: java.sql.SQLWarning:
[Microsoft][SQLServer 2000 Driver for JDBC]Langu
age changed to us_english
8483 [main] WARN jdbc.JDBC - java.sql.SQLWarning: java.sql.SQLWarning:
[Microsoft][SQLServer 2000 Driver for JDBC][SQLS
erver]Changed language setting to us_english.
8934 [main] INFO jdbc.SQL - [ C:15397900; T:10105568; D:13359904 ]
preparing statement <16617866>: SELECT JDO_SEQUENCEX
SEQUENCEX FROM JDO_SEQUENCEX WHERE JDO_SEQUENCEX.PKX = ?
9004 [main] INFO jdbc.SQL - [ C:15397900; T:10105568; D:13359904 ]
executing statement <16617866>: [reused=1;params={(s
hort)0}]
9224 [main] WARN jdbc.JDBC - [ C:15397900; T:10105568; D:13359904 ] Error
when closing Statement/ResultSet
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for
JDBC][SQLServer]sp_cursorclose: The cursor identifier value
provided (abcdef0) is not valid.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown
Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown
Source)
at
com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown
Source)
at
com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown
Source)
at
com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown
Source)
at
com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
at
com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.closeCursor(Unknown
Source)
at
com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.completeRowProcessing(Unknown
Source)
at
com.microsoft.jdbc.sqlserver.SQLServerImplResultSet.close(Unknown Source)
at com.microsoft.jdbc.base.BaseResultSet.close(Unknown Source)
at
com.microsoft.jdbc.base.BaseStatement.commonTransitionToState(Unknown
Source)
at com.microsoft.jdbc.base.BaseStatement.close(Unknown Source)
at com.microsoft.jdbc.base.BasePreparedStatement.close(Unknown
Source)
at
com.solarmetric.datasource.StatementWrapper.close(StatementWrapper.java:201)
at
com.solarmetric.datasource.PreparedStatementCache$CachePreparedStatement.destroy(PreparedStatementCache.java:
278)
at
com.solarmetric.datasource.PreparedStatementCache$CachePreparedStatement.close(PreparedStatementCache.java:35
0)
at
com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.close(SQLExecutionManagerImpl.java:986)
at
com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory.updateSequence(DBSequenceFactory.java:257)
at
com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory.getNext(DBSequenceFactory.java:115)
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newDataStoreId(JDBCStoreManager.java:445)
at
com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistentFilter(PersistenceManagerImpl.java:1154)
at
com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:1096)
at
com.cyclonecommerce.txm.services.queue.impl.DocumentQueue.put(DocumentQueue.java:42)
at
com.cyclonecommerce.txm.services.queue.impl.QueueServiceImpl.enqueue(QueueServiceImpl.java:65)
at
txm.tests.unittests.queue.TestQueueMgr.testSimpleEnqueue(TestQueueMgr.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
at java.lang.reflect.Method.invoke(Method.java:327)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at junit.textui.TestRunner.doRun(TestRunner.java:116)
at junit.textui.TestRunner.doRun(TestRunner.java:109)
at junit.textui.TestRunner.run(TestRunner.java:72)
at
txm.tests.unittests.queue.TestQueueMgr.main(TestQueueMgr.java:88)
9705 [main] INFO jdbc.JDBC - [ C:14607360; T:10105568; D:13359904 ] open:
jdbc:microsoft:sqlserver://Corw2db01;Database
Name=cc_manoj (infi)
9725 [main] WARN jdbc.JDBC - java.sql.SQLWarning: java.sql.SQLWarning:
[Microsoft][SQLServer 2000 Driver for JDBC]Datab
ase changed to cc_manoj
9735 [main] WARN jdbc.JDBC - java.sql.SQLWarning: java.sql.SQLWarning:
[Microsoft][SQLServer 2000 Driver for JDBC][SQLS
erver]Changed database context to 'cc_manoj'.
9755 [main] WARN jdbc.JDBC - java.sql.SQLWarning: java.sql.SQLWarning:
[Microsoft][SQLServer 2000 Driver for JDBC]Langu
age changed to us_english
9775 [main] WARN jdbc.JDBC - java.sql.SQLWarning: java.sql.SQLWarning:
[Microsoft][SQLServer 2000 Driver for JDBC][SQLS
erver]Changed language setting to us_english.
12990 [main] INFO jdbc.SQL - [ C:14607360; T:10105568; D:13359904 ]
preparing statement <5069769>: INSERT INTO JDO_SEQU
ENCEX(PKX, SEQUENCEX) VALUES (?, ?)
13010 [main] INFO jdbc.SQL - [ C:14607360; T:10105568; D:13359904 ]
executing statement <5069769>: [reused=1;params={(s
hort)0,(long)0}]
13050 [main] INFO jdbc.JDBC - [ C:14607360; T:10105568; D:13359904 ]
close: com.solarmetric.datasource.PoolConnection@d
ee400[[requests=3;size=0;max=0;hits=0;created=3;redundant=0;overflow=2;new=2;leaked=0;unavailable=0]]
13060 [main] INFO jdbc.JDBC - [ C:14607360; T:10105568; D:13359904 ]
close connection
13080 [main] INFO jdbc.JDBC - [ C:15397900; T:10105568; D:13359904 ]
close: com.solarmetric.datasource.PoolConnection@e
af40c[[requests=3;size=0;max=0;hits=0;created=3;redundant=0;overflow=2;new=2;leaked=0;unavailable=0]]
13090 [main] INFO jdbc.JDBC - [ C:15397900; T:10105568; D:13359904 ]
close connection
E..13420 [main] INFO jdbc.JDBC - [ C:6586390; T:10105568; D:13359904 ]
open: jdbc:microsoft:sqlserver://Corw2db01;Datab
aseName=cc_manoj (infi)
13440 [main] WARN jdbc.JDBC - java.sql.SQLWarning: java.sql.SQLWarning:
[Microsoft][SQLServer 2000 Driver for JDBC]Data
base changed to cc_manoj
13450 [main] WARN jdbc.JDBC - java.sql.SQLWarning: java.sql.SQLWarning:
[Microsoft][SQLServer 2000 Driver for JDBC][SQL
Server]Changed database context to 'cc_manoj'.
13470 [main] WARN jdbc.JDBC - java.sql.SQLWarning: java.sql.SQLWarning:
[Microsoft][SQLServer 2000 Driver for JDBC]Lang
uage changed to us_english
13490 [main] WARN jdbc.JDBC - java.sql.SQLWarning: java.sql.SQLWarning:
[Microsoft][SQLServer 2000 Driver for JDBC][SQL
Server]Changed language setting to us_english.
13510 [main] INFO jdbc.SQL - [ C:6586390; T:10105568; D:13359904 ]
preparing statement <1397168>: SELECT t0.OID, t0.AXM
LDocumentOID, t0.CONFIRMATIONIDX, t0.DEQUEDATEX, t0.ENQUEDATEX,
t0.RETRYCOUNTX, t0.ENQUEDATEX FROM QUEUE t0 ORDER BY t0.
ENQUEDATEX ASC
13530 [main] INFO jdbc.SQL - [ C:6586390; T:10105568; D:13359904 ]
executing statement <1397168>: [reused=1;params={}]
14031 [main] WARN jdbc.JDBC - [ C:6586390; T:10105568; D:13359904 ] Error
when closing Statement/ResultSet
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for
JDBC][SQLServer]sp_cursorclose: The cursor identifier value
provided (abcdef0) is not valid.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown
Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown
Source)
at
com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown
Source)
at
com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown
Source)
at
com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown
Source)
at
com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
at
com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.closeCursor(Unknown
Source)
at
com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest.completeRowProcessing(Unknown
Source)
at
com.microsoft.jdbc.sqlserver.SQLServerImplResultSet.close(Unknown Source)
at com.microsoft.jdbc.base.BaseResultSet.close(Unknown Source)
at
com.microsoft.jdbc.base.BaseStatement.commonTransitionToState(Unknown
Source)
at com.microsoft.jdbc.base.BaseStatement.close(Unknown Source)
at com.microsoft.jdbc.base.BasePreparedStatement.close(Unknown
Source)
at
com.solarmetric.datasource.StatementWrapper.close(StatementWrapper.java:201)
at
com.solarmetric.datasource.PreparedStatementCache$CachePreparedStatement.destroy(PreparedStatementCache.java:
278)
at
com.solarmetric.datasource.PreparedStatementCache$CachePreparedStatement.close(PreparedStatementCache.java:35
0)
at
com.solarmetric.kodo.impl.jdbc.runtime.DefaultResultObjectProvider.free(DefaultResultObjectProvider.java:72)
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager$2.free(JDBCStoreManager.java:723)
at
com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.free(LazyResultList.java:381)
at
com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.checkComplete(LazyResultList.java:288)
at
com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(LazyResultList.java:185)
at
com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(LazyResultList.java:123)
at java.util.AbstractList$Itr.next(AbstractList.java:419)
at
com.solarmetric.kodo.runtime.objectprovider.ResultListIterator.next(ResultListIterator.java:49)
at
com.solarmetric.kodo.impl.jdbc.runtime.ResultListFactory.createResultList(ResultListFactory.java:91)
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.executeQuery(JDBCStoreManager.java:709)
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCQuery.executeQuery(JDBCQuery.java:93)
at
com.solarmetric.kodo.query.QueryImpl.executeWithMap(QueryImpl.java:792)
at com.solarmetric.kodo.query.QueryImpl.execute(QueryImpl.java:595)
at
com.cyclonecommerce.txm.services.queue.impl.DocumentQueue.get(DocumentQueue.java:60)
at
com.cyclonecommerce.txm.services.queue.impl.QueueServiceImpl.dequeue(QueueServiceImpl.java:78)
at
txm.tests.unittests.queue.TestQueueMgr.testSimpleDequeue(TestQueueMgr.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
at java.lang.reflect.Method.invoke(Method.java:327)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at junit.textui.TestRunner.doRun(TestRunner.java:116)
at junit.textui.TestRunner.doRun(TestRunner.java:109)
at junit.textui.TestRunner.run(TestRunner.java:72)
at
txm.tests.unittests.queue.TestQueueMgr.main(TestQueueMgr.java:88)
14512 [main] INFO jdbc.JDBC - [ C:6586390; T:10105568; D:13359904 ]
close: com.solarmetric.datasource.PoolConnection@64
8016[[requests=14;size=0;max=0;hits=0;created=14;redundant=0;overflow=3;new=3;leaked=0;unavailable=0]]
14522 [main] INFO jdbc.JDBC - [ C:6586390; T:10105568; D:13359904 ] close
connection
axml document in sync section = null
E..
Time: 20.07
There were 2 errors:
1)
testSimpleEnqueue(txm.tests.unittests.queue.TestQueueMgr)javax.jdo.JDOException:
com.solarmetric.kodo.impl.jdbc.sql.S
QLExceptionWrapper:
[SQL=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (0, 0)]
[PRE=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (?, ?)]
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Violation of PRIMARY
KEY constraint 'PK__JDO_SEQUENCEX__2D7CBDC4'.
Cannot insert duplicate key in object 'JDO_SEQUENCEX'.
NestedThrowables:
com.solarmetric.kodo.impl.jdbc.sql.SQLExceptionWrapper:
[SQL=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (0, 0)]
[PRE=INSERT INTO JDO_SEQUENCEX(PKX, SEQUENCEX) VALUES (?, ?)]
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Violation of PRIMARY
KEY constraint 'PK__JDO_SEQUENCEX__2D7CBDC4'.
Cannot insert duplicate key in object 'JDO_SEQUENCEX'.
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newDataStoreId(JDBCStoreManager.java:454)
at
com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistentFilter(PersistenceManagerImpl.java:1154)
at
com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:1096)
at
com.cyclonecommerce.txm.services.queue.impl.DocumentQueue.put(DocumentQueue.java:42)
at
com.cyclonecommerce.txm.services.queue.impl.QueueServiceImpl.enqueue(QueueServiceImpl.java:65)
at
txm.tests.unittests.queue.TestQueueMgr.testSimpleEnqueue(TestQueueMgr.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
at
txm.tests.unittests.queue.TestQueueMgr.main(TestQueueMgr.java:88)
NestedThrowablesStackTrace:
java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for
JDBC][SQLServer]Violation of PRIMARY KEY constraint 'PK__JD
O_SEQUENCEX__2D7CBDC4'. Cannot insert duplicate key in object
'JDO_SEQUENCEX'.
at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown
Source)
at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown
Source)
at
com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown
Source)
at
com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown
Source)
at
com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown
Source)
at
com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
at
com.microsoft.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown
Source)
at
com.microsoft.jdbc.base.BaseStatement.commonTransitionToState(Unknown
Source)
at com.microsoft.jdbc.base.BaseStatement.postImplExecute(Unknown
Source)
at
com.microsoft.jdbc.base.BasePreparedStatement.postImplExecute(Unknown
Source)
at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown
Source)
at
com.microsoft.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)
at
com.microsoft.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)
at
com.solarmetric.datasource.PreparedStatementWrapper.executeUpdate(PreparedStatementWrapper.java:111)
at
com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedStatementNonBatch(SQLExecutionManagerIm
pl.java:542)
at
com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executePreparedStatement(SQLExecutionManagerImpl.java:
511)
at
com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeInternal(SQLExecutionManagerImpl.java:405)
at
com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeNow(SQLExecutionManagerImpl.java:348)
at
com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.executeNow(SQLExecutionManagerImpl.java:337)
at
com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory.refreshTable(DBSequenceFactory.java:180)
at
com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory.getNext(DBSequenceFactory.java:128)
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newDataStoreId(JDBCStoreManager.java:445)
at
com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistentFilter(PersistenceManagerImpl.java:1154)
at
com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:1096)
at
com.cyclonecommerce.txm.services.queue.impl.DocumentQueue.put(DocumentQueue.java:42)
at
com.cyclonecommerce.txm.services.queue.impl.QueueServiceImpl.enqueue(QueueServiceImpl.java:65)
at
txm.tests.unittests.queue.TestQueueMgr.testSimpleEnqueue(TestQueueMgr.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
at
txm.tests.unittests.queue.TestQueueMgr.main(TestQueueMgr.java:88)
2)
testSimpleDequeue(txm.tests.unittests.queue.TestQueueMgr)java.lang.NullPointerException
at
txm.tests.unittests.queue.TestQueueMgr.testSimpleDequeue(TestQueueMgr.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
at
txm.tests.unittests.queue.TestQueueMgr.main(TestQueueMgr.java:88)
FAILURES!!!
Tests run: 5, Failures: 0, Errors: 2
Manoj Prakash wrote:
I can see the blob data in the SQL Server. Delete operation on this object
also works as expected, only the retrieval seems to be an issue.
Marc Prud'hommeaux wrote:
Manoj-
First, note that we do not test with the jnetdirect driver (we recommend
using the latest version of MS's own driver, which is free:
http://www.microsoft.com/sql/downloads/default.asp).
However, if you want to proceed with the jnetdirect driver, you
can check to see if this is a storage problem or a retrieval problem:
can you use the server tools to see if the row is ever populated with
the blob at all, or if it is null in the database.
In article <[email protected]>, Manoj Prakash wrote:
I am using Kodo JDO 2.4.3, MS SQL Server 2000, and the pure java driver
com.jnetdirect.jsql.JSQLDriver (JSQLConnect.jar ).
I have a class with a serializable object as member variable. When this
class gets persisted the member object gets stored in database(as BLOB),
but it is not populated while reading it. This object is null when
accessed through its accessor method.
Is there something I am missing? Pls help.
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com

Similar Messages

  • After WLS10.3 migration getBinaryStream in Oracle.sql.BLOB not reading data

    Please some one help me. After the 10.3 migration, the values in CSV file(as BLOB in DATABASE) is not read by getBinaryStream method. It returns 0. It was working before. Please find below the code:
    import oracle.jdbc.OracleResultSet;
    import oracle.sql.BLOB;
    public InputStream RetriveISfromBlob(int batchid)
                        BLOB blob;
                        InputStream instream=null;
                        try
                             Statement stmt = connection.createStatement ();
                             ResultSet resSet = stmt.executeQuery
                             ("SELECT content FROM file_upload WHERE batch_id="+batchid);
                             resSet.next();
                             System.out.println("after query");
                             /*Get the BLOB locator.*/
                             blob = ((OracleResultSet)resSet).getBLOB(1);               
                             /*get the blob's outputstream
                             any data read from this stream comes from the BLOB*/
                             instream = blob.getBinaryStream();
    Below is code from Another class which call the above method RetriveISfromBlob:
    InputStream inputstream = fileDataDAO.RetriveISfromBlob(batchId);
                   System.out.println("afterfileread");
                   CommaFileInputStream reader = new CommaFileInputStream(inputstream);
                   reader.setIgnoreFirstLine(true);
                   CommaRecord comma = reader.getCommaRecord();
                   System.out.println("Number of records -" + comma.size());     /This returns o but CSV file has lot of datas
    NOTE: When I use Ojdbc14.jar only the above code returns 0. When i use Ojdbc_6g.jar it throws NULL POINTER EXCEPTION because the code was written like import oracle.jdbc.driver.OracleResultSet; But in all cases the data in BLOB was not read
    Edited by: 833987 on Feb 4, 2011 9:07 AM

    Hi,
    The problems 1, 2 and 3 under the heading Issue 2 should be fixed in the Early Adopter release 3.1 EA3, which is now available.
    David

  • You do not have Authorization to read object 'xyz' Authorization Object

    Hi,
         I am getting the following warning message while executing the query "You do not have Authorization to read object 'xyz' Authorization Object".
         I created an Authorization object.Assigned it to the role and assigned the user to the role.
    Thanks

    Hi,
      I'm getting the same message, please if you find the origin of it, please let me know, If I find it, I'll let you know, ok?
       Thanks!!

  • Adobe Bridge CS6 undefined in not an object Help Please

    I am so sick and tired of getting this error message when I try to create a pdf contact sheet - undefined is not an object.  Can someone help me?
    What frustrates me the is there is no log file telling me what image has the problem which Bridge does not like.
    This example is of brand new eps files that were created in the last month
    I also have the same undefined object is not an object using AI files but none are shown in this example.
    If there is no solution to tell me what eps or ai file(s) bridge does not like - is there a setting I can change so Bridge skips the file it does not like?  Sorta silly skipping a file for a contact sheet but if that is a workaround to make it bridge work that would be a huge improvement versus the program not working at all, LOL...
    1. I have tried using another program to rename all my files to be sequential numbers too, so that is taking more time and I am losing the ability to find my files by name and I still get the undefined is not an object.
    2. I am to the point of using other programs to create jpeg images of AI and EPS files and then using bridge to make contact sheets and doing that takes a ton more time and is just silly to do so now I am to the point of asking for help. 
    3. Operating system is Wondows 7 - I use CS6 - Adobe Bridge for making contact sheets - screen shoot is attached - all CS6 items are up to date with updates.
    4. Yes, I have searched the internet for help and searched adobe for help --- seems like no one has posted a solution.

    I am having this same issue. I'm attempting to make a pdf in Bridge but am getting the error message "undefined is not an object." A log or a report of some kind would be very useful here to find out which object is the offender. Looking at my files they appear to be in order but obviously something is amiss....

  • Trying to create a Photomerge in Bridge, when the files open in Photoshop ( small jegs ) , I get a error message of " Unable to process latte files " / " null is not an object "

    Trying to create a Photomerge in Bridge, when the files open in Photoshop ( small jegs ) , I get a error message of " Unable to process latte files " / " null is not an object "
    Please help

    Wait a second, Photoshop can make lattes now?  Personally I prefer my coffee black, but man have I been under-utilizing this program.

  • Null is not an object

    I'm trying to make a very simple epub and am getting a "null is not an object" error.
    I am finding nothing on why I am getting this error. I have no footnotes, no embedded objects, just text.
    Anyone have an idea why this is heppening and how I can fix it?

    I tried resetting all this in another document, wondering if the file was somehow corrupted and only got the same issue. As a matter of fact, half a dozen other, previously working documents did the same thing.
    So, I wondered if my prefs were toast and trashed them. Same issue.
    Then I tried to export the file as an IDML and opening that document. Lo and behold it exported without problem.
    So I saved the document, and for laughs, re-exported the file.
    Back to the same error.
    The only thing I can think of that may have changed was installing Digital Editions.
    I noticed I don't have "Export to Digital Editions" in my file or export menu. Is there a chance it isn't working or install properly?

  • What's the difference between a not-initialed object and a null object

    hi guys, i wanna know the difference between a not-initialed object and a null object.
    for eg.
    Car c1;
    Car c2 = null;after the 2 lines , 2 Car obj-referance have been created, but no Car obj.
    1.so c2 is not refering to any object, so where do we put the null?in the heap?
    2.as no c2 is not refering to any object, what's the difference between c2 and c1?
    3.and where we store the difference-information?in the heap?

    For local variables you can't have "Car c1;" the compiler will complain.That's not true. It will only complain if you try to use it without initializing it.
    You can have (never used, so compiler doesn't care):
    public void doSomething()
       Car c1;
       System.out.println("Hello");
    }or you can have (definitely initialized, so doesn't have to be initialized where declared):
    public void doSomething(boolean goldClubMember)
       Car c1;
       if (goldClubMember)
           c1 = new Car("Lexus");
       else
           c1 = new Car("Kia");
       System.out.println("You can rent a " + c1.getMake());
    }

  • PL/SQL: ORA-22806: not an object or REF  when Using Record in Package

    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0
    I have declared a record type in my package
    create or replace
    PACKAGE MYPKG AS
      TYPE MYREC IS RECORD (VAL1 varchar2(20), val2 date);
      PROCEDURE display_error (pSQLERRM number);
      PROCEDURE P_LOAD_DATA (pStartDate Date, pEndDate Date);
      FUNCTION  F_EPI(refno1 in NUMBER,  refno2 in NUMBER) return MYREC;
    END MYPKG;
    --In My Package Body
    FUNCTION  F_EPI(refno1 in NUMBER,  refno2 in NUMBER) return MYREC is
            F_param MYREC;
            BEGIN
            select myvarchar2, mydate into MYREC from MYTable
              where myrefno1 = refno1
              and myrefno2 = refno2
            Exception
              when others then
              display_error(SQLERRM);
              RETURN F_param;
            END F_EPI ;
      PROCEDURE P_LOAD_DATA (pStartDate Date, pEndDate Date) IS
    insert into atable(myvarchar, mydate)
    select F_EPI(refno1,refno2).val1,F_EPI(refno1,refno2).val2 from tab2;
    END P_LOAD_DATA;
    I get errors
    Error(187,7): PL/SQL: SQL Statement ignored
    Error(225,7): PLS-00382: expression is of wrong type
    Error(225,7): PL/SQL: ORA-22806: not an object or REF
    When I compile the package.
    When I try to call the function from SQL I get an Invalid datatype error.

    Hi,
    Before posting any query/plsql blocks, please ensure that you have written it clean and complete with less syntax errors. ( at least general syntax errors, you can avoid). Then somebody can have an interest to check your logical error.
    About your posting, refer below solution step-by-step. It may help you, about what you are looking for? By the way, you must be knowing, what you are going to to do with. I haven't concentrated about your requirement; as it was not missing in your posting.
    drop table test;
    create table test(myvarchar varchar2(20), mydate date);
    create or replace
        package mypkg as
          type myrec is record (val1 varchar2(20), val2 date);
          --procedure display_error (psqlerrm in number); -- if you are passing sqlerrm, then parameter needs to be string type
       procedure display_error (psqlerrm in varchar2);
          procedure p_load_data (pstartdate in date, penddate in date);
          function  f_epi(refno1 in number,  refno2 in number) return myrec;
       end mypkg;
    Package created.
    --in my package body
    create or replace 
    package body mypkg as -- added
    procedure display_error (psqlerrm in varchar2) -- if you are declared a proc/func in spec, it needs to define in pkg body
    is
    begin
         null; -- you should know, what to do here
      dbms_output.put_line('Err -'||sqlerrm);
    end display_error;
    function  f_epi(refno1 in number,refno2 in number)
    return myrec
    is
    f_param myrec;
    begin
       -- select myvarchar2, mydate into MYREC from mytable
      --  where myrefno1 = refno1
      --  and myrefno2 = refno2;
        select ename, hiredate into f_param from emp -- added demo logic by using emp
        where empno = refno1
         and  mgr  = refno2;
        return f_param;  -- added
    exception
       when others then
         raise; -- if you are using OTHERS then, just raise it
       display_error(sqlerrm);  
       --return f_param; -- what is this?
    end f_epi;
    procedure p_load_data (pstartdate in date, penddate in date) -- you must be knowing the use of 2 params ???
    is
        v_rec myrec; -- added
    begin -- Added
       --insert into atable(myvarchar, mydate)
      -- select f_epi(refno1,refno2).val1,f_epi(refno1,refno2).val1 from tab2;
       -- demo logic added with static params to call f_epi
       v_rec:= f_epi(7499,7698);
       insert into test values v_rec;
        --null; 
    end p_load_data;
    end mypkg;
    Package body created.
    SQL> exec mypkg.p_load_data(null,null);
    PL/SQL procedure successfully completed.
    SQL> select * from test;
    MYVARCHAR            MYDATE
    ALLEN                20-FEB-81
    Thanks!

  • Xdb_installation_trigger does not support object creation of type SNAPSHOT

    hi everyone, i'm using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit on solaris sparc 5.10
    we like to send an email through SSL, and after searching here and there I found out that oracle DB 11g able to go throught the SSL.
    since upgrade our DB to 11g would not be an option, so i tried to export XDB of 11g and import it into XDB 10gR2 schema, it was a mess...
    then i just reinstall XDB using catnoqm.sql & catqm.sql
    and now one of our programmer cant run some script like above
    CREATE MATERIALIZED VIEW FIFSYS_MKT_SCHEME_MV_COY
    TABLESPACE MARKETING_TABLES
    PCTUSED    40
    PCTFREE    10
    INITRANS   2
    MAXTRANS   255
    STORAGE    (
    INITIAL          64K
    MINEXTENTS       1
    MAXEXTENTS       UNLIMITED
    PCTINCREASE      0
    FREELISTS        1
    FREELIST GROUPS  1
    BUFFER_POOL      DEFAULT
    +)+
    NOCACHE
    LOGGING
    NOCOMPRESS
    NOPARALLEL
    BUILD IMMEDIATE
    REFRESH FORCE ON DEMAND
    WITH PRIMARY KEY
    AS
    +/* Formatted on 9/23/2010 1:07:42 PM (QP5 v5.114.809.3010) */+
    SELECT   coy_id,
    appl_branch_id,
    appl_object_code,
    product_type,
    ppdcf_paid_date,
    SUM (scheme_adm) scheme_adm,
    SUM (appl_unit) appl_unit,
    SYSDATE mkt_sysdate
    FROM   (SELECT   NVL (a.coy_id, '01') coy_id,
    a.branch_id appl_branch_id,
    DECODE (a.buss_unit, 'NMC', '2101', 'UMC', '2102', '2352')
    appl_object_code,
    a.platform product_type,
    TRUNC (c.contract_active_date) ppdcf_paid_date,
    NVL (s.ms_amt, 0) scheme_adm,
    NVL (o.total_item, 0) appl_unit
    FROM   ordmgmt.om_trn_appl_ms_lvl_object s,
    ordmgmt.om_trn_appl_hdr a,
    acctmgmt.ar_trn_sum_contracts c,
    +( SELECT appl_no, COUNT ( * ) total_item+
    FROM   ordmgmt.om_trn_appl_object
    GROUP BY   appl_no) o
    WHERE       s.appl_no = a.appl_no
    AND a.appl_no = o.appl_no
    AND s.ms_code IN ('MS03', 'MS14')
    AND c.appl_no = a.appl_no
    AND c.contract_no = a.contract_no
    +/*AND c.office_code = a.branch_id*/+
    AND NVL (a.coy_id, '01') = NVL (c.coy_id, '01'))
    GROUP BY   coy_id,
    appl_branch_id,
    appl_object_code,
    product_type,
    ppdcf_paid_date;
    COMMENT ON MATERIALIZED VIEW FIFSYS_MKT_SCHEME_MV_COY IS 'snapshot table for snapshot MARKETING.FIFSYS_MKT_SCHEME_MV_COY';
    and this error shown:
    ORA-00604 error occurred at recursive SQL level 1
    ORA-20000 Trigger xdb_installation_trigger does not support object creation of type SNAPSHOT
    ORA-06512 at line 32
    maybe some of you know how to solve this problem??
    and, this in the script of the xdb_installation_trigger
    DROP TRIGGER SYS.XDB_INSTALLATION_TRIGGER;
    CREATE OR REPLACE TRIGGER SYS.xdb_installation_trigger
    BEFORE
    CREATE ON DATABASE
    DECLARE
    sql_text varchar2(200);
    val number;
    BEGIN
    if (dictionary_obj_owner != 'XDB') then
    if (dictionary_obj_type = 'FUNCTION' or
    dictionary_obj_type = 'INDEX' or
    dictionary_obj_type = 'PACKAGE' or
    dictionary_obj_type = 'PACKAGE BODY' or
    dictionary_obj_type = 'PROCEDURE' or
    dictionary_obj_type = 'SYNONYM' or
    dictionary_obj_type = 'TABLE' or
    dictionary_obj_type = 'TABLESPACE' or
    dictionary_obj_type = 'TYPE' or
    dictionary_obj_type = 'VIEW' or
    dictionary_obj_type = 'USER'
    +)then+
    if (dictionary_obj_type  != 'PACKAGE BODY'
    +) then+
    sql_text := 'select count(*) from ALL_OBJECTS where owner = :1 and object_name = :2 and object_type = :3';
    execute immediate sql_text into val using dictionary_obj_owner, dictionary_obj_name, dictionary_obj_type;
    if (val = 0) then
    sql_text := 'select count(*) from dropped_xdb_instll_tab where owner = :1 and object_name = :2 and object_type = :3';
    execute immediate sql_text into val using dictionary_obj_owner, dictionary_obj_name, dictionary_obj_type;
    if (val = 0) then
    insert into xdb_installation_tab values
    +(dictionary_obj_owner, dictionary_obj_name, dictionary_obj_type);+
    end if;
    end if;
    end if;
    else
    raise_application_error(-20000, 'Trigger xdb_installation_trigger does not support object creation of type '||dictionary_obj_type);
    end if;
    end if;
    end;
    +/+
    /********************************************************************************/

    i'm so careless, after checking a fresh installation of the same version DB, i dont found xdb_installation_trigger.
    so just by simply remove that trigger & everything works just fine. :)

  • Set cursor alv grid (not using objects)

    I got a question on ALV GRID (not using objects), please let me know if you have pointers. Thanks.
    Output has 2 screens both has different contents. The output is generated using internal table1 and 2 and using FM  'REUSE_ALV_GRID_DISPLAY_LVC'  (both screen use same FM).
    First screen has multiple pages of output (say 10 pages). User scrolled page 5 and line 10 of first screen and then double clicked it takes to screen #2. After completion of screen #2, the back arrow should get back to page 5 and line 10 of screen #1. Currently the back arrow gets to screen#1 page 1 and line 1. How to remember the cursor position in alv grid and instruct the cursor to go there?
    Appreciate the input.
    Note: I tried "set cursor line n" with "Scroll" command but no luck. http://help.sap.com/saphelp_nw70/helpdata/EN/9f/dba47e35c111d1829f0000e829fbfe/content.htm

    Thanks for the inputs.
    FYI, I got it implemented using method  CALL METHOD <ref.var. to CL_GUI_ALV_GRID > ->set_current_cell_via_id
    The method is called by 'REUSE_ALV_GRID_DISPLAY_LVC' form 'PF_STATUS_SET' when the ALV grid output is presented each time.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
        EXPORTING
          i_bypassing_buffer       = 'X'
          i_callback_program       = gc_repid
          i_callback_pf_status_set = 'PF_STATUS_SET'
          i_callback_user_command  = 'USER_COMMAND'
          is_layout_lvc            = lwa_layout
          it_fieldcat_lvc          = git_fc_lvc
          i_default                = ' '
        TABLES
          t_outtab                 = git_data
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
      FORM alv_event_pf_status_set USING rt_extab                
                                 TYPE slis_t_extab.
      DATA lo_ref1 TYPE REF TO cl_gui_alv_grid.
    *Get the reference to class "lo_ref1" for the ALV report
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        IMPORTING
          e_grid = lo_ref1.
    *set the focus of cursor in ALV
      CALL METHOD lo_ref1->set_current_cell_via_id
        EXPORTING
          is_row_no = gv_row. "row number where you want to focus the cursor
      ENDFORM.

  • Persistant Status Bar Notification ... error 'SP.UI.Status' is null or not an object

    I want to show a status bar that needs to be persistent on a page. for this I used the following in my master page
    function ShowStatusBarMessage(title, message)
    var statusId = SP.UI.Status.addStatus(title, message, true);
    SP.UI.Status.setStatusPriColor(statusId, 'yellow'); /* Set a status-color */
    HTML, call the JS method:
    <a onclick="ShowStatusBarMessage('Title'!','Awesome message!')">
    Display Status Bar message!
    </a>
    ref:
    http://www.zimmergren.net/archive/2010/03/17/sp-2010-dynamically-displaying-messages-to-your-users-with-the-notification-and-status-bar-areas-in-sharepoint-2010.aspx
    But what I want is
    to call the function on load. So I used pushed ny function to _spBodyOnLoadWrapper using _spBodyOnLoadFunctionNames.push("YourFunctionName");,
    it throws an error 'SP.UI.Status' is null or not an object
    Next I created and
    deployed a webcontrol and did a registerclientscript, that too gives me 'SP.UI.Status' is null or not an object
    // Define the name and type of the client scripts on the page.
    String csname1 = "AlertScript";
    Type cstype = this.GetType();
    // Get a ClientScriptManager reference from the Page class.
    ClientScriptManager cs = Page.ClientScript;
    // Check to see if the startup script is already registered.
    if (!cs.IsStartupScriptRegistered(cstype, csname1))
    StringBuilder cstext1 = new StringBuilder();
    cstext1.Append("<script type=text/javascript> alert('Hello World!');");
    cstext1.Append("var statusId = SP.UI.Status.addStatus('title', 'message', true);");
    cstext1.Append("SP.UI.Status.setStatusPriColor(statusId, 'yellow'); </");
    cstext1.Append("script>");
    cs.RegisterStartupScript(cstype, csname1, cstext1.ToString());
    What am I missing ?
    How can I get to show a status bar on load of any page, just as you get a health analyzer message when you get into the Central Admin?
    Thanks, Mano
    Mano Mangaldas | Blog : http://howtosharepoint.blogspot.com 

    Ok, for some reason, it is not working for me. Below are the code that didnt work for me
    <script type="text/javascript">
    function ShowStatusBarMessage(title, message)
    var statusId = SP.UI.Status.addStatus(title, message, true);
    SP.UI.Status.setStatusPriColor(statusId, 'red');
    ShowStatusBarMessage('Title!','Awesome message!');
    </script>
    This too didnt work
    <script type="text/javascript">
    function ShowStatusBarMessage()
    var statusId = SP.UI.Status.addStatus('Some title', 'Some message', true);
    SP.UI.Status.setStatusPriColor(statusId, 'red');
    _spBodyOnLoadFunctionNames.push("ShowStatusBarMessage");
    </script>
    I did try to register client script block programatically, that too didnt work
    String csname1 = "AlertScript";
    Type cstype = this.GetType();
    // Get a ClientScriptManager reference from the Page class.
    ClientScriptManager cs = Page.ClientScript;
    // Check to see if the startup script is already registered.
    if (!cs.IsStartupScriptRegistered(cstype, csname1))
    StringBuilder cstext1 = new StringBuilder();
    cstext1.Append("<script type=text/javascript>");
    cstext1.Append("var statusId = SP.UI.Status.addStatus('title', 'message', true);");
    cstext1.Append("SP.UI.Status.setStatusPriColor(statusId, 'yellow'); </");
    cstext1.Append("script>");
    cs.RegisterStartupScript(cstype, csname1, cstext1.ToString());
    Any help appreciated.
    But the below code works..
    <script type="text/javascript">
    function ShowStatusBarMessage(title, message)
    var statusId = SP.UI.Status.addStatus(title, message, true);
    SP.UI.Status.setStatusPriColor(statusId, 'yellow'); /* Set a status-color */
    </script>
    <a onclick="ShowStatusBarMessage('Title!','Awesome message!')" href="#">
    Display Status Bar message!
    </a>
    Thanks
    mano
    Mano Mangaldas | Blog : http://howtosharepoint.blogspot.com 

  • Apex 4.1 IR: $.datepicker._curInst' is null or not an object

    Funniest thing after upgrade from 4.0 to 4.1 - Getting page error on IR when trying to create filters:
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB7.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Timestamp: Mon, 26 Sep 2011 17:36:52 UTC
    Message: '$.datepicker._curInst' is null or not an object
    Line: 18
    Char: 130532
    Code: 0
    URI: https://xxxxxxxxxxxxx/i/javascript/apex_4_1.min.js
    Message: '$.datepicker._curInst' is null or not an object
    Line: 18
    Char: 130532
    Code: 0
    URI: https://xxxxxxxxxxxxx/i/javascript/apex_4_1.min.js
    Message: '$.datepicker._curInst' is null or not an object
    Line: 18
    Char: 130532
    Code: 0
    URI: https://xxxxxxxxxxxxx/i/javascript/apex_4_1.min.js
    Message: '$.datepicker._curInst' is null or not an object
    Line: 18
    Char: 130532
    Code: 0
    URI: https://xxxxxxxxxxxxx/i/javascript/apex_4_1.min.js
    Message: '$.datepicker._curInst' is null or not an object
    Line: 18
    Char: 130532
    Code: 0
    URI: https://xxxxxxxxxxxxx/i/javascript/apex_4_1.min.js
    And the problem solution:
    Check your IR columns. The problem occurs when column without heading exists. I had one column with &npsp; heading. I renamed that column and now IR works fine.
    Greetings from Slovenia,
    Mitja Mavrič

    I am unable to reproduce the issue from my side, since it is JavaScript issue, i would suggest to clear the browser cache, history, Temporary internet files and then try again.

  • Error: Could not read Header Mapping in Receiver Agreement

    Dear SAP experts,
    Newly installed SAP G7A PI 7.1(Acceptance box) was already released to customer.
    We are doing an initial test (BAT phase), wherein, our end-to-end scenario is, from a EP Portal application  --->  G7A PI 7.1   -->  Trading Partner via AS2 protocol.
    G7A PI is connected to Trading Partner via AS2 protocol.
    Currently, our EP Portal application is in-active at the moment, that's why we used 'manual XI submitter', to send a message from G7A PI itself going to Trading Partner.
    The message was success in the Integration engine of  G7A PI, and the output message was produced.
    As the message reached the Adapter Engine layer of G7A PI, we encountered a specific error,
    Delivering the message to the application using connection AS2_http://seeburger.com/xi failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: Fatal exception: com.seeburger.xi.connector.queue.TaskBuildException: Could not create CPAObjectMapper: InvocationTargetException caused by Could not read Header Mapping in Receiver Agreement: while trying to invoke the method com.sap.aii.af.service.cpa.Party.getParty() of an object returned from com.sap.aii.af.service.cpa.NormalizationManager.getXIParty(java.lang.String, java.lang.String, java.lang.String), Could not create CPAObjectMapper: InvocationTargetException caused by Could not read Header Mapping in Receiver Agreement: while trying to invoke the method com.sap.aii.af.service.cpa.Party.getParty() of an object returned from com.sap.aii.af.service.cpa.NormalizationManager.getXIParty(java.lang.String, java.lang.String, java.lang.String)
    Basically, "Could not create CPAObjectMapper - InvocationTargetException caused by Could not read Header Mapping in Receiver Agreement"
    I am thinking, one of the possible cause is that we used manual XI submitter, in G7A PI, instead of the utilizing the actual Sending system (EP Portal application).
    Or possible cause is that the AS2 adapter in G7A is not yet stable, thus causing the issue.
    We've already done successful connection when we're in GDD PI (Development box) during our SIT phase.
    Objects in G7A were mirror of GDD PI.
    Kindly advise for your inputs.
    Thanks!
    Gerberto

    Hi,
    It seems that the cause of the error is the unstable performance of the PI box, since, this was newly installed and there were patches that were not yet added.
    Thanks for the support!
    Gerberto

  • 9926 do not read AutoUnattend.xml on USB key

    From Vista to Windows 10 9879 I used AutoUnattend.xml on USB key to deploy.
    9926 do not read my AutoUnattend.xml who worked great with the previous versions.
    I try to modify my AutoUnattend.xml but Windows System Image manager do not want to generate the catalog and give me the message: Windows SIM was unable to generate a catalog. For troubleshooting assistance, see the topic: 'Windows System Image Manager Technical
    Reference' in Windows ADK User's Guide.
    Clic here to open the log file:
    16:26 : This application requires version 6.3.9600.16384 of the Windows ADK.
    Install this version to correct the problem
    16:29 : 
    16:29 : Windows SIM was unable to generate a catalog. For troubleshooting assistance, see the topic: 'Windows System Image Manager Technical Reference' in the Windows ADK User's Guide.
    16:29 : 
    16:29 : System.ComponentModel.Win32Exception (0x80004005): Unknown error (0xc1420117)
    Server stack trace: 
       at Microsoft.ComponentStudio.ComponentPlatformInterface.WimImageInfo.PostCreateCatalog()
       at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageInfo.CreateCatalog()
       at Microsoft.ComponentStudio.ComponentPlatformInterface.CatalogCreatorImpl.CreateCatalog(OfflineImageInfo offlineImageInfo)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.ComponentStudio.ComponentPlatformInterface.ICatalogCreator.CreateCatalog(OfflineImageInfo offlineImageInfo)
       at Microsoft.ComponentStudio.CatalogGenerator.CreateCat(ProgressDialog pd, Object o)
    I do not know what to try to make a unattended install of 9926.
    Thank you for your help.

    Hi,
    Generally speaking, WinPE would generate a setupact.log which contains if the setup process look up AutoUnattend.xml file when installing system.
    Please check it.
    Roger Lu
    TechNet Community Support

  • Indesign export to Dreamweaver XHTML, error undefined is not an object

    Please could you read the following email and make any suggestions, greatly appreciated.
    Hi Guys,
    Exporting it to a pdf and then again to HTML works okay so long as the text isnt in columns. Acrobat doesnt put the text in the right order which is a pain. Here is a breakdown of what i am doing and whats happening.
    1. Opening an indd file in SERVER NAME/Data/ONLINE/FOLDER NAME/
    2. Going to File à Cross-media Export à XHTML/Dreamweaver
    3. Saving the file in SERVER NAME/Data/ONLINE/FOLDERNAME/indd exports/
    4. In the export settings i am changing the Advanced settings to make sure there is No CSS
    5. I hit Export and get this error message: undefined is not an object
    If you go in to the indd export folder you can see that i have managed to export about half the files, the rest all have the same error message and i have no idea why.
    I have tried the following:
    1. Substituting all fonts it couldnt find on my computer for the default fonts
    2. Taking out all the images (we dont need them, just the text)
    3. Closing everything down and rebooting CS3
    4. Closing everything down and rebooting the Mac
    5. Saving the file on to the local machine and trying again

    Hi all,
    I'm getting this error "undefined is not an object" and can't get past it.
    What do you mean by "nested paragraph styles in your document"? How do I find these in my document?
    I went to all the Paragraph Styles Options -> Drop Caps and Nested Styles that I've defined im my doc and none of them have these (Drop Caps and Nested Styles) configs. Is this what you refer to?
    Thank you.

Maybe you are looking for