NullPointerException when trying to edit field of type 'SET'

Note: please leave bug reports and feature requests on

NullPointerException when trying to edit field of type 'SET'

Postby igvalor » Tue Mar 26, 2013 4:30 pm

When I try to edit a database field of type 'SET' I get dialog

'Open separate editor' has encountered a problem.
An internal error has occured.

Details:
An internal error has occurred.
java.lang.NullPointerException


DBMS: MySQL (or MariaDB) 5.5
Table engine: InnoDB
OS: Linux 32bit (Arch Linux)
Java: JRE 1.7 from Oracle
DBeaver: 2.1.0 standalone

Example DDL:

CREATE TABLE `mydata` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(128) NOT NULL,
`status` set('waiting','accepted','rejected') DEFAULT 'waiting',
`description` text,
PRIMARY KEY (`id`),
UNIQUE KEY `name_unique` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
igvalor
 
Posts: 8
Joined: Tue Mar 26, 2013 4:18 pm

Re: NullPointerException when trying to edit field of type '

Postby Serge » Wed Mar 27, 2013 8:13 am

Hello,

I've reproduced it when adding new row. Existing rows edit seems to be fine.
Anyway it is a bug and it wil be fixed in the next version (has to be released on this weekend).

Thanks for report!
Serge
 
Posts: 1526
Joined: Sat Feb 26, 2011 8:24 pm
Location: SPb


Return to Support



Who is online

Users browsing this forum: No registered users and 7 guests