Hi,

I'm using the latest version of H2 1.3.162.

I have created database index for my ITEM table:

CREATE ALIAS IF NOT EXISTS FT_INIT FOR "org.h2.fulltext.FullText.init"
CALL FT_INIT()
CALL FT_CREATE_INDEX('PUBLIC', 'ITEM', NULL)

Later on, when I call search by using Java API:
ResultSet rs = FullText.search(conn, searchQuery,
Constant.SCROLL_PAGE_SIZE, offset);

I get the following exception:
Stack Trace >> java.lang.NullPointerException
        at org.h2.fulltext.FullText.search(FullText.java:627)
        at org.h2.fulltext.FullText.search(FullText.java:274)

Am I doing something wrong?

Thanks,
Nemanja

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to