Guest User

Untitled

a guest
Jul 19th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.48 KB | None | 0 0
  1. Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: missing childLayout attribute for an element with [1] child elements. Attributes of error element [height => 25%, backgroundColor => #f60f, valign => center, width => 35%, visibleToMouse => true, align => center, id => panel]
  2.     at de.lessvoid.nifty.Nifty.loadFromFile(Nifty.java:534)
  3.     at de.lessvoid.nifty.Nifty.fromXml(Nifty.java:412)
  4.     at de.lessvoid.nifty.examples.helloworld.HelloWorldExampleMain.main(HelloWorldExampleMain.java:45)
  5. Caused by: java.lang.RuntimeException: missing childLayout attribute for an element with [1] child elements. Attributes of error element [height => 25%, backgroundColor => #f60f, valign => center, width => 35%, visibleToMouse => true, align => center, id => panel]
  6.     at de.lessvoid.nifty.loaderv2.types.ElementType.enforceChildLayout(ElementType.java:187)
  7.     at de.lessvoid.nifty.loaderv2.types.ElementType.applyStandard(ElementType.java:176)
  8.     at de.lessvoid.nifty.loaderv2.types.ElementType.create(ElementType.java:144)
  9.     at de.lessvoid.nifty.loaderv2.types.ElementType.applyChildren(ElementType.java:251)
  10.     at de.lessvoid.nifty.loaderv2.types.ElementType.applyStandard(ElementType.java:175)
  11.     at de.lessvoid.nifty.loaderv2.types.ElementType.create(ElementType.java:144)
  12.     at de.lessvoid.nifty.loaderv2.types.ScreenType.create(ScreenType.java:81)
  13.     at de.lessvoid.nifty.loaderv2.types.NiftyType.create(NiftyType.java:137)
  14.     at de.lessvoid.nifty.Nifty.loadFromFile(Nifty.java:527)
  15.     ... 2 more
Add Comment
Please, Sign In to add comment