Bug 63977

Summary: DisposedException in Create Table Wizard
Product: LibreOffice Reporter: Terrence Enger <lo_bugs>
Component: BaseAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: medium    
Version: 4.1.0.0.alpha0+ Master   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: typescript with java stack trace

Description Terrence Enger 2013-04-26 21:26:41 UTC
Created attachment 78537 [details]
typescript with java stack trace

Create Table Wizard gives com.sun.star.lang.DisposedException.  To reproduce ...

(1) Run soffice with options --norestore --base to create a new .odb.
    In Database Wizard Step 2 "Save and proceed", select "Open the
    database for editing".

(2) In the database window, double-click "Use Wizard to Create Table".
    Program presents Table Wizard Step 1 "Select Fields" with default
    selection Category Business and Sample table Assets.

(3) In the list "Available fields", click AssetID and then click the
    right arrow.  Program shows AssetID below the heading "Selected
    fields".

(4) Click <Next>.  Program displays Table Wizard Step 2 "Set field
    types and formats".

(5) Click <Next>.  Program displays Table Wizard Step 3 "Set primary
    key" with default selection "Create a primary key" >
    "Automatically add a primary key".

(6) Click <Next>.  Program displays Table Wizard Step 4 "Create Table"
    with default table name Assets and selection "Insert Data
    Immediately".

(7) Click <Finish>.

    Expected program action is to close the Table Wizard and display
    "Assets - Data View".

    Actual program action is to display backtrace from java
    DisposedException in the terminal and to continue to display Table
    Wizard Step 4.


My LibreOffice is master commit 6faa622, pulled 2013-04-19, configured with ...

    --enable-option-checking=fatal
    --enable-dbgutil
    --enable-crashdump
    --without-system-postgresql
    --without-myspell-dicts
    --without-help
    --with-extra-buildid

built and running on ubuntu-natty (11.04) 32-bit ...

    $ uname -a
    Linux cougar-natty 2.6.38-16-generic #67-Ubuntu SMP Thu Sep 6 18:00:43 UTC 2012 i686 athlon i386 GNU/Linux

    $ gcc --version
    gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
    Copyright (C) 2010 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    $ java -version
    java version "1.6.0_24"
    OpenJDK Runtime Environment (IcedTea6 1.11.5) (6b24-1.11.5-0ubuntu1~11.04.1)
    OpenJDK Client VM (build 20.0-b12, mixed mode, sharing)
Comment 1 Terrence Enger 2013-08-31 14:57:42 UTC
The problem seems to be gone with master commit 139a7d5, fetched
2013-08-28.