Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » "IBM Notes Browser Plugin" used in SWT Browser crashes
"IBM Notes Browser Plugin" used in SWT Browser crashes [message #1075984] Tue, 30 July 2013 13:04
thomas lebrun is currently offline thomas lebrunFriend
Messages: 1
Registered: July 2013
Junior Member

We try to use the "IBM Notes Browser Plugin" in a SWT Browser, but when we set the URL to "Notes:" (that's the way to use the plugin), it crashes the JVM before the plugin is even started. So we have no log on the plugin side.

Here is the log returned by the JVM :

# A fatal error has been detected by the Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x18d463d4, pid=5200, tid=2484
# JRE version: 6.0_20-b05
# Java VM: Java HotSpot(TM) Client VM (16.3-b04 mixed mode windows-x86 )
# Problematic frame:
# C [nnpapirt.dll+0x163d4]
# 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.

--------------- T H R E A D ---------------

Current thread (0x003a7800): JavaThread "main" [_thread_in_native, id=2484, stack(0x008c0000,0x00910000)]

siginfo: ExceptionCode=0xc0000005, reading address 0xc833f052

EAX=0x00905880, EBX=0x00905e08, ECX=0x6a3983e3, EDX=0x00001fa7
ESP=0x0090587c, EBP=0x00905b5c, ESI=0xc833f04a, EDI=0x00905b5c
EIP=0x18d463d4, EFLAGS=0x00010216

Top of Stack: (sp=0x0090587c)
0x0090587c: 00000000 6aa9d49f 18d3b95b 18d3b987
0x0090588c: 6aa9db73 00000000 18412018 7c920041
0x0090589c: 18d906e8 00905964 18d65430 00000001
0x009058ac: 18d3bca5 00905b5c 18412018 6aa9db5f
0x009058bc: 00000000 00000000 18d92538 770e4920
0x009058cc: 18412018 00000000 00000000 009058b4
0x009058dc: 0017c9d0 00000000 0017c9d8 00000001
0x009058ec: 00000000 1840d708 18d90164 00000000

Instructions: (pc=0x18d463d4)
0x18d463c4: 8b f1 68 d4 a3 d6 18 8d 4c 24 08 e8 dc 01 ff ff
0x18d463d4: 8b 76 08 8d 4c 24 04 e8 90 02 ff ff 8b c6 5e 83

Stack: [0x008c0000,0x00910000], sp=0x0090587c, free space=116009053b0k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [nnpapirt.dll+0x163d4]
C [nnpapirt.dll+0x35338]
C [nnpapirt.dll+0x35ba8]
C [npntapi.dll+0x1cfe3]
C [npntapi.dll+0x1de93]
C [nnpapirt.dll+0x36bb8]
C [nnpapirt.dll+0x36e30]
C [nnpapirt.dll+0x361d8]
C [nnpapirt.dll+0x36378]
C [nnpapirt.dll+0x367b8]
C [JScript.dll+0x64691]
C [JScript.dll+0x64691]
C [JScript.dll+0x64691]
C [JScript.dll+0x64691]
C [JScript.dll+0x64691]
C [JScript.dll+0x64691]
C [JScript.dll+0x64691]
C [JScript.dll+0x64691]
C [JScript.dll+0x64691]
C [USER32.dll+0x3048f]
C [USER32.dll+0x3048f]
V [jvm.dll+0x1fd1d0]
C [javaw.exe+0xaee4]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.eclipse.swt.internal.win32.OS.DispatchMessageW(Lorg/eclipse/swt/internal/win32/MSG;)I+0
j org.eclipse.swt.internal.win32.OS.DispatchMessage(Lorg/eclipse/swt/internal/win32/MSG;)I+7
j org.eclipse.swt.widgets.Display.readAndDispatch()Z+64
j Snippet351.main([Ljava/lang/String;)V+95
v ~StubRoutines::call_stub

Here is the sample code to test (with the IBM Browser Plugin installed) :

 * Copyright (c) 2007 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * Contributors:
 *     IBM Corporation - initial API and implementation

import org.eclipse.swt.SWT;
import org.eclipse.swt.SWTError;
import org.eclipse.swt.browser.Browser;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;

public class Snippet351 {

	public static void main(String [] args) {
		Display display = new Display();
		Shell shell = new Shell(display);
		shell.setLayout(new FillLayout());
		shell.setText("Browser with Notes Plugin");
		final Browser browser;
		try {
			browser = new Browser(shell, SWT.NONE);
		} catch (SWTError e) {
			System.out.println("Could not instantiate Browser: " + e.getMessage());
		while (!shell.isDisposed()) {
			if (!display.readAndDispatch()) display.sleep();


For information, we have tried with different JRE, different Windows, and different SWT versions (3.4 & 4.2)

Thanks for your help !!


Previous Topic:Freeze instead of Exception on Mac
Next Topic:Rubberbanding without Tracker
Goto Forum:

Current Time: Fri Apr 20 07:18:05 GMT 2018

Powered by FUDForum. Page generated in 0.03018 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software