Issue Details (XML | Word | Printable)

Key: SRC-694
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Andras Hatvani
Reporter: Sebastian Rapp
Votes: 1
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Selenium Remote Control

Use of *custom browser causes NullPointerException

Created: 15/Jun/09 08:16 AM   Updated: 09/Jul/09 06:53 AM   Resolved: 09/Jul/09 06:53 AM
Return to search
Component/s: Launcher - Custom
Affects Version/s: 1.0.1
Fix Version/s: 1.0.2

Environment:
Windows XP Prof
Firefox 3.0.10
Internet Explorer 8


 Description  « Hide

Description
===========
I get an NullPoiner Exception when I try to run a HTMLSuite with a *custom browser. I looked through the source and found out, that the launchHTMLSuite
method of the AbstractBrowserLauncher class causes the NPE. The cause is that the variable browserConfigurationOptions is null and this is because the method
DestroyableRuntimeExecutingBrowserLauncher in the DestroyableRuntimeExecutingBrowserLauncher class calls the constructor of the superclass with super(sessionId, null, null);.
The third parameter is the variable browserConfigurationOptions.

Steps to reproduce
==================
Use the Selenium server 1.0.1 in Java, create a new SeleniumServer object, create a new HTMLLauncher object and call the runHTMLSuite method of the HTMLLauncher.
Use *custom as the browser parameter in the method.

Expected
========
The browser should be launched.

Actual
======
NullPointerException



Sebastian Rapp added a comment - 30/Jun/09 02:27 AM

It seems that this problem occurs not only when launching an HTML suit, but everytime you try to use a *custom browser.


Andras Hatvani made changes - 30/Jun/09 11:26 AM
Field Original Value New Value
Affects Version/s 1.0.1 [ 10552 ]
Affects Version/s 1.0.1 [ 10553 ]
Component/s Build Scripts/Tooling [ 10221 ]
Component/s TestRunner GUI/Suite Loader [ 10130 ]
Component/s Build Scripts/Tooling [ 10195 ]
Key SEL-678 SRC-694
Project Selenium [ 10030 ] Selenium Remote Control [ 10100 ]
Andras Hatvani added a comment - 30/Jun/09 11:31 AM

Assigned to myself and set newly added component 'Launcher - Custom'.


Andras Hatvani made changes - 30/Jun/09 11:31 AM
Assignee Andras Hatvani [ andras.hatvani ]
Component/s Build Scripts/Tooling [ 10195 ]
Component/s Launcher - Custom [ 10460 ]

Andras Hatvani made changes - 09/Jul/09 06:53 AM
Resolution Fixed [ 1 ]
Fix Version/s 1.0.2 [ 10702 ]
Status Open [ 1 ] Resolved [ 5 ]