Assertion error on solarisstudio12.3 C++ compiler
Hi
We are moving our C++ compiler version from CC: Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25 to solarisstudio12.3 version of compiler and when we compile following C++ file using the command
/opt/solarisstudio12.3/bin/CC -O4 -features=no%conststrings -template=no%extdef -xcode=pic32 -mt -m64 -xlibmieee -znocompstrtab -DGENERATED_BUILD_CPP -DBUILD_MODE_RO -DDM_USE_STL -DCORBA_TAO -DBITS64 -DSOLARIS -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS_BITS64 -DCORBA_TAO -D_MBCS -DDLLIMPORT -D_LIB -D__MT__ -DI2_TAO_SOL -DACE_HAS_EXCEPTIONS -DSMARTHEAP -DSOLTHREADS -D__solaris -DSol210 -I. -I../utils -I../Basic -I../idls -I../Init -I../Comp -I../cont -I../../../TAO/TAO-1.5/ACE_wrappers -I../../../TAO/TAO-1.5/ACE_wrappers/TAO -I../../../TAO/TAO-1.5/ACE_wrappers/TAO/orbsvcs -I/opt/7.8-stack/SmartHeap_8.1smp/include -o expreval.o -c expreval.cpp
Its giving assertion error
"./errors_m.h", line 1850: Warning: Identifier expected instead of "}".
"./wstr.h", line 278: Warning: Len hides StringExt_m::Len.
"./any_m.h", line 25: Warning: collectionType hides Any_m::collectionType.
"./any_m.h", line 25: Warning: multiDimData hides Any_m::multiDimData.
"./../Comp/thread_m.h", line 89: Warning: env hides CThread_m::env.
"./../Comp/thread_m.h", line 97: Warning: env hides CThread_m::env.
"./allhdrs.h", line 569: Warning: Last line in file "./bit_vector.h" is not term
inated with a newline.
"../Comp/compinfobase.h", line 176: Warning: Name hides CompInfoBase::Name.
"../Comp/compinfobase.h", line 181: Warning: Name hides CompInfoBase::Name.
*>> Assertion: (../lnk/utfutils.cc, line 79)*
while processing mzrtpars.h at line 37._ ==>this is a LEX/YACC parser file generated by bison which has not changed since years
When compiling the same file with our existing compiler version CC: Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25 it compiles fine with following warnings
"/opt6/SUNWspro/bin/CC -O4 -features=no%conststrings -template=no%extdef -xcode=pic32 -mt -m64 -xlibmieee -DGENERATED_BUILD_CPP -DBUILD_MODE_RO -DDM_USE_STL -DCORBA_TAO -DBITS64 -DSOLARIS -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS_BITS64 -DCORBA_TAO -D_MBCS -DDLLIMPORT -D_LIB -D__MT__ -DI2_TAO_SOL -DACE_HAS_EXCEPTIONS -DSMARTHEAP -DSOLTHREADS -D__solaris -I. -I../utils -I../Basic -I../idls -I../Init -I../Comp -I../cont -I../../../TAO/TAO-1.5/ACE_wrappers -I../../../TAO/TAO-1.5/ACE_wrappers/TAO -I../../../TAO/TAO-1.5/ACE_wrappers/TAO/orbsvcs -I/opt/7.8-stack/SmartHeap_8.1smp/include -o expreval.o -c expreval.cpp"
"./errors_m.h", line 1850: Warning: Identifier expected instead of "}".
"./wstr.h", line 285: Warning: Len hides StringExt_m::Len.
"./any_m.h", line 32: Warning: collectionType hides Any_m::collectionType.
"./any_m.h", line 32: Warning: multiDimData hides Any_m::multiDimData.
"./../Comp/thread_m.h", line 90: Warning: env hides CThread_m::env.
"./../Comp/thread_m.h", line 98: Warning: env hides CThread_m::env.
"./allhdrs.h", line 569: Warning: Last line in file "./bit_vector.h" is not term
inated with a newline.
"../Comp/compinfobase.h", line 177: Warning: Name hides CompInfoBase::Name.
"../Comp/compinfobase.h", line 182: Warning: Name hides CompInfoBase::Name.
"./seqseqarr.h", line 77: Warning: chunks hides DynArr_m<SynTreeNode_m>::chunks.
"expreval.cpp", line 1107: Where: While instantiating "SeqSeqArr_m<SynTreeNo
de_m>::getNumUsedChunks(unsigned&) const".
"expreval.cpp", line 1107: Where: Instantiated from non-template code.
"./seqseqarr.h", line 77: Warning: chunks hides DynArr_m<SymTabMbr_m>::chunks.
"expreval.cpp", line 1114: Where: While instantiating "SeqSeqArr_m<SymTabMbr
_m>::getNumUsedChunks(unsigned&) const".
"expreval.cpp", line 1114: Where: Instantiated from non-template code.
11 Warning(s) detected.
I am find of struck,any pointers please
Thanks
Nayeem Khan
Edited by: 970973 on Nov 13, 2012 6:42 AM
Hi
I was able to find a work around for this assertion failure
For some reason Solaris compiler was having problem parsing following Valid C++ statement
typedef union
Double numVal;
UInt32 nodeInd;
UInt32 symInd;
UInt32 strInd;
Bool boolVal;
} yy_Parser_m_stype;
So change the above statement to
Union Parser_m_stype
Double numVal;
UInt32 nodeInd;
UInt32 symInd;
UInt32 strInd;
Bool boolVal;
Typedef Parser_m_stype yy_Parser_m_stype;
This worked :-)
Thanks for all the help
Similar Messages
-
Cc got assertion error, when compiling emacs-23.3
I got an assertion error with cc as follows, when compiling emacs-23.3.
It compiles fine without the "-O" option.
I can provide a CPP processed file which reproduces it.
;; I could not find a place to report bugs, and I put it here.
;; Sorry if it is not an appropriate place.
% cc -V
cc: Sun C 5.12 SunOS_i386 2011/11/16
% cc -c -Demacs -DHAVE_CONFIG_H -I. -I/work/emacs/emacs-23.3/src -I/usr/dt/include -g -O font.c
"font.c", line 185: warning: integer overflow detected: op "<<"
"font.c", line 197: warning: integer overflow detected: op "<<"
"font.c", line 215: warning: integer overflow detected: op "<<"
"font.c", line 2995: warning: integer overflow detected: op "<<"
"font.c", line 3422: warning: integer overflow detected: op "<<"
"font.c", line 3920: warning: assignment type mismatch:
pointer to char "=" pointer to unsigned char
"font.c", line 3945: warning: assignment type mismatch:
pointer to char "=" pointer to unsigned char
"font.c", line 4026: warning: integer overflow detected: op "<<"
assertion failed in function pg_first_pass_do_block_rec() @ post_gen.c:3758
assert(blk_sp_offset_(nextb) == (current_offset + get_prologue_size() + BITS2BYTES(be_cur_local_size)))
cc: ube failed for font.cGot it ...
Reduced testcase:
% cat c.c
enum Lisp_Type
Lisp_Int0 = 0,
Lisp_Float = 7,
struct Lisp_Float
union
double data;
struct Lisp_Float *chain;
} u;
struct Lisp_Vector
unsigned int size;
struct Lisp_Vector *next;
int contents[1];
int
font_unparse_xlfd (font, pixel_size, name, nbytes)
int font;
int pixel_size;
char *name;
int nbytes;
char *f[21];
int val;
int i, j, len = 0;
val = ( ( struct Lisp_Vector * ) ( ( unsigned int ) ( ( ( font ) ) & ( ( ( ( int ) 1 ) << ( 32 - 3 ) ) - 1 ) ) ) ) -> contents [ 5 ];
if ( ( ( ( enum Lisp_Type ) ( ( ( unsigned int ) ( ( val ) ) ) >> ( 32 - 3 ) ) ) == Lisp_Float ))
i = ( ( ( void ) 0 , ( struct Lisp_Float * ) ( ( unsigned int ) ( ( val ) & ( ( ( ( int ) 1 ) << ( 32 - 3 ) ) - 1 ) ) ) ) -> u . data + 0 ) * 10;
f[2] = __builtin_alloca ( 12 );
else
f[2] = "*-*", len += 4;
% cc -g -O c.c -V
cc: Sun C 5.12 SunOS_i386 2011/11/16
acomp: Sun C 5.12 SunOS_i386 2011/11/16
"c.c", line 41: warning: implicit function declaration: __builtin_alloca
"c.c", line 41: warning: improper pointer/integer combination: op "="
iropt: Sun Compiler Common 12.3 SunOS_i386 2011/11/16
ir2hf: Sun Compiler Common 12.3 SunOS_i386 2011/11/16
ube: Sun Compiler Common 12.3 SunOS_i386 2011/11/16
assertion failed in function pg_first_pass_do_block_rec() @ post_gen.c:3758
assert(blk_sp_offset_(nextb) == (current_offset + get_prologue_size() + BITS2BYTES(be_cur_local_size)))
cc: ube failed for c.c
Bug 7167252 filed. If we find a work-around I'll post it. -
Assertion error with Workshop C++ compiler 5.0 on Solaris 8
Hi,
I am using C++ compiler version 5.0 with the latest patch 107311-16. The version info for the compiler gives:
CC: WorkShop Compilers 5.0 01/12/04 C++ 5.0 Patch 107311-16
Patch 107357-11 is also installed. But I get the following error:
Assertion: (../links/ftemplate.cc, line 435)while processing ../../services/idl/impl/IResourceTypeImpl.cpp at line 18.
There seems to be a patch(109490) for this type of error(Problem id: 4346450) for Forte 6 compiler. But is there one for Workshop 5.0?
Solaris Kernal version is: SunOS 5.8 Generic 108528-05 November 2000
Any help would be much appreciated.
Thanks for your patience,
V.BabulalThanks for the reply. The entire compile command is below:
CC -H -DUSE_OBJECTSPACE_STL -DBT_SERVICES_DECLSPEC_EXPORT -DOS_STL_ASSERT -DOS_MULTI_THREADED -DOS_PTHREADS -D_REENTRANT -D_THREAD_SAFE -library=iostream -R/opt/ospace/lib -DOS_SOLARIS_2_7 -DOS_SOLARIS_PTHREADS -DOS_REALTIME -D_POSIX_PTHREAD_SEMANTICS -DHAS_PURIFY -DHAS_PURIFY -DHOSTOS_UNIX -DHOSTOS_UNIX_SOL7-8 -DHOSTOS_UNIX_SVR4 -DUNIX_C -DBRIO_PREF_MGR -DNO_UNDOCKING -DNO_ZERO_SIZE_ALLOC -DNEW_TEXT_DRAWING -DPURIFY_ALL_LEAKS= -DPURIFY_NEW_LEAKS= -DCONNECTIVITY_Off -DUNIX_NO_GUI -DGUI_NONE -DBRIO_ZKONLY -DJPEG_IMAGE -noqueue -library=iostream -DOS_NO_TYPEID -xarch=generic -O -DNDEBUG -O -c ../../services/idl/impl/IBusinessObjectImpl.cpp -o o.6sr/services/idl/impl/IBusinessObjectImpl.o -I/briodev3/tools/purify-4.0.1-solaris2 -I/briodev3/tools/purify-4.0.1-solaris2 -I../.. -I/opt/iona/orbix_art/1.2/cxx/include -I/opt/ospace -I/opt/ospace/config -I/home/babuv/include -I/usr/local/ssl/include -I/home/babuv/openssl-0.9.6c/include -I../.. -I../../../../objectspace
We are using "object space" libraries and corba from iona technologies. I just finished porting our huge codebase from 4.2 to 5.0 but for this last problem of "Assertion error". Object space seems to support Workshop 5.0 with classic iostream libraries. Hence moving to FD6 or FD7 would mean that we wouldn't have support from "object space". -
Assert error in __memp_fget under OS X/Linux using TXN_SNAPSHOT
Hi all,
Hopefully this is a good place to file a bug report. I've been hunting down the cause of a core dump for a couple of weeks and have finally reduced it to a [small example|http://home.comcast.net/~jonathanmeredith/bugrpt.tar.gz] (I couldn't find a way to attach it to the message).
README from the tarball:
The code sample enclosed causes BDB to die with an assertion error. This is the minimal
code that causes the bug, stripped down from an Erlang port driver. It may look strange
and ugly, but it only exists to reproduce the bug.
To reproduce expand the tarball into a directory containing the BDB tarball and run make.
It will compile the library and test code then start looping through the test code. The
assertion usually occurs anywhere between 1 and 50 iterations through the test code.
The bug occurs under Mac OS X 10.5.7 (9J61) running on an 8 core [email protected] mac pro,
8Gb RAM, compiled with i686-apple-darwin9-gcc-4.2.1 and under Debianl Lenny on
4 core Xeon 5160 @ 3.00GHz, 8Gb RAM, libc 2.7-18, gcc (Debian 4.3.2-1.1) 4.3.2.
Expected output:
assert failure: ../dist/../mp/mp_fget.c/257: "bhp != NULL"
0 bugrpt 0x001284c1 __os_stack + 38
1 bugrpt 0x00124bce __os_abort + 17
2 bugrpt 0x000ba786 __db_assert + 66
3 bugrpt 0x0010f365 __memp_fget + 2274
4 bugrpt 0x0000acff __bamc_rget + 4421
5 bugrpt 0x0000923f __bam_bulk_duplicates + 5534
6 bugrpt 0x000b229d __dbc_put + 4515
7 bugrpt 0x000a0d9f __db_put + 639
8 bugrpt 0x000bf7c1 __db_put_pp + 606
9 bugrpt 0x000023bf start + 723
10 bugrpt 0x00002492 bug200 + 70
11 libSystem.B.dylib 0x91e37155 pthreadstart + 321
12 libSystem.B.dylib 0x91e37012 thread_start + 34
./loopbug: line 20: 52562 Abort trap ../bugrpt
Removing the TXN_SNAPSHOT options makes the bug go away. So does changing the size of the 'put' value.
Reducing the number of the THREADS #define increases the number of iterations required to hit the assert.
On the 4-core Debian box it took 377 reps with THREADS=2Hi Jon,
Thanks for a great test case, this made our job a little easier! If you could please send me an email to: michael dot brey at oracle dot com, I will respond to you with a patch of this issue for 4.7.
Regards,
Mike Brey, Oracle Berkeley DB -
Assertion Error in WL 4.5.1
Hi,
We are running WL 4.5.1 with SP 11 on NT and Oracle 8i as the database.
After the server has been running for quite a while and there is fair amount
of activity, the server throws the following exception. Any ideas about what
this exception means or why it is thrown?
Mon Sep 25 18:52:15 EDT 2000:<E> <T3Services>
java.rmi.RemoteException: --------------- nested within: ------------------
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
violated ]
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Error.<init>(Error.java:53)
at weblogic.utils.NestedError.<init>(NestedError.java:15)
at weblogic.utils.AssertionError.<init>(AssertionError.java:49)
at weblogic.utils.Debug.assert(Compiled Code)
at weblogic.ejb.internal.LRUCache.remove(Compiled Code)
at weblogic.ejb.internal.StatefulEJBCache.unbind(Compiled Code)
at weblogic.ejb.internal.BaseEJBContext.afterCompletion(Compiled Code)
at weblogic.ejb.internal.EntityEJBContext.afterCompletion(Compiled Code)
at weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(Compiled
Code)
at weblogic.ejb.internal.BaseEJBObject.preInvoke(Compiled Code)
at sync.server.system.SystemSessionBeanEOImpl.getSystemSessionID(Compiled
Code)
at sync.server.eventrouter.SessionHandlerServiceBean.processEvent(Compiled
Code)
at
sync.server.eventrouter.SessionHandlerServiceBeanEOImpl.processEvent(Compile
d Code)
at
sync.server.eventrouter.SessionHandlerServiceBeanEOImpl_ServiceStub.processE
vent(Compiled Code)
at sync.server.gateway.ServerGatewayBean.handleSystemMessage(Compiled Code)
at sync.server.gateway.ServerGatewayBeanEOImpl.handleSystemMessage(Compiled
Code)
at
sync.server.gateway.ServerGatewayBeanEOImpl_ServiceStub.handleSystemMessage(
Compiled Code)
at sync.server.util.SystemMessageThread.disconnect(Compiled Code)
at sync.server.util.SystemMessageThread.run(Compiled Code)
at sync.util.ThreadPoolRunner.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
; nested exception is:
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
violated ]
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.io.IOException.<init>(Compiled Code)
at java.rmi.RemoteException.<init>(Compiled Code)
at weblogic.ejb.internal.BaseEJBObject.postInvoke(Compiled Code)
at sync.server.system.SystemSessionBeanEOImpl.getSystemSessionID(Compiled
Code)
at sync.server.eventrouter.SessionHandlerServiceBean.processEvent(Compiled
Code)
at
sync.server.eventrouter.SessionHandlerServiceBeanEOImpl.processEvent(Compile
d Code)
at
sync.server.eventrouter.SessionHandlerServiceBeanEOImpl_ServiceStub.processE
vent(Compiled Code)
at sync.server.gateway.ServerGatewayBean.handleSystemMessage(Compiled Code)
at sync.server.gateway.ServerGatewayBeanEOImpl.handleSystemMessage(Compiled
Code)
at
sync.server.gateway.ServerGatewayBeanEOImpl_ServiceStub.handleSystemMessage(
Compiled Code)
at sync.server.util.SystemMessageThread.disconnect(Compiled Code)
at sync.server.util.SystemMessageThread.run(Compiled Code)
at sync.util.ThreadPoolRunner.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)This turned out to be our fault - we were told that the servers are running
sp11 but when we later checked using the admin tool, we found that wasn't
the case on this machine. sp11 was in the classpath but the directory was
wrong. I guess that's the downside to the way WL SPs work, the jvm doesn't
tell you when you have an invalid filename in the classpath so you don't
know that you are not actually running with the sp.
On the thread issue you mention, the traceback below originates in a startup
class which does manage its own threads. Isn't this a valid way to invoke
beans in weblogic?
"Rob Woollen" <[email protected]> wrote in message
news:[email protected]...
It's hard to say why you're seeing this assertion error. I would
suggest that you contact [email protected]
However, I can see that you are using your own threads within the
WebLogic server. This is not allowed and might be the cause of your
problems.
-- Rob
SG wrote:
Hi,
We are running WL 4.5.1 with SP 11 on NT and Oracle 8i as the database.
After the server has been running for quite a while and there is fair
amount
of activity, the server throws the following exception. Any ideas aboutwhat
this exception means or why it is thrown?
Mon Sep 25 18:52:15 EDT 2000:<E> <T3Services>
java.rmi.RemoteException: --------------- nestedwithin: ------------------
>>
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
violated ]
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Error.<init>(Error.java:53)
at weblogic.utils.NestedError.<init>(NestedError.java:15)
at weblogic.utils.AssertionError.<init>(AssertionError.java:49)
at weblogic.utils.Debug.assert(Compiled Code)
at weblogic.ejb.internal.LRUCache.remove(Compiled Code)
at weblogic.ejb.internal.StatefulEJBCache.unbind(Compiled Code)
at weblogic.ejb.internal.BaseEJBContext.afterCompletion(Compiled Code)
at weblogic.ejb.internal.EntityEJBContext.afterCompletion(Compiled Code)
at weblogic.ejb.internal.StatefulEJBObject.getContextForInvoke(Compiled
Code)
at weblogic.ejb.internal.BaseEJBObject.preInvoke(Compiled Code)
atsync.server.system.SystemSessionBeanEOImpl.getSystemSessionID(Compiled
Code)
atsync.server.eventrouter.SessionHandlerServiceBean.processEvent(Compiled
Code)
at
sync.server.eventrouter.SessionHandlerServiceBeanEOImpl.processEvent(Compile
d Code)
at
sync.server.eventrouter.SessionHandlerServiceBeanEOImpl_ServiceStub.processE
vent(Compiled Code)
at sync.server.gateway.ServerGatewayBean.handleSystemMessage(CompiledCode)
atsync.server.gateway.ServerGatewayBeanEOImpl.handleSystemMessage(Compiled
Code)
at
sync.server.gateway.ServerGatewayBeanEOImpl_ServiceStub.handleSystemMessage(
Compiled Code)
at sync.server.util.SystemMessageThread.disconnect(Compiled Code)
at sync.server.util.SystemMessageThread.run(Compiled Code)
at sync.util.ThreadPoolRunner.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
; nested exception is:
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
violated ]
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.io.IOException.<init>(Compiled Code)
at java.rmi.RemoteException.<init>(Compiled Code)
at weblogic.ejb.internal.BaseEJBObject.postInvoke(Compiled Code)
atsync.server.system.SystemSessionBeanEOImpl.getSystemSessionID(Compiled
Code)
atsync.server.eventrouter.SessionHandlerServiceBean.processEvent(Compiled
Code)
at
sync.server.eventrouter.SessionHandlerServiceBeanEOImpl.processEvent(Compile
d Code)
at
sync.server.eventrouter.SessionHandlerServiceBeanEOImpl_ServiceStub.processE
vent(Compiled Code)
at sync.server.gateway.ServerGatewayBean.handleSystemMessage(CompiledCode)
atsync.server.gateway.ServerGatewayBeanEOImpl.handleSystemMessage(Compiled
Code)
at
sync.server.gateway.ServerGatewayBeanEOImpl_ServiceStub.handleSystemMessage(
Compiled Code)
at sync.server.util.SystemMessageThread.disconnect(Compiled Code)
at sync.server.util.SystemMessageThread.run(Compiled Code)
at sync.util.ThreadPoolRunner.run(Compiled Code)
at java.lang.Thread.run(Compiled Code) -
I have just started using the Jexcel api. an i am in trouble.
I copied the following code from the jExcel faq on sourceforge.
for (int i = 0 ; i < numrows ; i++)
for (int j = 0 ; j < numcols ; j++)
readCell = sheet.getCell(i, j);
newCell = readCell.copyTo(i, j);
readFormat = readCell.getCellFormat();
newFormat = new WritableCellFormat(readFormat);
newCell.setCellFormat(newFormat);
newSheet.add(newCell);
}I added the necessery code. and it compiled without a problem. but
when i ran the program this line
newFormat = new WritableCellFormat(readFormat);gave a assertion error.
another problem is i was trying to change the orientation .usiong
Orientation.setOrientation(getOrientation(int));there was no effect on the display. and I could not find any examples specific to this.
any help is appreciatedHi yoster,
I have the same problem, but I couldn't solve the problem by removing a war file like you did.
It's nearly the same stacktrace:
ASSERTION FAILED *****[ Could not find dynamically generated class: 'weblogic.jdbc.rmi.internal.StatementImpl_weblogic_jdbc_wrapper_Statement_oracle_jdbc_driver_T4CStatement_921_WLStub' ].
java.lang.ClassNotFoundException: weblogic.jdbc.rmi.internal.StatementImpl_weblogic_jdbc_wrapper_Statement_oracle_jdbc_driver_T4CStatement_921_WLStub
My database is also oracle.
Do you have other ideas that could sold this ?
I hope you do, because I'm stuck ... don't know where to look anymore :(
Toni -
Assertion error using weblogic.ejbc20
I'm getting the following error message generating the jar file for my BimPspsAdjApp
WL bean:
[java] weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Couldn't
find a WLBean called "BimPspAdjApp" ]
[java] at weblogic.utils.Debug.assert(Debug.java:84)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.initialize60(CompositeMBeanDescriptor.java:218)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.init(CompositeMBeanDescriptor.java:159)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.<init>(CompositeMBeanDescriptor.java:152)
[java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:393)
[java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:126)
[java] at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:128)
[java] at weblogic.ejbc20.runBody(ejbc20.java:358)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
[java] at weblogic.ejbc20.main(ejbc20.java:460)
[java] Exception in thread "main" weblogic.utils.AssertionError: ***** ASSERTION
FAILED *****[ Couldn't find a WLBean called "BimPspAdjApp" ]
[java] at weblogic.utils.Debug.assert(Debug.java:84)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.initialize60(CompositeMBeanDescriptor.java:218)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.init(CompositeMBeanDescriptor.java:159)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.<init>(CompositeMBeanDescriptor.java:152)
[java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:393)
[java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:126)
[java] at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:128)
[java] at weblogic.ejbc20.runBody(ejbc20.java:358)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
[java] at weblogic.ejbc20.main(ejbc20.java:460)
[java] Java Result: 1
My Ant command is:
<target name = "intBimPsp">
<mkdir dir="${ejbjartmp.dir}/webserviceBim/META-INF"/>
<mkdir dir="${ejbjartmp.dir}/webserviceBim/fastway/runtime/intBimPsp"/>
<copy file="${descriptors.dir}/BimPspAdjApp-ejb-jar.xml" tofile="${ejbjartmp.dir}/webserviceBim/META-INF/ejb-jar.xml"/>
<copy file="${descriptors.dir}/BimPspAdjApp-weblogic-ejb-jar.xml" tofile="${ejbjartmp.dir}/webserviceBim/META-INF/weblogic-ejb-jar.xml"/>
<copy todir="${ejbjartmp.dir}/webserviceBim/fastway/runtime/intBimPsp/">
<fileset dir="${build.dir}/fastway/runtime/intBimPsp/"/>
</copy>
<jar jarfile="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"
basedir="${ejbjartmp.dir}/webserviceBim"/>
<java classname="weblogic.ejbc20" fork="yes" dir="${ejbjartmp.dir}">
<arg line="$pre_BimPspAdjApp.jar $BimPspAdjApp.jar"/>
<classpath>
<pathelement location="/apps/bea/wlserver6.1/lib/weblogic.jar"/>
<pathelement location="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"/>
</classpath>
</java>
<delete dir="${ejbjartmp.dir}/webserviceBim/"/>
<delete file="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"/>
</target>
Why does this assertion error occur?
ThanksAre you trying to run a EJB 2.0 bean using a EJB 1.1 DTD?
Gabriela Gonzalez wrote:
I'm getting the following error message generating the jar file for my BimPspsAdjApp
WL bean:
[java] weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Couldn't
find a WLBean called "BimPspAdjApp" ]
[java] at weblogic.utils.Debug.assert(Debug.java:84)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.initialize60(CompositeMBeanDescriptor.java:218)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.init(CompositeMBeanDescriptor.java:159)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.<init>(CompositeMBeanDescriptor.java:152)
[java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:393)
[java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:126)
[java] at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:128)
[java] at weblogic.ejbc20.runBody(ejbc20.java:358)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
[java] at weblogic.ejbc20.main(ejbc20.java:460)
[java] Exception in thread "main" weblogic.utils.AssertionError: ***** ASSERTION
FAILED *****[ Couldn't find a WLBean called "BimPspAdjApp" ]
[java] at weblogic.utils.Debug.assert(Debug.java:84)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.initialize60(CompositeMBeanDescriptor.java:218)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.init(CompositeMBeanDescriptor.java:159)
[java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.<init>(CompositeMBeanDescriptor.java:152)
[java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:393)
[java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:126)
[java] at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:128)
[java] at weblogic.ejbc20.runBody(ejbc20.java:358)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
[java] at weblogic.ejbc20.main(ejbc20.java:460)
[java] Java Result: 1
My Ant command is:
<target name = "intBimPsp">
<mkdir dir="${ejbjartmp.dir}/webserviceBim/META-INF"/>
<mkdir dir="${ejbjartmp.dir}/webserviceBim/fastway/runtime/intBimPsp"/>
<copy file="${descriptors.dir}/BimPspAdjApp-ejb-jar.xml" tofile="${ejbjartmp.dir}/webserviceBim/META-INF/ejb-jar.xml"/>
<copy file="${descriptors.dir}/BimPspAdjApp-weblogic-ejb-jar.xml" tofile="${ejbjartmp.dir}/webserviceBim/META-INF/weblogic-ejb-jar.xml"/>
<copy todir="${ejbjartmp.dir}/webserviceBim/fastway/runtime/intBimPsp/">
<fileset dir="${build.dir}/fastway/runtime/intBimPsp/"/>
</copy>
<jar jarfile="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"
basedir="${ejbjartmp.dir}/webserviceBim"/>
<java classname="weblogic.ejbc20" fork="yes" dir="${ejbjartmp.dir}">
<arg line="$pre_BimPspAdjApp.jar $BimPspAdjApp.jar"/>
<classpath>
<pathelement location="/apps/bea/wlserver6.1/lib/weblogic.jar"/>
<pathelement location="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"/>
</classpath>
</java>
<delete dir="${ejbjartmp.dir}/webserviceBim/"/>
<delete file="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"/>
</target>
Why does this assertion error occur?
Thanks--
Rajesh Mirchandani
Developer Relations Engineer
BEA Support -
Assertion error with -g: abi2_mangler::entity_expression
this happens with both WS6U2 (patched with latest patches) and Forte7EA (latest version)
yet another assertion error when debugging is enabled (-g):
$ /space/opt/SUNWspro/bin/CC -g -c sparcv9/ultrasan/main.cc -o sparcv9/ultrasan/main.o
>> Assertion: unhandled expression in abi2_mangler::entity_expression (../lnk/v2mangler.cc, line 1565)
while processing sparcv9/ultrasan/main.cc at line 0.
$
it compiles okay without warnings when "-g" is removed.
blech
i can provide sources if needed.
cheers,
/libi am using Forte 7: CC: Forte Developer 7 C++ 5.4 Patch 111715-05 2003/02/09
on Solaris 9: uname -rvpmi gives "5.9 Generic sun4u sparc SUNW,Sun-Blade-1000"
with this code snippet, saved as forte_template_expressions.cc:
template < int log2_line_size >
struct IntTemplate {
template < int log2_line_size >
struct IntTemplateArith {
typedef IntTemplate < log2_line_size + 1 > IT ;
IT * it ;
IntTemplateArith (IT * it_) : it(it_) { }
void spam(IntTemplate<6> * it) {
IntTemplateArith<5> tmp(it);
//ends
$ CC forte_template_expressions.cc -c
$ CC forte_template_expressions.cc -c -g
>> Assertion: unhandled expression in abi2_mangler::entity_expression (../lnk/v2mangler.cc, line 1574)
while processing forte_template_expressions.cc at line 0.
$
i note that the readme mentions template expressions as buggy:
o Expressions involving non-type template parameters in
the function parameter list for function templates, such
as
template<int I> void foo(mytype<2*I> ) { ... }
but this is not a function template, and anyway it works without debugging enabled.
cheers,
/lib -
Why am I getting an ORA-04052 error when I try to compile a Procedure?
Hi,
The following procedure I'm getting an ORA-04052 error when I try to compile the following procedure.
CREATE OR REPLACE PROCEDURE APPS.Find_String (
pin_referenced_name IN dba_dependencies.referenced_name%TYPE)
IS
cursor cur_get_dependancy
is
SELECT distinct owner, name, type
FROM [email protected] -- prod.world
WHERE lower(referenced_name) = lower(pin_referenced_name) --'ftbv_salesrep_all_1d'
AND referenced_type <> 'SYNONYM'
AND owner <> 'SYS'
order by name;
v_owner varchar2(40);
v_name varchar2(50);
v_type varchar2(40);
BEGIN
dbms_output.put_line(upper(pin_referenced_name)||' is found in the following objects.');
dbms_output.put_line(' ');
dbms_output.put_line(RPAD('OWNER', 30, ' ')||RPAD('NAME', 60, ' ')||RPAD('OBJECT TYPE', 30, ' '));
dbms_output.put_line('-------------------------------------------------------------------------------------------------------------------');
FOR i IN cur_get_dependancy
LOOP
v_owner := RPAD(i.owner, 30, ' ');
v_name := RPAD(i.name, 45, ' ');
v_type := RPAD(i.type, 30, ' ');
dbms_output.put_line(v_owner ||v_name|| v_type);
END LOOP;
END find_string;I'm using the link [email protected]. The procedure compiles for other database links used in the cursor including the one commented to the right of the code 'prod.world'.
What's even stranger is that I took the SELECT statement
SELECT distinct owner, name, type
FROM [email protected] -- prod.world
WHERE lower(referenced_name) = lower(pin_referenced_name) --'ftbv_salesrep_all_1d'
AND referenced_type <> 'SYNONYM'
AND owner <> 'SYS'
order by name;out of the procedure and ran it on the command line using the @pinp.world link, the SQL statement ran just fine. But when I tried to compile the above procedure with that exact same SQL statement with the exact same link I get the following string of errors.
ORA-04052: error occurred when looking up remote object [email protected]
ORA-00604: error occurred at recursive SQL level 1
ORA-02068: following severe error from PINP
ORA-03113: end-of-file on communication channelHow can the link work just fine in a regular SQL statement but then cause an error when its compiled in code that otherwise compile just fine when using any other link or even just a plain database. Does anyone have any suggestions?OK Justin,
Here's the query by itself run in another database using the @pinp.world link and querying the dba_dependencies table in the pinp.world database. As you can see the query using this link works just fine returning the requested rows. I can't figure out why the compiler is having an issue with essentially this same query when I try to compile it in a cursor in TOAD. Also this is the database (dev1.world) that I'm trying to compile this Procedure in.
By the way I'm in an Oracle 9.2.0.6 database and TOAD v9.2.
SQL> conn apps/apps1@dev1
Connected.
SQL> SELECT distinct owner, name, type
2 FROM [email protected]
3 WHERE lower(referenced_name) = lower('ALL_USERS')
4 AND referenced_type <> 'SYNONYM'
5 AND owner <> 'SYS'
6 order by name;
OWNER NAME TYPE
PUBLIC ALL_USERS SYNONYM
XDB DBMS_XDBUTIL_INT PACKAGE BODY
XDB DBMS_XDBZ0 PACKAGE BODY
SYSTEM MVIEW_EVALUATIONS VIEW
SYSTEM MVIEW_EXCEPTIONS VIEW
SYSTEM MVIEW_FILTER VIEW
SYSTEM MVIEW_LOG VIEW
SYSTEM MVIEW_RECOMMENDATIONS VIEW
SYSTEM MVIEW_WORKLOAD VIEW
ORASSO WWCTX_API PACKAGE BODY
PORTAL WWCTX_API PACKAGE BODY
ORASSO WWEXP_UTL PACKAGE BODY
PORTAL WWEXP_UTL PACKAGE BODY
PORTAL WWPOB_API_PAGE PACKAGE BODY
PORTAL WWPOF PACKAGE BODY
ORASSO WWPRO_PROVIDER_VALIDATION PACKAGE BODY
PORTAL WWPRO_PROVIDER_VALIDATION PACKAGE BODY
PORTAL WWSBR_EDIT_ATTRIBUTE PACKAGE BODY
PORTAL WWSBR_FOLDER_PORTLET PACKAGE BODY
PORTAL WWSBR_USER_PAGES_PORTLET PACKAGE BODY
ORASSO WWUTL_API_PARSE PACKAGE BODY
OWNER NAME TYPE
PORTAL WWUTL_API_PARSE PACKAGE BODY
PORTAL WWUTL_EXPORT_IMPORT_LOV PACKAGE BODY
ORASSO WWUTL_LOV PACKAGE BODY
PORTAL WWUTL_LOV PACKAGE BODY
PORTAL WWV_CONTEXT PACKAGE BODY
PORTAL WWV_CONTEXT_UTIL PACKAGE BODY
PORTAL WWV_DDL PACKAGE BODY
PORTAL WWV_GENERATE_UTL PACKAGE BODY
PORTAL WWV_GLOBAL PACKAGE
PORTAL WWV_MONITOR_DATABASE PACKAGE BODY
PORTAL WWV_PARSE_AS_SPECIFIC_USER PACKAGE BODY
PORTAL WWV_PARSE_AS_USER PACKAGE BODY
PORTAL WWV_SYS_DML PACKAGE BODY
PORTAL WWV_SYS_RENDER_HIERARCHY PACKAGE BODY
PORTAL WWV_THINGSAVE PACKAGE BODY
PORTAL WWV_UTIL PACKAGE BODY
PORTAL WWV_UTLVALID PACKAGE BODY
38 rows selected.
SQL>Let me know what you think.
Thanks again. -
We have a multithreaded CVI app (~20 threads) running on a PXIe-8135 (4 CPUs). The application never gets done starting all the threads before blue-screening with the following error:
Scheduler Asser: __1276
Scheduler Assertion Error: 80000004
Interrupt Disabled. Scheduler Enabled. ....
More details:
System
Chassis 1 PXIe-1085:
PXIe-8135 Controller
PXI-6704 (7 of them), initialize properly, thread runs successfully until blue screen
PXI-8431/8 (8 of these, total of 64 RS422 channels, about 40 being used currently for test), it is during the starting of these threads (one for each board) that it blue screens
PXIe-8374 (for using Chassis 2 as an extension of Chassis 1)
Chassis 2 PXIe-1075:
PXI-8370 (connected to PXIe-8374)
PXI-6528 (1) threads run fine
PXI-6529 (4) threads run fine
NI-8234 (4) not used currently
The scheduler error happens at different times, but always during the starting of the RS422 threads. Can anybody give a hint as to why the Scheduler Assertion Error occurs, and particularly this specific error?Hi,
I have a couple of questions for you.
1) Has this application ever worked?
2) Can you attempt to replicate this issue with less RS422 channels? Basically, is there a maximum number of RS422 channels where the error is received, or if you had only 1 channel being used, would the error still happen?
3) Do you have another PXIe controller that you can try?
4) Did anything change in your system that would have caused the error?
Kevin S
Applications Engineer
National Instruments -
The error message in excel 2003 : "compile error in hidden module AutoExecNew" could be caused by Adobe Acroate add ins, thats waht microsoft told me.I use windows xp service pack3.I have got reader newest version and photoshop 6.0. With this and also with an older reader version I got the error message when opening excel. what can I do?
Best regards RayIf you have Adobe Reader, you (probably) don't have Adobe Acrobat, a
commercial ($$) product. 5.0 is a very old release.
But you can check if the files are there anyway from long ago. See
http://support.microsoft.com/kb/307410
Aandi Inston -
i get a assertion error when trying to up load ,lightroom have follow the instructions on the adobe site and it still does not work
and ideas on how to fix the problem
tk
bigguy1965Hi,
Can you Please provide Configuration of your XP, Win7 Machine [How to post a screenshot in the forum]?
To check if Windows 7 Service Pack is already installed, follow the below steps:
Click the Start button , right-click Computer, and then click Properties.
The basic information about your computer page will open.
To check if Windows XP Service Pack is already installed, follow the below steps:
Click the Start button , right-click Computer, and then click Properties.
Click System and Service Pack Information will be listed
Please also attach log [Where do I find the Flash Player installation log on Windows?], [How to share a document] and Share the Current Version of Flash Player goto - [https://helpx.adobe.com/flash-player.html] and click on Check Now button, using about method can you place the screenshot.
Meanwhile you can also try cleaning Application Temporary Data and Try again. [c:/users/username/appdata/local/temp folder - Microsoft Community], Due to some reason the Installer file is getting corrupted which might be blocking Flash Player Installation. After cleanup try using the offline Installer [Installation problems | Flash Player | Windows]
Thanks
Piyush -
How to track the information/error of java code while compiling.
Hi,
I want all the information or errors of java code during compilation.
So that I can use this information or I can show these errors with different style.
How to get the java syntax errors?Hi,
I want all the information or errors of java code
during compilation.
So that I can use this information or I can show these
errors with different style.
How to get the java syntax errors?Redirect the STDOUT/STDERR from the the JAVA/JAVAC command to a file is one way...
For instance at the commmand line:
javac myClass.java > STDOUT.txt 2> STDERR.txt (Works for Unix variants or Windows OS's)
Then you can do what ever you want with the data contained in the files.
Hope this helps -
When exporting html and viewing locally we receive the following error... This error disappears after removing menu from top of page. This error does not occur when viewed on Outdoors360.businesscatalyst.com (our temporary site)
Muse JS Assert: Error calling selector function:Type error: Object has no method Muse Menu
Any ideas??I fix the problem.
I have carefully reviewed JAVASCRIPT files and I could see that these are not a major influence within the site, only are reference code and utilities of the same application.
By removing these files nothing has stopped working, I thought I would have some error in the sliders, or opacities, but no, nothing happened.
DELETE IT
FRANCISCO CATALDO DISEÑADOR GRÁFICO -
Assertion Error: Cannot Load Dyamically Generated Stub
Hi Everyone,
I am getting an Assertion Error in Weblogic 9.2, the root cause being a ClassNotFoundException for a dynamically-generated WL Stub for an Oracle JDBC wrapper. The partial stacktrace is as follows:
ASSERTION FAILED *****[Could not find dynamically generated class: 'weblogic.jdbc.rmi.internal.ResultSetImpl_weblogic_jdbc_wrapper_ResultSet_oracle_jdbc_driver_OracleResultSetImpl_920_WLStub']
Caused by: java.lang.ClassNotFoundException: weblogic.jdbc.rmi.internal.ResultSetImpl_weblogic_jdbc_wrapper_ResultSet_oracle_jdbc_driver_OracleResultSetImpl_920_WLStub
So...not sure if the RMI stub is never generated because/or there is something dorked up in my classpath re: Oracle. Any insight would be awesome
Thanks!
--JohnHi yoster,
I have the same problem, but I couldn't solve the problem by removing a war file like you did.
It's nearly the same stacktrace:
ASSERTION FAILED *****[ Could not find dynamically generated class: 'weblogic.jdbc.rmi.internal.StatementImpl_weblogic_jdbc_wrapper_Statement_oracle_jdbc_driver_T4CStatement_921_WLStub' ].
java.lang.ClassNotFoundException: weblogic.jdbc.rmi.internal.StatementImpl_weblogic_jdbc_wrapper_Statement_oracle_jdbc_driver_T4CStatement_921_WLStub
My database is also oracle.
Do you have other ideas that could sold this ?
I hope you do, because I'm stuck ... don't know where to look anymore :(
Toni
Maybe you are looking for
-
How can I make my Apple ID security? It has been hacked three times in a week!
Just in a week, I found my apple id(this id) has been hacked for three times! When I was trying to login in to the ITunes Connect, it returned following error, Your Apple ID or password was entered incorrectly. I'm sure I entered the password cor
-
How I Got Boxee Working On A New Arch Install -- 3/12/2011
I thought I'd post a log of how one gets boxee-source working as of version 0.9.23.15885-2. I recently built myself a new media center/apache server/seedbox and thought I would put arch on it. The Install was a breeze --- as far any arch install is
-
Page Viewer to have links open a different page
I have a custom HTML page i have created that has links to site pages. I have a page viewer web part on my home page that points to this custom HTML page. I want it so when you click on a link on this html page, it doesn't just take you to the page w
-
Good Java System Directory Server book?
Does anyone know of a good book (or books) for getting up to speed on the Sun Java System stack? I am migrating from Linux and Windows-based apps to the Sun stack and need to hit the books hard to get up to speed, but can't find much of anything newe
-
DOMParser cannot be resolved to a type
I am getting the following errors and imports are not being recognized: import org.apache.xerces.parsers.DOMParser; import org.apache.xerces.dom.traversal.NodeIteratorImpl; import org.apache.xerces.dom.DocumentImpl; import org.apache.xerces.domx.trav