Flexera Software Community  

Go Back   Flexera Software Community > Products > Legacy Installer Products > InstallShield > InstallShield 10.5 - Universal Installer Projects
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-23-2006, 12:40 AM
Prospov Prospov is offline
New User (0 Posts)
 
Join Date: Feb 2006
Posts: 3
silent install wizard SetVariableAction failed with java.lang.NullPointerException

Hi All,
I am using InstallShield Universal Installer 10.5.
I've create a variable TEST_LOCATION as local variable in the Property Manager and initialized it to "C:\Program Files\Test". I then add SetVariableAction in the pre-install wizard sequence to set this variable TEST_LOCATION to "C:\Program Files\Test1".
During interactive install the wizard action work fine (i.e no error or exception is logged)
However, in silent install mode I got the following exception:
(23/05/2006 15:49:42), Install, com.installshield.product.wizardbeans.SetVariableAction, err, java.lang.NullPointerException
STACK_TRACE: 6
java.lang.NullPointerException
at com.installshield.product.wizardbeans.SetVariableAction.execute(Unknown Source)
at com.installshield.wizard.StandardWizardListener.execute(Unknown Source)
at com.installshield.wizard.StandardWizardListener.currentBeanChanged(Unknown Source)
at com.installshield.wizard.Wizard$RunThread.run(Unknown Source)

When I write to the log file the value of $V(TEST_LOCATION) it is resolved as "C:\Program Files\Test"

I find this is very puzzling.

Any help or suggestion would be much appreciated.


Thanks in advanced.


Prospov.
Reply With Quote
  #2  
Old 01-31-2008, 01:54 AM
dilip.kamalia dilip.kamalia is offline
New User (0 Posts)
 
Join Date: Jan 2008
Posts: 3
Set Variable Error

I am getting the NullPointerException even withous silent installation.
Can u give me ur code plz
Reply With Quote
  #3  
Old 09-10-2008, 01:04 AM
ast081 ast081 is offline
User (5+ Posts)
 
Join Date: Aug 2008
Posts: 6
Silent installation failure

Hello,

Even i am facing same problem.

I am using one windows get registry value action in pre-install sequence to obtain the value os startMenu path and am setting this path value to one variable like S_path using SetVariable action .And this variable am using it as $V(S_path) to many of my executeprocess and copy file action to copy some of my .ini and .ico files.

Silent installations works fine if i add this S_path to respone file with complete path .otherwise it is failing with following error

"com.installshield.product.wizardbeans.SetVariableAction, err, java.lang.NullPointerException"

I saw u r also facing similar kind of problem

Did you get any solution to this ?

Its very uregent,please if any suggestion please provide me

Thanks in advance
ast081
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 04:57 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© 2010 Flexera Software Inc. All rights reserved.