Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeating table in table array ends with IllegalStateException #26

Closed
stanofujdiar opened this issue Jan 20, 2016 · 3 comments
Closed
Assignees

Comments

@stanofujdiar
Copy link

Hi,
I just add table fruit.physical to the second table fruit and run test for that

[[fruit]]
name = "apple"

[fruit.physical]
color = "red"
shape = "round"

[[fruit.variety]]
name = "red delicious"

[[fruit.variety]]
name = "granny smith"

[[fruit]]
name = "banana"

[fruit.physical]
color = "yellow"
shape = "oblong"

[[fruit.variety]]
name = "plantain"

java.lang.RuntimeException: java.lang.IllegalStateException: Duplicate table definition on line 17: [fruit.physical]

@mwanji
Copy link
Owner

mwanji commented Jan 25, 2016

Thanks so much for pointing this out. A fix is on the WIP branch. Could you possibly test to see if it solves your problem? Let me know and I'll release it to Maven Central.

@stanofujdiar
Copy link
Author

Thanks it is great and working.

@mwanji
Copy link
Owner

mwanji commented Jan 25, 2016

Great, I'm happy your problem is resolved. I've pushed it to Maven Central, it should be available in the next few hours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants