vaadin / designer

Public repository for Vaadin Designer
https://vaadin.com/designer
16 stars 3 forks source link

Empty primary-style-name will stuck Edit mode / Preview mode (Intellij IDEA) #1189

Closed velafrys closed 6 years ago

velafrys commented 8 years ago

Full code :

<!doctype html>
<html>
 <head>
  <meta charset="UTF-8" name="design-properties" content="{&quot;RULERS_VISIBLE&quot;:true,&quot;GUIDELINES_VISIBLE&quot;:false,&quot;SNAP_TO_OBJECTS&quot;:true,&quot;SNAP_TO_GRID&quot;:true,&quot;SNAPPING_DISTANCE&quot;:10,&quot;THEME&quot;:&quot;mytheme&quot;,&quot;JAVA_SOURCES_ROOT&quot;:&quot;src/main/java&quot;}">
  <meta charset="UTF-8" name="vaadin-version" content="7.7.0">
 </head> 
 <body> 
  <vaadin-vertical-layout primary-style-name="" size-full> 
  </vaadin-vertical-layout>  
 </body>
</html>

primary-style-name="" - core of problem

Stacktrace in IDEA :

java.lang.IllegalArgumentException
java.lang.Throwable: java.lang.IllegalArgumentException
    at Unknown.Ig(Throwable.java:116)
    at Unknown.Pg(Exception.java:29)
    at Unknown.Rg(RuntimeException.java:29)
    at Unknown.iie(IllegalArgumentException.java:29)
    at Unknown.Prb(UIObject.java:358)
    at Unknown.xrb(UIObject.java:743)
    at Unknown.Qrb(UIObject.java:742)
    at Unknown.FZb(AbstractComponentConnector.java:653)
    at Unknown.e$b(AbstractComponentConnector.java:606)
    at Unknown.yZb(AbstractComponentConnector.java:445)
    at Unknown.Omd(AbstractOrderedLayoutConnector.java:372)
    at Unknown.oXb(StateChangeEvent.java:128)
    at Unknown.Ww(SimpleEventBus.java:193)
    at Unknown.Nw(HandlerManager.java:127)
    at Unknown.mKb(AbstractConnector.java:224)
    at Unknown.AKb(AbstractConnector.java:216)
    at Unknown.oWb(MessageHandler.java:762)
    at Unknown.iWb(MessageHandler.java:482)
    at Unknown.PVb(MessageHandler.java:1496)
    at Unknown.eWb(MessageHandler.java:248)
    at Unknown.rGb(ApplicationConnection.java:633)
    at Unknown.QVb(MessageHandler.java:245)
    at Unknown.PGb(ApplicationConnection.java:443)
    at Unknown.bGb(ApplicationConfiguration.java:452)
    at Unknown.Vi(SchedulerImpl.java:50)
    at Unknown.Ni(SchedulerImpl.java:347)
    at Unknown.Zi(SchedulerImpl.java:78)
    at Unknown.Ti(SchedulerImpl.java:141)
    at Unknown.pi(Impl.java:247)
    at Unknown.si(Impl.java:299)

This code initiates an endless throwing exception and hang Edit mode / Preview mode IDE info: IntelliJ IDEA 2016.2.2 Build #IU-162.1628.40, built on August 16, 2016 JRE: 1.8.0_76-release-b216 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

stale[bot] commented 6 years ago

Hello there!

It looks like this issue hasn't progressed lately. There are so many issues that we just can't deal them all within a reasonable timeframe.

There are a few things you could help to get things rolling on this issue (this is an automated message, so expect that some of these are already in use):

Thanks again for your contributions! Even though we haven't been able to get this issue fixed, we hope you to report your findings and enhancement ideas in the future too!

stale[bot] commented 6 years ago

The issue was automatically closed due to inactivity. If you found some new details please comment on the issue so that maintainers can re-open it.