Array as static template member: Error

Hi,
I have the following piece of code:
template<class T, int NN>
class Foo {
  static T* m_array[NN];
template <class T, int NN>
T* Foo<T,NN>::m_array[NN];Forte C++ complains about the last line:
Error: An integer constant expression is required within the array subscript operator.
Does anybody know what is wrong? The g++ 3.3 does not complain...
Thanks!

The code is OK. You have found a compiler bug.
I have filed bug report 6324195 for you. If you have a Sun Service contract, you can arrange for them to tell you when a fix is available for you to try. Otherwise, you can check the Sun Studio patch patch every month or so to see whether the bug fix is available in a patch.
http://developers.sun.com/prodtech/cc/downloads/patches/index.html

Similar Messages

  • Explicit template member function call from return value of function

    i couldn't see this in the list of C++ standards not implemented <http://developers.sun.com/tools/cc/documentation/ss9_docs/mr/READMEs/c++.html> but sun studio 9 doesn't seem to allow explicit calls to template member functions where the left-hand-side is the return value of a function. here's a test-case:
    template <typename T> class Ptr {
    public:
      T* p_;
      Ptr(T* p) : p_(p) { }
      template <typename U> Ptr(const Ptr<U>& u) : p_(u.p_) { }
      template <typename U> Ptr<U> cast() const { return Ptr<U>(*this); }
    class A {
    class B : public A {
    Ptr<A> test_cast_1(const Ptr<B>& b) { return b.cast<A>(); }
    Ptr<A> test_cast_2(const Ptr<B>& b) { return Ptr<B>(b).cast<A>(); }sun studio 9 CC complains with the following message:
    "sunstudio9-template-explicit-call.cc", line 18: Error: Unexpected type name "A" encountered.
    "sunstudio9-template-explicit-call.cc", line 18: Error: Operand expected instead of ")".
    2 Error(s) detected.
    (line 18 is test_cast_2)
    is this a known bug?
    cheers,
    /lib

    you omitted the required keyword template:
    template <typename T> class Ptr {
    public:
      T* p_;
      Ptr(T* p) : p_(p) { }
      template <typename U> Ptr(const Ptr<U>& u) : p_(u.p_) { }
      template <typename U> Ptr<U> cast() const { return Ptr<U>(*this); }
    class A {
    class B : public A {
    Ptr<A> test_cast_1(const Ptr<B>& b) { return b.cast<A>(); }
    Ptr<A> test_cast_2(const Ptr<B>& b) { return Ptr<B>(b).template cast<A>(); }

  • Template declaration error when variable assigned is the same as variable declared

    Hi Fedor,
    In comm-central repository, when compiling mozilla/mfbt/Compression.cpp using -std=c++11, it results in an error as follows:
    "../dist/include/mozilla/CheckedInt.h", line 400: Error: Unexpected type name "T" encountered.
    "../dist/include/mozilla/CheckedInt.h", line 400: Error: value is not defined.
    "../dist/include/mozilla/CheckedInt.h", line 400: Error: No direct declarator preceding ">".
    "../dist/include/mozilla/CheckedInt.h", line 400: Error: A declaration does not specify a tag or an identifier.
    "../dist/include/mozilla/CheckedInt.h", line 400: Error: Default template argument cannot be specified on the definition of a class template member that appears outside of its class.
    "../dist/include/mozilla/CheckedInt.h", line 400: Error: Templates can only declare classes or functions.
    "../dist/include/mozilla/CheckedInt.h", line 413: Error: No primary specialization for partial specialization NegateImpl<T, 0>.
    "../dist/include/mozilla/CheckedInt.h", line 416: Error: Too many arguments for template mozilla::detail::NegateImpl<T>.
    8 Error(s) detected.
    After a check on the file CheckedInt.h, it was narrowed down to the following code that resulted in the failure (the variable assigned, isSigned is the same as variable being declared) :
    template<typename T, bool IsSigned = IsSigned<T>::value>
    struct NegateImpl;
    This code, however compiles without problems in gcc-4.8.
    A workaround was to use a different variable declared in the template (e.g. bool IsTSigned = IsSigned<T>). But I just wanted to be sure whether is this a bug in 12.4 Beta or whether coding rules in templates do allow this kind of declaration? Kindly advise. Thanks.
    Regards,
    Brian

    Hi Steve,
    The declaration made below is not valid when -std=c++11 is not used (it causes the same compile-time errors when using July Refresh):
    template<typename U> class IsSigned;
    template<typename T, bool IsSigned = IsSigned<T>::value>
    struct NegateImpl;
    So far, the workaround was to use a different variable declared in the template (e.g. bool IsTSigned = IsSigned<T>).
    Regards,
    Brian

  • "Template import error: No VM configure file found" on brand new setup

    Previously, I posted Console does not launch OVM 3.1.1, Win7x32 Firefox15/IE8 - Empty .jnlp file which was about VM Console not launching. Since this is a new installation, and it seemed to be a unique problem, I scratched the whole installation and started again from scratch. Everything, including the NFS file server, was re-installed from scratch CD OS installation.
    The process is pretty straightforward once you're used to it, and in less than three hours I was ready again to import my first template (a template I had imported before). But now, I submit the the request, and almost immediately the process aborts. (You can see in the information below, that 1 second passes between the Import request (06:32:36) and the failure.)
    Thing is, it takes about three minutes, even locally on the web server, to get an index of that large file (tar tzf), and at completion, the vm config file is listed.
    Am I misreading the error? My web searches for enlightenment found only one good hit on this error, and in that case it appeared to be an "out of space" issue. In this case, though, I'm importing a 5GB tarfile into a 390GB, otherwise-empty file system, so I don't think that is the issue. The failure in ovs-agent.log is below. What other information may I provide to get to the bottom of this? (Thanks for any guidance/help, of course!)
    [2012-10-31 06:31:40 3341] DEBUG (monitor:36) Cluster state changed from [Heartbeating] to [DLM_Ready]
    [2012-10-31 06:31:40 3341] INFO (notification:67) Notification sent: {CLUSTER} {MONITOR} Cluster state changed from [Heartbeating] to [DLM_Ready]
    [2012-10-31 06:31:40 3338] INFO (notification:193) Sending notification: {CLUSTER} {MONITOR} Cluster state changed from [Heartbeating] to [DLM_Ready]
    [2012-10-31 06:31:48 4914] DEBUG (service:77) discover_cluster: ()
    [2012-10-31 06:31:48 4914] DEBUG (service:85) discover_cluster: call completed.
    [2012-10-31 06:32:03 4926] DEBUG (service:77) storage_plugin_mount: ('oracle.generic.NFSPlugin.GenericNFSPlugin', {'status': '', 'admin_user': None, 'admin_host': None, 'uuid': '0004fb00000900003cf41964f3476788', 'total_sz': 0, 'admin_passwd': '******', 'storage_desc': '', 'free_sz': 0, 'access_host': 'filesrv.ps.***.com', 'storage_type': 'FileSys', 'alloc_sz': 0, 'access_grps': [], 'used_sz': 0, 'name': '0004fb00000900003cf41964f3476788'}, {'status': '', 'uuid': 'fc3564eb-ce8b-489c-96bc-df6de2cc8a11', 'ss_uuid': '0004fb00000900003cf41964f3476788', 'size': '330279518208', 'free_sz': '330075340800', 'state': 2, 'access_grp_names': [], 'access_path': 'filesrv.ps.***.com:/mnt/ps_big/repo/repo', 'name': 'nfs:/mnt/ps_big/repo/repo'}, '/OVS/Repositories/0004fb0000030000659e0ce6f2ecfb55', None, True, [])
    [2012-10-31 06:32:03 4926] INFO (storageplugin:108) storage_plugin_mount(oracle.generic.NFSPlugin.GenericNFSPlugin)
    [2012-10-31 06:32:03 4926] DEBUG (NFSPlugin:353) cmd = ['mount', '-t', 'nfs', 'filesrv.ps.***.com:/mnt/ps_big/repo/repo', '/OVS/Repositories/0004fb0000030000659e0ce6f2ecfb55']
    [2012-10-31 06:32:03 4926] DEBUG (service:85) storage_plugin_mount: call completed.
    [2012-10-31 06:32:03 4931] DEBUG (service:77) add_repository: ('filesrv.ps.***.com:/mnt/ps_big/repo/repo', '0004fb0000030000659e0ce6f2ecfb55')
    [2012-10-31 06:32:03 4931] DEBUG (service:85) add_repository: call completed.
    [2012-10-31 06:32:36 4972] DEBUG (linux:847) async call function: import_template
    [2012-10-31 06:32:36 4975] DEBUG (service:77) import_template: ('0004fb0000030000659e0ce6f2ecfb55', '0004fb0000140000fdc18a572a244015', ['http://aspire/pstop/OVM_EL5U7_X86_64_TOOLS8_52_06_PVM.tgz'])
    [2012-10-31 06:32:37 4975] INFO (notification:74) async_proc_prog: notification {ASYNC_PROC} progress PID 4975 status {'OBJECT': 'template', 'TOTAL_OBJECT_COUNT': 1, 'CURRENT_OBJECT_COUNT': 1, 'TOTAL_BYTES': 0L, 'CURRENT_BYTES': 613L, 'OPERATION': 'download'}
    [2012-10-31 06:32:37 4975] INFO (notification:67) Notification sent: {ASYNC_PROC} progress PID 4975
    [2012-10-31 06:32:37 3338] INFO (notification:193) Sending notification: {ASYNC_PROC} progress PID 4975
    [2012-10-31 06:32:37 4975] ERROR (service:96) catch_error: Template import error: No VM configure file found.
    Traceback (most recent call last):
    File "/usr/lib64/python2.4/site-packages/agent/service.py", line 94, in wrapper
    return func(*args)
    File "/usr/lib64/python2.4/site-packages/agent/hypervisor/xenxm.py", line 1041, in import_template
    raise RuntimeError('Template import error: %s' % err)
    RuntimeError: Template import error: No VM configure file found.
    [2012-10-31 06:32:37 4975] DEBUG (linux:879) ovs_async_proc: pid 4975 status 1 output Template import error: No VM configure file found.
    [2012-10-31 06:32:37 4975] INFO (notification:67) Notification sent: {ASYNC_PROC} exit PID 4975
    [2012-10-31 06:32:37 3338] INFO (notification:193) Sending notification: {ASYNC_PROC} exit PID 4975
    [2012-10-31 06:32:39 4987] DEBUG (service:77) storage_plugin_listFileSystems: ('oracle.generic.NFSPlugin.GenericNFSPlugin', {'status': '', 'admin_user': None, 'admin_host': None, 'uuid': '0004fb00000900003cf41964f3476788', 'total_sz': 0, 'admin_passwd': '******', 'storage_desc': '', 'free_sz': 0, 'access_host': 'filesrv.ps.***.com', 'storage_type': 'FileSys', 'alloc_sz': 0, 'access_grps': [], 'used_sz': 0, 'name': '0004fb00000900003cf41964f3476788'}, True)
    [2012-10-31 06:32:39 4987] INFO (storageplugin:108) storage_plugin_listFileSystems(oracle.generic.NFSPlugin.GenericNFSPlugin)
    [2012-10-31 06:32:39 4987] DEBUG (NFSPlugin:142) ENTER: listFileSysytems()
    [2012-10-31 06:32:39 4987] DEBUG (NFSPlugin:257) EXIT : listFileSysytems()
    [2012-10-31 06:32:39 4987] DEBUG (service:85) storage_plugin_listFileSystems: call completed.
    [2012-10-31 06:32:39 5005] DEBUG (service:77) discover_pool_filesystem: ()
    [2012-10-31 06:32:39 5005] DEBUG (service:85) discover_pool_filesystem: call completed.

    How did you get the template to where you staged it?
    I'd say the template is corrupt or you only have a partial template.
    I did notice the call to the template is based on the short name of the host. Can you confirm the VM manager can access the http path via short name?

  • Items in template contain errors, only correct items are transferred

    Hi guys,
    When we create SC with items from the old SC the message appears: "Items in template contain errors, only correct items are transferred". I checked SC, there are no error messages. I found that field SOURCE_REL_IND in the table BBP_PDIGP is initial. Can it be the reason of this error message?

    Hello
    I think the old items from the old SC will be validated, and therefore you got this error message.
    I would suggest to uncheck the 'Validate Product Data' (In Additional
    Functions in product catalog tab) for the external catalog in the
    following path:
    spro -> SAP IMG -> Enterprise Buyer -> Master Data ->
    Define Catalogs. Select the catalog, and then 'Goto -> Details'
    Hope this helps,
    Daniel

  • Url-template-config Error Deploying app in WLS9.1

    I am trying to deploy my application in WLS9.1 and using jdk1.5.0_08. I am getting url-template-config error. There is this file "url-template-config.xml"at
    \weblogic91\server\lib\consoleapp\webapp\WEB-INF which is where this error arises and inside that file the schema definition is:
    <url-template-config
    xmlns="http://www.bea.com/servers/weblogic/url-template-config/8.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/servers/weblogic/url-template-config/8.0 url-template-config.xsd">
    Why is weblogic 9.1 using a 8.0 defined template and is this the main problem? Please do help me out.
    -Thanks

    Hi
    Did you get solution for url-template-config issue with weblogic 9.1 . Iam also getting the same error
    15:23:22,531 [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR URLTemplateDescriptor:152
    - Exception while loading URL templates, /WEB-INF/url-template-config.xml
    Throwable: javax.servlet.ServletException: error: The document is not a url-template-config: document element namespace mismat
    ch expected "" got "http://www.bea.com/servers/weblogic/url-template-config/8.0"
    Stack Trace:
    javax.servlet.ServletException: error: The document is not a url-template-config: document element namespace mismatch expected
    "" got "http://www.bea.com/servers/weblogic/url-template-config/8.0"
    at org.apache.beehive.netui.core.urltemplates.URLTemplatesFactory.getTemplates(URLTemplatesFactory.java:131)
    at org.apache.beehive.netui.core.urltemplates.URLTemplateDescriptor.load(URLTemplateDescriptor.java:133)
    at org.apache.beehive.netui.pageflow.PageFlowContextListener.performInitializations(PageFlowContextListener.java:102)
    at org.apache.beehive.netui.pageflow.PageFlowActionServlet.init(PageFlowActionServlet.java:120)
    at com.bea.console.internal.ConsoleActionServlet.init(ConsoleActionServlet.java:185)
    at javax.servlet.GenericServlet.init(GenericServlet.java:256)
    at weblogic.servlet.AsyncInitServlet.initDelegate(AsyncInitServlet.java:94)
    at weblogic.servlet.internal.WebAppServletContext$AsyncInitRequest.run(WebAppServletContext.java:1641)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    Please let me knwo
    Thanks
    Binu

  • CDS-11010 Error: (Template expansion error) Undeclared token SQ_STARTVALUE_LABEL in C

    CDS-11010 Error: (Template expansion error) Undeclared token
    SQ_STARTVALUE_LABEL in C:\orant\CGENS72\TPL_RR\rep_seq.tpl
    According to the realease notes this bug should of been fixed.
    It appears to be lingering. Has anyone else been having this
    issue with release 4 of 6i?
    It seems to occur only when I generate sequences from the server
    model. I'm using the Designer server generator 7.2.52.1.0

    I got the same error
    I am using
    Oracle 8i Release 8.1.7 On Windows 2000
    Desginer 6i Release 4.2 on Windows NT 4 with SP6
    Regards
    Salim

  • Static class member is beying destroyed inside a Controller - Why?

    Hello,
    I need to manage a certain BigDecimal class member in a Dynpro application which will not be destroyed. This class member represents a key in a database which from few reasons I would like to manage on my own.
    In order to implement that, I have created a private static class member at the Controller and a get method in order for the other views to get it's value.
    The get method checks if the value is null.
    In case it is it queries the Database for the maximum value and return it + 1 to the requestor.
    In case it is not null it simply increments the current value by 1 and returns it to the requestor.
    According to my assumption, a DB query should happen only once since this member is static, yet when I monitor the application I see it queries the Database occasionally, which mean that the member has been destroyed.
    I tried solving that by setting the expirationTime of the application to few hours but even inside this range the variable is being destroyed.
    My questions are:
    1. What am I missing here?
    2. How and where should I manage a static variable in a Web dynpro application in order to assure it won't be destroyed during the lifetime of the application?

    Hello Valery,
    Here is the relevant code:
    At the controller I declare this static member:
    private static BigDecimal globalRequest = null;
    And here is the method:
    public java.lang.String getNewRequestNumber( java.sql.Statement statement )
        //@@begin getNewRequestNumber()
        try
              if (globalRequest == null)
                   ResultSet rs = statement.executeQuery("SELECT MAX(record_number) AS maxRecord FROM COMMITTEES_REQUEST");
                   if (rs.next())
                        BigDecimal maxRequest = rs.getBigDecimal("maxRecord");
                        globalRequest = maxRequest.add(new BigDecimal(1));
                        rs.close();
                        return (globalRequest.toString());     
                   else
                        rs.close();
                        return null;
              else
                   globalRequest = globalRequest.add(new BigDecimal(1));
                   return (globalRequest.toString());
        catch (SQLException e)
             return null;
        //@@end
    Thank you in advance,
    Roy

  • The message: "Items in template contain errors, only correct items..

    Hi guys,
    When we create SC with items from the old SC the message appears: "Items in template contain errors, only correct items are transferred". I checked SC, there are no error messages. I found that field SOURCE_REL_IND in the table BBP_PDIGP is initial. Can it be the reason of this error message?

    Hello,
    Please make sure that catalog item/customization is properly maintained including OCI field
    NEW_ITEM-EXT_PRODUCT_ID. Make sure that these items exist.
    Could you kindly UN-CHECK the 'Validate Product Data' (In Additional
    Functions in product catalog tab) for the external catalog in the
    following path
    [Transaction spro -> SAP IMG -> Enterprise Buyer -> Master Data ->
    Define Catalogs. Select the catalog, and then 'Goto -> Details'] and
    check whether the error message is coming up ?
    Kind regards,
    Gaurav

  • Compiler error with default arguments and static template function

    Hi 
    The following does not compile with visual studio 2010 sp1, and compiles with gcc.
    #include <string>
    class A
    public:
       template<class T>
       static T& Get(const std::wstring&);
    class B
     public:
      void f(
        double d,
        double c =A::Get<double>(L"test"));
    int main()
        B b;
        b.f(5);
    It gives me the following error 
    error C2783: 'T & A::Get(const wchar_t *)' : could not deduce template argument for 'T'
    If I change Get to be global function and not static function of A, it compiles.

    It seems to be a compiler bug.  It fails in VS2012, but compiles in VS2013.
    For completion sake, the problem exists if A is a namespace containing Get.  But not if Get is global.
    The only solutions I can see are try to workaround the problem (make Get global) or upgrade to a newer version of VS.

  • Static __thread member : class vs. template

    Hello,
    I am observing a kind of mismatch between simple class declaration and
    class template instantiation.
    ----- working.cpp ---------
    class A {
    static __thread int a;
    __thread int A::a;
    ----- failing.cpp ---------
    template<typename TT> class TA {
    typedef TT TA_type;
    static __thread TT a;
    typedef TA<int> A;
    template<> __thread A::TA_type A::a;
    Why does sunCC 5.10 tells me that in the 2nd case __thread
    is not allowed here? (gcc for example insists of __thread being
    specified here).
    Thanks!
    --L
    Edited by: Landmann on Nov 27, 2008 7:12 AM
    Edited by: Landmann on Nov 27, 2008 7:18 AM

    The bug number is 6779114, and you can track its status at [http://bugs.sun.com]
    If you have a service contract with Sun, you can have the bug escalated to get a fix sooner, and also get a pre-release version of a patch with the bug fix.

  • Template compiler error!

    Hi Igor and everyone.
    The following line causes a compiler error with my VS2012.
    Can somebody explain to me why please.:
    template< template<typename, typename> class BP, typename T1, typename A,
    typename... Args >
    struct are_all< BP, T1, A, Args... >
        static const bool value = are_all<BP, T1, A>::value && are_all<BP, T1,
                                  Args...>::value;
    1>atest.cpp(8): error C2143: syntax error : missing ',' before '...'
    1>atest.cpp(9): error C2143: syntax error : missing ';' before '<'
    1>atest.cpp(9): error C2059: syntax error : '<'
    1>atest.cpp(10): error C2143: syntax error : missing ';' before '{'
    1>atest.cpp(10): error C2447: '{' : missing function header (old-style formal list?)
    Regards
    Chong

    On 2/10/2015 9:28 AM, "chong kyong kim" wrote:
    The following line causes a compiler error with my VS2012.
    VS2012 doesn't support variadic templates.
    Igor Tandetnik

  • Template member function of a class template specialisation issue

    The following bit of code from gmock (http://code.google.com/p/googlemock/) caused CC 5.9 ( and Studio Express) to emit:
    "./include/gmock/gmock-printers.h", line 418: Error: static testing::internal::TuplePrefixPrinter<testing::internal::N>::PrintPrefixTo<testing::internal::TuplePrefixPrinter<testing::internal::N>::Tuple>(const testing::internal::TuplePrefixPrinter<testing::internal::N>::Tuple&, std::ostream *) already had a body defined.
    Code:
    template <size_t N>
    struct TuplePrefixPrinter {
    // Prints the first N fields of a tuple.
    template <typename Tuple>
    static void PrintPrefixTo(const Tuple& t, ::std::ostream* os) {
    TuplePrefixPrinter<N - 1>::PrintPrefixTo(t, os);
    *os << ", ";
    UniversalPrinter<typename ::std::tr1::tuple_element<N - 1, Tuple>::type>
    ::Print(::std::tr1::get<N - 1>(t), os);
    // Tersely prints the first N fields of a tuple to a string vector,
    // one element for each field.
    template <typename Tuple>
    static void TersePrintPrefixToStrings(const Tuple& t, Strings* strings) {
    TuplePrefixPrinter<N - 1>::TersePrintPrefixToStrings(t, strings);
    ::std::stringstream ss;
    UniversalTersePrint(::std::tr1::get<N - 1>(t), &ss);
    strings->push_back(ss.str());
    template <>
    template <typename Tuple>
    void TuplePrefixPrinter<1>::PrintPrefixTo(const Tuple& t, ::std::ostream* os) {
    UniversalPrinter<typename ::std::tr1::tuple_element<0, Tuple>::type>::
    Print(::std::tr1::get<0>(t), os);
    Removing the inline definition of TuplePrefixPrinter from the class and adding it after the specialisation fixed the issue.
    Ian.

    Hi, Ian. Please file a bug report at bugs.sun.com so we can track the problem.
    - Steve

  • Saving master page in search template throws error "UserAgent not available, file operations may not be optimized"

    Hi Folks,
    I was trying to save basic search template master page "seattle.master" after making change to the template.
    I have added just "CompanyName" folder and update the line below in seattle.master.
    Change is this : <SharePoint:CssRegistration Name="Themable/CompanyName/corev15.css" runat="server"/>
    When I save it, and refresh page on browser, it shows "Something went wrong" error.
    ULS says the following error : "UserAgent not Available, file operation may not be optimized"
    Pls let us know if there is a solution.
    Any help Much appreciated !
    Thanks,
    Sal
    

    Hi Salman,
    Thanks for posting this issue, 
    Just remove this below given tag and check out. It might be happened that your control is conflicting with others. 
    Also, browse the below mentioned URL for more details
    http://social.msdn.microsoft.com/Forums/office/en-US/b32d1968-81f1-42cd-8f45-798406896335/how-apply-custom-master-page-to-performance-point-dashboard-useragent-not-available-file?forum=sharepointcustomization
    I hope this is helpful to you. If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Images in RTF template giving errors

    Hi,
    I am using "XML Publisher Template Builder for Word" ver 5.6 Build 45.
    My requirement says that i need to put all data values in a Rectangular BOX. I made the template and tested the same by using Priview option of Template Buider, and it looks Good.
    Now as soon as i am trying to upload the same template it gives me NPE, i am pasting the same here....
    ## Detail 0 ##
    java.lang.NullPointerException
         at oracle.apps.xdo.XDOException.getMessage(XDOException.java:128)
         at java.lang.Throwable.getLocalizedMessage(Throwable.java:266)
         at java.lang.Throwable.toString(Throwable.java:343)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:985)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:210)
    Now after this when i closed the instance and reopen it, i found the template is already added even after that exception.
    Now i when i am trying to run report it is compliting with error and in log life, error is shown as below...
    [9/21/06 2:45:46 PM] [UNEXPECTED] [186597:RT3517534] java.sql.SQLException: No c
    orresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.
    FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LA
    NGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_C
    ODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DA
    TE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE US
    E_ALIAS_TABLE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE L.LOB_TYPE = :1 AND L.APP
    LICATION_SHORT_NAME= :2 AND L.LOB_CODE = :3 AND L.APPLICATION_SHORT_NAME = B.APP
    LICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :4 AND
    L.TERRITORY = :5 ) OR (L.LANGUAGE = :6 AND L.TERRITORY = :7) OR (L.LANGUAGE=
    B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
    As there is no row returing in this query i thing there are some prasing issues with RTF templated with images as the same report works fine without images.
    Please tell me if you have any pointer how to resove the issue.

    Hi Tim,
    We have logged SR 5803815.992, and uploaded the RTF template and a sample XML data file.
    We are currently on 11.5.10 CU2 and 11i.XDO.H
    Please let us know if you need any other information.
    Thanks

Maybe you are looking for

  • No authorization for a sales document

    Hello, We are facing a strange issue. We have some sales orders. When user is trying to Access VA02 and modify a contract, We are getting an error as "No authorization to change this sales document". We could change some sales orders. We have observe

  • Value for Retry Interval in Sender File Communication Channel

    Hi All, I am trying to set Retry Interval for File Adpter as null as per Help. <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c0

  • Query of Qeries Syntax problem

    I'm getting an error on the syntax for my SELECT statement in a Query of Queries. The code is: <cfquery name="OnOrderLogData" dbtype="Query" result="result3"> SELECT *, ROW_NUMBER() OVER([ORDER] [BY] RowNumber [ASC]) + 0 AS PageOrder FROM OOLogView W

  • Integration of BI Administrator into SAP Portal

    Hi! I would like to integrate BI Administrator into SAP Portal. All the necessary steps has been succesfully executed (Activation of technical content in SAP BI, Deployment of Business Package BI Administration 1.0). The problem I have: When I start

  • RR hardware platform recomendation

    Is there any recomendation for RR fuctionality regarding cisco boxes