Issue 12665 - Null pointer exception during default install
Summary: Null pointer exception during default install
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: 644
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: ab
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-26 12:49 UTC by schulten
Modified: 2017-05-20 10:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description schulten 2003-03-26 12:49:37 UTC
The default install throws a null pointer exception on my PC:

X:\SO\Scripting>java -version
java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)

X:\SO\Scripting>java -jar SFrameworkInstall.jar
All diagnostic output is being redirected to SFrameworkInstall.log
Location: X:\SO\Scripting\SFrameworkInstall.log
Exception in thread "main"

X:\SO\Scripting>type sframeworkinstall.log
2003-03-26 13:33:17 CET: Initialising versions
java.lang.NullPointerException
2003-03-26 13:33:17 CET:        at installer.InstUtil.findVersionFile(Unknown So
urce)
2003-03-26 13:33:17 CET:        at installer.InstUtil.buildSversionLocation(Unkn
own Source)
2003-03-26 13:33:17 CET:        at installer.Version.initComponents(Unknown Sour
ce)
2003-03-26 13:33:17 CET:        at installer.Version.<init>(Unknown Source)
2003-03-26 13:33:17 CET:        at installer.InstallWizard.initComponents(Unknow
n Source)
2003-03-26 13:33:17 CET:        at installer.InstallWizard.<init>(Unknown Source
)
2003-03-26 13:33:17 CET:        at installer.InstallWizard.main(Unknown Source)

I don't know what goes wrong and which version file is missing (sversion.ini?). 
I have the office in d:\StarOffice6.1-Beta1. But since the silent install seems 
to work fine, it must be about missing paths. Maybe the installer should ask 
for the needed version file and allow the user to browse, if it cannot find it 
by itself.

Dietrich
Comment 1 Unknown 2003-03-27 08:08:37 UTC
Dietrich

This is a known issue. The installer expects a English version of
Windows and is looking for the sversion.rc file in the following dir:

C:\Documents and Settings\<user>\Application Data

Creating an "Application Data" dir at the same level as the equivalent
German dir and copying in your sversion.rc from the German dir into it
will solve the problem.

Will be fixed in next rev.
Comment 2 Mathias_Bauer 2007-02-05 14:25:47 UTC
Andreas, I think we should check whether this issue is still valid.