Hi,
Could someone help me with this?
I've got an issue with dms queries:
String queryStr = "SELECT * FROM nt:base WHERE jcr:path like
'/pathToMy/folder/%' ";
Query q = MgnlContext.getQueryManager("dms").createQuery(queryStr, "sql");
QueryResult result = q.execute();
It raise an exception and the message is : "Unable to construct record
instance, the following exception occured: null "
The folder exists, the path is correct, document ar in there and it worked just
that well before today ... I don't know what happened?!
[WARNING] Unknown Ptg 0 (0) at cell (467,51)
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedConstructorAccessor226.newInstance(Unknown
Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
......................
Caused by: java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at
org.apache.poi.hssf.record.UnknownRecord.<init>(UnknownRecord.java:62)
...........................
[WARNING] Unknown Ptg 0 (0) at cell (467,51)
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedConstructorAccessor226.newInstance(Unknown
Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
.......................
Caused by: java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
...........................
Any idea?
Thanks for your help ...
Stéphane
************************************************************************************
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error, please notify the system manager
([EMAIL PROTECTED]) and delete the message with any attached files from your
system.
The confidentiality and integrity of this message cannot be guaranteed on the
Internet and the sender does not accept liability for its content.
***********************************************************************************
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------