MassIndexer fails when no entity is marked for indexing

Description

When building on the ticket monster demo, I found a less than ideal error report.
If I have 0 entity marked as @Indexed, I get the following error from calling

We probably should detect this corner case and show a nicer error.

Environment

None

Activity

Show:
George
February 4, 2014, 8:11 PM

Hello, I've also encountered this error which can be found here

http://stackoverflow.com/questions/21562205/caused-by-java-lang-illegalargumentexception-java-lang-object-is-not-an-indexe

I do not understand the cause of it, could you please elaborate on the cause and work around until this issue has been resolved?

Sanne Grinovero
February 4, 2014, 10:49 PM

actually, as I commented on SO, it looks like you're having a different issue. Happy to have a look at it, but could you please open a different issue as I'll need more details on this?
thanks

Assignee

Unassigned

Reporter

Emmanuel Bernard

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Major
Configure