Opened 16 years ago

Closed 16 years ago

#983 closed defect (fixed) script doesn't validate parameters

Reported by: Jari Häkkinen Owned by: Nicklas Nordborg
Priority: trivial Milestone: BASE 2.6.2
Component: install Version: trunk
Keywords: Cc:


I am following the Illumina plug-in installation recipe and read that I should run BASE cores '' to create needed database support> So I do

bin> ./ 

java.lang.ArrayIndexOutOfBoundsException: 1
	at net.sf.basedb.install.InitDB.main(

???? What is wrong? Two things, I did not read the manual for how to use and the response of

I know realize that I should give a couple of arguments such as install/upgrade and a password. How I end up in line 66 is a mystery.

I run a pre-release of Java 6 on Leopard (mac).

Change History (2)

comment:1 by Nicklas Nordborg, 16 years ago

Milestone: BASE 2.6.2
Owner: changed from everyone to Nicklas Nordborg
Priority: majortrivial
Status: newassigned
Summary: Problems running script with no script doesn't validate parameters

There is a bug in the code that doesn't detect an incorrect number of parameters.

comment:2 by Nicklas Nordborg, 16 years ago

Resolution: fixed
Status: assignedclosed

(In [4214]) Fixes #983: script doesn't validate parameters

Note: See TracTickets for help on using tickets.