For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

JAVA crashes while using BRepAlgoAPI_Section

Deepak Agrawal's picture


I need to find intersection of two shapes and I am in desperate need of help.
I am using following code to find out the intersection.

for(STEPPart p:part_list){
for(STEPPart q:part_list){
System.out.println("Assembly Sequences : ");
if (p!=q) {
TopoDS_Shape Shape =new BRepAlgoAPI_Common(p.getShape(),q.getShape()).shape();


This is error which I am getting
# A fatal error has been detected by the Java Runtime Environment:
# EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x75a3d3cf, pid=7804, tid=8008
# JRE version: 7.0_06-b24
# Java VM: Java HotSpot(TM) Client VM (23.2-b09 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [KERNELBASE.dll+0xd3cf] RaiseException+0x54
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
# An error report file with more information is saved as:
# C:\Users\Deepak\DARPA\OCCcode\JCAE\hs_err_pid7804.log
# If you would like to submit a bug report, please visit:
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

The error report is at