473,395 Members | 1,532 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Assertion failed

Briefly I will explain the build scenario.
An utility "idlGen" is created by compiling a set of C++ files. This
utility(exe) is used to generate some idl files from some
application(A1) code. These idl files are used by application(A2) which
inturn generate C++ headers and libraries required for two applications
to communicate.
From these idl files in A2 a code generator generates Java files also

for the same purpose. Now while building the Java code using Ant, I am
getting the below error
"Assertion failed: OP_IFEQ <= OPC && OPC <= OP_IF_ACMPNE, file
bytecode.h, line 767"
This error looks like a C/C++ error, but appearing while Java
compilation.
It would be great if somebody can help out to resolve this.
I tried searching in Google, I got only one entry(link from IBM site).
But this link doesn't take me to proper page.
Please throw some light on this.
Thanks in advance

Nov 29 '05 #1
6 3059
Bhachi wrote:
Briefly I will explain the build scenario.
[...] Now while building the Java code using Ant, I am
getting the below error
"Assertion failed: OP_IFEQ <= OPC && OPC <= OP_IF_ACMPNE, file
bytecode.h, line 767"
This error looks like a C/C++ error, but appearing while Java
compilation.
It would be great if somebody can help out to resolve this.
I tried searching in Google, I got only one entry(link from IBM site).
But this link doesn't take me to proper page.
Please throw some light on this.


Please ask in a Java newsgroup. How can we help if the error appears
during Java compilation, while building Java code using some utility
that has nothing to do with Standard C++ language (except maybe that
it was programmed in it)?
Nov 29 '05 #2
Bhachi wrote:
Briefly I will explain the build scenario.
An utility "idlGen" is created by compiling a set of C++ files. This
utility(exe) is used to generate some idl files from some
application(A1) code. These idl files are used by application(A2) which
inturn generate C++ headers and libraries required for two applications
to communicate.
From these idl files in A2 a code generator generates Java files also

for the same purpose. Now while building the Java code using Ant, I am
getting the below error
"Assertion failed: OP_IFEQ <= OPC && OPC <= OP_IF_ACMPNE, file
bytecode.h, line 767"
This error looks like a C/C++ error, but appearing while Java
compilation.


Indeed, it looks like the Java compiler you are using was written in C or
C++ and crashed upon you producing an internal error message. I think, you
want to submit a bug report to the author of the program that produced this
message.
Best

Kai-Uwe Bux
Nov 29 '05 #3
You will have to be more precise in description of your problem. From
what I understand from your description is that you are using Ant tool
to build Java files. And the errror that is occurring is within some
header file which I suppose is a C/C++ header file, and not a .java
file. Ant is a generic tool to build almost anything. You can think it
of as a replacement of make tool. It accepts a .xml file as input which
contains the description of the build task. As far as I know the code
that is being built is somehow related to Java Native Interface (which
is basically an API which allows Java code to access operate with
code/library written in other languages like C,C++ or assembly. To know
more about it just visit the link below and that will clear you of any
doubt that if you are using JNI or not.

http://java.sun.com/docs/books/tutor...tep/index.html

It would be more easy to tell what's the problem if you tell what is
that you are trying to build. you can also try posting to mailing list
of the system that you are trying to build.

hope that helps,
Divick

Nov 30 '05 #4
Thanks Victor, Kai-Uwe and Divick for your suggestions and valuable
information. I will try to look into the other ways you provided. If
anyone had a similar type of error, please let me know.

A small question here, Is bytecode.h a part of HP C++ compiler?
Anybody can add information if you have..

Thanks a lot for your responses

Regds,
Bhachi

Nov 30 '05 #5
Bhachi wrote:
[..]
A small question here, Is bytecode.h a part of HP C++ compiler?
Not AFAIK.
Anybody can add information if you have..


It is very likely part of Sun's Java virtual machine source code.

V
Nov 30 '05 #6
bytecode.h is a file used by jikes compiler for Java. I am getting the
same error and my scenario is precisely the same that is being
discussed here. If you get any solution, please inform me also -
ar************@yahoo.com

Dec 6 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Todd Miller | last post by:
Hi, I recently discovered an assertion failure in the Python garbage collection system when scripts using our C extension (numarray) exit. The assertion is activated for Pythons configured using...
0
by: benevilent | last post by:
Hey, I'm getting an assertion error as a result of embedding python. "Modules/gcmodule.c:231: visit_decref: Assertion `gc->gc.gc_refs != 0' failed." I only get this assertion error with...
4
by: Morgan Leppink | last post by:
Hey all - We are running SQL 2000 with ALL available service packs, etc. applied. We just built a brand new database server, which has dual 2Ghz XEONs, 2GB memory, and the following disk...
2
by: w3r3w0lf | last post by:
hello! can anyone explain this to me? I get a "debug assertion failed" msg after some time in my prog...: file fclose.c, stream!=null thanks!
2
by: Arti Potnis | last post by:
Hi, I have an application with a function "myfunction" that opens a file and writes to it using fprintf. This application runs on a unix (sun solaris 5.8) system. I connect to this application...
2
by: Craig Klementowski | last post by:
Pardon the cross post, but I'm not sure where exactly to post this question. We have MFC application using many MFC extention DLL's. We started using a new MFC extention DLL that is mixed mode so...
4
by: ellieong | last post by:
When i try to run my program, i get this error "debug assertion failed!" and it's caused by this file called "afxtempl.h" at line 262. isn't this header file provided by c++? so how can i get rid...
0
by: lawrence | last post by:
Hi, I made a MFC ActiveX with a CwinThread Class in VC ++. Then i used it on Visual basic. When i try to make an exe i got this error : Debug Assertion Failed! Program: C:\PROGRAM...
5
by: Ron Louzon | last post by:
I have some C++ code that uses the CSingleLock( CCriticalSection *) constructor. In visual C++ 6.0, this code compiles and runs fine in both Debug and release modes. However, in Visual Studio...
4
by: Mullai | last post by:
Hi , My program gives an error message like this Debug Assertion Failed! program:................ File: wincore.cpp Line: 958 Please can anyone help me out in this issue. I have to solve...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.