Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Cannot use Wizards for new table or forms. | ||
---|---|---|---|
Product: | Base | Reporter: | dcarrera <daniel.carrera> |
Component: | code | Assignee: | berend.cornelius |
Status: | CLOSED DUPLICATE | QA Contact: | issues@dba <issues> |
Severity: | Trivial | ||
Priority: | P2 | CC: | issues |
Version: | 680m87 | Keywords: | needmoreinfo |
Target Milestone: | OOo 2.0.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
dcarrera
2005-03-25 04:41:43 UTC
The Forms Wizard doesn't work either. Instead of seeing a wizard, you get a new Writer document. (WTF?!) Steps: ====== 1. Create a database tables. 2. Right-click on the table. 3. Select "Form Wizard" Outcome: ======== You get a new (empty) writer document ("Untitled 1"). No form, no wizard, nothing. I've seen screenshots of how it's supposed to work, and this ain't it. If you click on "Forms" (left panel) and click on "Use Wizard to Create Form" the same thing happens. I'm updating the Summary line. hi dcarrera, I can't reproduce this. Where you have download the openoffice.org packages and which languages do you use? Have you installed java, because the wizards need java? Any other information which helps to reproduce this. Bye Marc :-( 1) I downloaded OOo_1.9.87_SolarisSparc_install.tar.gz using the standard download page. I can't remember which mirror I picked. 2) Yes, I have Java. There are two installed in this system: $ java -version java version "1.4.2_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04) Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode) $ /usr/bin/java -version java version "1.2.2" Solaris VM (build Solaris_JDK_1.2.2_10, native threads, sunwjit) Changing the Java version doesn't seem to help. 3) Other wizards seem to run fine (e.g. Letter and 'Document converter'). I guess it must be something to do with my particular setup. But I don't know what it might be, so I don't know what to test. Any suggestions? Thank you for trying. Cheers, Daniel. Hi Daniel,
> Any suggestions?
No, not really :-(
- Do you start the office via the commandline or via a icon on the desktop?
- Please start it from the commandline and execute the following macro.
Sub Main
o = createUnoService("com.sun.star.wizards.table.CallTableWizard")
o.trigger("start")
End Sub
Then you should see a NullPointer Exception on the terminal window, then we at
least know that the service can be instanced.
Bye Marc
> - Do you start the office via the commandline or via a icon on the desktop? Command line. > - Please start it from the commandline and execute the following macro. Sure. Here's the result: java.lang.NullPointerException at com.sun.star.wizards.common.Properties.hasPropertyValue(Properties.java:30) at com.sun.star.wizards.db.DBMetaData.getConnection(DBMetaData.java:485) at com.sun.star.wizards.db.TableDescriptor.getConnection(TableDescriptor.java:103) at com.sun.star.wizards.table.TableWizard.startTableWizard(TableWizard.java:334) at com.sun.star.wizards.table.CallTableWizard$TableWizardImplementation.trigger(CallTableWizard.java:126) I see the NullPointer Exception. Otherwise, this output is meaningless to me. Is it good news or bad news? Cheers, Daniel. Hi Daniel,
> Is it good news or bad news?
Both, the good news is that all works as I expect, the bad news is that I don't
know what's going wrong.
What locale do you use?
What kind of datasource do you use?
Is it possible to create a table manually?
Has any other community member an idea?
Bye Marc
> What locale do you use? The default "English" download. en-US I guess it is. > What kind of datasource do you use? This happens with both HSQLDB and dBase. > Is it possible to create a table manually? Yes. For that matter, it is also possible to make a form manually. > Has any other community member an idea? Do the wizards require Java? Should I be looking at problems with Java? I have 1.4.2_04 and 1.4.2_05 available. I have it set to _05 (though I've tried with _04 without success). What's interesting about that is that I didn't know I had _04 anywhere, and indeed, I don't know where it is. The only other Java I am aware of being here is 1.2.2_10 (see the note from Mar 29). :( Daniel. > Do the wizards require Java?
Yes, the wizards required a 1.4.2 Java.
Maybe the office doesn't use the 1.4. java, instead it use the 1.2. java.
There is a m91 version available now, can you please test this version. Maybe
the issue is fixed there.
Bye Marc
I just tried 1.9.91, no change. When I try to start the Table Wizard nothing happens. May I ask, why in the world is OOo using Java for *Wizards* ?? Why should wizards depend on a third-party product? Worse yet, one that can't even be bundled with OOo. At least if you used Python you could point out that OOo comes with Python, so it's ok. But OOo doesn't come with Java. So a significant portion of the functionality is just missing. Could someone explain to me why this decision was made? As you can see, it's really causing me a lot of trouble. > Could someone explain to me why this decision was made?
*sigh* Please ask this in the mailing list, where it belongs to. I suggest
users@ooo / discuss@ooo, since it does not only affect DB related wizards.
I can confirm this with jre-1.3.1_14 (Windows) as well. Daniel, can you please check in the tools-options->OpenOffice.org-Java dialog what OOo thinks what java version is used ? set plattform to "all" because MH can confirm this with a java 1.3, I reassign this to the right developer. A jre 1.3 doesn't work on my linux ( suse 9.2 ) anymore, because of missing libraries, So I can't confirm this. If this bug is really due to jre 1.3 incomapatibility it is duplicate to bug 41296 ( Wizard project contains java methods > jdk 1.3.1) that is going to be fixed with the target OOo 2.0. *** This issue has been marked as a duplicate of 41296 *** bc: verified in src680 m162 master. No Java 1.4 functionality is used in the wizards anymore |