Error when parsing @mixin.

Hi,

i have the following situation. i cant get my @mixin working. if i change my .scss @mixin shadow{…} to .shadow{…} and write @extend shadow in .mainPanel{…} everything works. What is wrong when parsing @mixin?

UI:

[code]
package com.example.css_testing;

import javax.servlet.annotation.WebServlet;

import com.diesoftware.vaadin.NavigatorUI;
import com.vaadin.annotations.Theme;
import com.vaadin.annotations.VaadinServletConfiguration;
import com.vaadin.server.ExternalResource;
import com.vaadin.server.VaadinRequest;
import com.vaadin.server.VaadinServlet;
import com.vaadin.ui.VerticalLayout;

@SuppressWarnings(“serial”)
@Theme(“test”)
public class Css_testingUI extends UI {

protected static final String MAINVIEW = “main”;

@WebServlet(value = “/*”, asyncSupported = true)
@VaadinServletConfiguration(productionMode = true, ui = Css_testingUI.class)
public static class Servlet extends VaadinServlet {
}

@Override
protected void init(VaadinRequest request) {
  
  getPage().setTitle("Test");

    final VerticalLayout mainPanel = new VerticalLayout();
    mainPanel.setMargin(true);
    mainPanel.setStyleName("mainPanel");
    

    setContent(mainPanel);
}

}
[/code]where i have a panel which i want to design with a @mixin(just to test not as final project)

this is how my theme: css_testing.scss looks:

[code]
/* Import the reindeer theme./
/
This only allows us to use the mixins defined in it and does not add any styles by itself. */
@import “…/reindeer/reindeer.scss”;

/* This contains all of your theme./
/
If somebody wants to extend the theme she will include this mixin. /
@mixin css_testing{
/
Include all the styles from the reindeer theme */
@include reindeer;

/* Insert your theme rules here */

@mixin shadow{
     box-shadow: 1px 1px 5px 1px #999;
 }
 
 .mainPanel{
    @include shadow;
    max-width: 1024px !important;
    min-width: 1024px !important;
    width: 1034px !important;
    color: #000000;
    background-color: #dcdcdc;
    margin: 0 auto;
    padding: 0;
    position: relative;
    margin-top: -8px;
}

}
[/code]and i get this errormessage:

[code]
9:38,421 WARN [org.jboss.as.ee]
(MSC service thread 1-4) JBAS011006: Not installing optional component com.vaadin.terminal.gwt.server.ApplicationServlet due to exception: java.lang.ClassNotFoundException: com.vaadin.terminal.gwt.server.ApplicationServlet from [Module “deployment.css-testing.war:main” from Service Module Loader]

at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.1.GA]

at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.1.GA]

at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.1.GA]

at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423) [jboss-modules.jar:1.1.1.GA]

at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.1.GA]

at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.1.1.GA]

at java.lang.Class.forName0(Native Method) [rt.jar:1.6.0_39]

at java.lang.Class.forName(Class.java:249) [rt.jar:1.6.0_39]

at org.jboss.as.server.deployment.reflect.DeploymentClassIndex.classIndex(DeploymentClassIndex.java:54) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:79)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [rt.jar:1.6.0_39]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [rt.jar:1.6.0_39]

at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_39]

13:49:39,146 INFO [org.jboss.web]
(MSC service thread 1-3) JBAS018210: Registering web context: /css-testing
13:49:39,155 INFO [org.jboss.as]
(MSC service thread 1-4) JBAS015951: Admin console listening on http://0.0.0.0:9990
13:49:39,156 INFO [org.jboss.as]
(MSC service thread 1-4) JBAS015874: JBoss AS 7.1.1.Final “Brontes” started in 8693ms - Started 242 of 329 services (83 services are passive or on-demand)
13:49:39,235 INFO [org.jboss.as.server]
(DeploymentScanner-threads - 2) JBAS018559: Deployed “css-testing.war”
13:50:11,779 WARNUNG [com.vaadin.server.DefaultDeploymentConfiguration]
(http–0.0.0.0-8080-1)

Vaadin is running in DEBUG MODE.
Add productionMode=true to web.xml to disable debug features.
To show debug window, add ?debug to your application URL.

13:50:11,851 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) Installed AtmosphereHandler com.vaadin.server.communication.PushHandler$1 mapped to context-path: /*
13:50:11,855 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) Installed the following AtmosphereInterceptor mapped to AtmosphereHandler com.vaadin.server.communication.PushHandler$1
13:50:11,904 WARNUNG [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) SessionSupport error. Make sure you define org.atmosphere.cpr.SessionSupport as a listener in web.xml instead
13:50:11,920 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) Atmosphere is using org.atmosphere.cpr.DefaultAnnotationProcessor for processing annotation
13:50:11,923 INFO [org.atmosphere.cpr.DefaultAnnotationProcessor]
(http–0.0.0.0-8080-1) AnnotationProcessor class org.atmosphere.cpr.DefaultAnnotationProcessor$ServletContainerInitializerAnnotationProcessor being used
13:50:11,928 WARNUNG [org.atmosphere.cpr.DefaultAnnotationProcessor]
(http–0.0.0.0-8080-1) Unable to detect annotations. Application may fail to deploy.
13:50:11,985 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) Auto detecting WebSocketHandler in /WEB-INF/classes/
13:50:11,990 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) Installed WebSocketProtocol org.atmosphere.websocket.protocol.SimpleHttpProtocol
13:50:11,996 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) Installing Default AtmosphereInterceptor
13:50:11,997 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) org.atmosphere.interceptor.CorsInterceptor : CORS Interceptor Support
13:50:11,999 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) org.atmosphere.interceptor.CacheHeadersInterceptor : Default Response’s Headers Interceptor
13:50:12,001 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) org.atmosphere.interceptor.PaddingAtmosphereInterceptor : Browser Padding Interceptor Support
13:50:12,003 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) org.atmosphere.interceptor.AndroidAtmosphereInterceptor : Android Interceptor Support
13:50:12,004 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) org.atmosphere.interceptor.HeartbeatInterceptor : Heartbeat Interceptor Support
13:50:12,006 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) org.atmosphere.interceptor.SSEAtmosphereInterceptor : SSE Interceptor Support
13:50:12,007 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) org.atmosphere.interceptor.JSONPAtmosphereInterceptor : JSONP Interceptor Support
13:50:12,010 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) org.atmosphere.interceptor.JavaScriptProtocol : Atmosphere JavaScript Protocol
13:50:12,011 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor : org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor
13:50:12,013 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) org.atmosphere.interceptor.OnDisconnectInterceptor : Browser disconnection detection
13:50:12,015 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) org.atmosphere.interceptor.IdleResourceInterceptor : org.atmosphere.interceptor.IdleResourceInterceptor
13:50:12,033 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) Set org.atmosphere.cpr.AtmosphereInterceptor.disableDefaults to disable them.
13:50:12,035 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) Using EndpointMapper class org.atmosphere.util.DefaultEndpointMapper
13:50:12,036 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) Using BroadcasterCache: org.atmosphere.cache.UUIDBroadcasterCache
13:50:12,037 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) Default Broadcaster Class: org.atmosphere.cpr.DefaultBroadcaster
13:50:12,038 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) Broadcaster Polling Wait Time 100
13:50:12,039 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) Shared ExecutorService supported: true
13:50:12,041 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) Messaging Thread Pool Size: Unlimited
13:50:12,042 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) Async I/O Thread Pool Size: 200
13:50:12,043 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) Using BroadcasterFactory: org.atmosphere.cpr.DefaultBroadcasterFactory
13:50:12,045 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) Using WebSocketProcessor: org.atmosphere.websocket.DefaultWebSocketProcessor
13:50:12,046 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) HttpSession supported: true
13:50:12,047 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) Atmosphere is using DefaultAtmosphereObjectFactory for dependency injection and object creation
13:50:12,049 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) Atmosphere is using async support: org.atmosphere.container.JBossWebCometSupport running under container: JBoss Web/7.0.13.Final
13:50:12,051 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) Atmosphere Framework 2.1.2.vaadin2 started.
13:50:12,054 INFO [org.atmosphere.cpr.AtmosphereFramework]
(http–0.0.0.0-8080-1) Installed AtmosphereInterceptor Track Message Size Interceptor using | with priority BEFORE_DEFAULT
13:50:14,770 SCHWERWIEGEND [com.vaadin.sass.internal.visitor.ImportNodeHandler]
(http–0.0.0.0-8080-3) null: com.vaadin.sass.internal.parser.SCSSParseException: Error when parsing file diesoftware.scss
Encountered “@mixin” at line 13, column 9.
Was expecting one of:

“}” …
“+” …
“;” …
“>” …
“~” …
“[” …
“*” …
“&” …
“.” …
“:” …

@include” …
@debug” …
@warn” …
@each” …
@if” …
@extend” …
@content” …



@media” …
@page” …
@font-face” …
<KEY_FRAME_SYM> …

at com.vaadin.sass.internal.ScssStylesheet.get(ScssStylesheet.java:187) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.get(ScssStylesheet.java:116) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.visitor.ImportNodeHandler.traverse(ImportNodeHandler.java:60) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.importOtherFiles(ScssStylesheet.java:257) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.compile(ScssStylesheet.java:250) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.server.VaadinServlet.serveOnTheFlyCompiledScss(VaadinServlet.java:886) [vaadin-server-7.2.3.jar:7.2.3]

at com.vaadin.server.VaadinServlet.serveStaticResourcesInVAADIN(VaadinServlet.java:642) [vaadin-server-7.2.3.jar:7.2.3]

at com.vaadin.server.VaadinServlet.serveStaticResources(VaadinServlet.java:612) [vaadin-server-7.2.3.jar:7.2.3]

at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:230) [vaadin-server-7.2.3.jar:7.2.3]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_39]

13:50:14,794 SCHWERWIEGEND [com.vaadin.sass.internal.visitor.ImportNodeHandler]
(http–0.0.0.0-8080-3) null: com.vaadin.sass.internal.parser.SCSSParseException: Error when parsing file diesoftware.scss
Encountered “@mixin” at line 13, column 9.
Was expecting one of:

“}” …
“+” …
“;” …
“>” …
“~” …
“[” …
“*” …
“&” …
“.” …
“:” …

@include” …
@debug” …
@warn” …
@each” …
@if” …
@extend” …
@content” …



@media” …
@page” …
@font-face” …
<KEY_FRAME_SYM> …

at com.vaadin.sass.internal.ScssStylesheet.get(ScssStylesheet.java:187) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.get(ScssStylesheet.java:116) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.visitor.ImportNodeHandler.traverse(ImportNodeHandler.java:60) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.tree.ImportNode.traverse(ImportNode.java:82) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.traverse(ScssStylesheet.java:326) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.traverse(ScssStylesheet.java:335) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.compile(ScssStylesheet.java:252) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.server.VaadinServlet.serveOnTheFlyCompiledScss(VaadinServlet.java:886) [vaadin-server-7.2.3.jar:7.2.3]

at com.vaadin.server.VaadinServlet.serveStaticResourcesInVAADIN(VaadinServlet.java:642) [vaadin-server-7.2.3.jar:7.2.3]

at com.vaadin.server.VaadinServlet.serveStaticResources(VaadinServlet.java:612) [vaadin-server-7.2.3.jar:7.2.3]

at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:230) [vaadin-server-7.2.3.jar:7.2.3]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_39]

13:50:14,897 SCHWERWIEGEND [com.vaadin.sass.internal.tree.MixinNode]
(http–0.0.0.0-8080-3) null: java.lang.Exception: Mixin Definition: diesoftware not found
at com.vaadin.sass.internal.visitor.MixinNodeHandler.replaceMixins(MixinNodeHandler.java:37) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.visitor.MixinNodeHandler.traverse(MixinNodeHandler.java:30) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.tree.MixinNode.doTraverse(MixinNode.java:66) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.tree.NodeWithVariableArguments.traverse(NodeWithVariableArguments.java:203) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.traverse(ScssStylesheet.java:326) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.traverse(ScssStylesheet.java:335) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.traverse(ScssStylesheet.java:335) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.compile(ScssStylesheet.java:252) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.server.VaadinServlet.serveOnTheFlyCompiledScss(VaadinServlet.java:886) [vaadin-server-7.2.3.jar:7.2.3]

at com.vaadin.server.VaadinServlet.serveStaticResourcesInVAADIN(VaadinServlet.java:642) [vaadin-server-7.2.3.jar:7.2.3]

at com.vaadin.server.VaadinServlet.serveStaticResources(VaadinServlet.java:612) [vaadin-server-7.2.3.jar:7.2.3]

at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:230) [vaadin-server-7.2.3.jar:7.2.3]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_39]

13:50:42,510 SCHWERWIEGEND [com.vaadin.sass.internal.visitor.ImportNodeHandler]
(http–0.0.0.0-8080-1) null: com.vaadin.sass.internal.parser.SCSSParseException: Error when parsing file diesoftware.scss
Encountered “@mixin” at line 13, column 9.
Was expecting one of:

“}” …
“+” …
“;” …
“>” …
“~” …
“[” …
“*” …
“&” …
“.” …
“:” …

@include” …
@debug” …
@warn” …
@each” …
@if” …
@extend” …
@content” …



@media” …
@page” …
@font-face” …
<KEY_FRAME_SYM> …

at com.vaadin.sass.internal.ScssStylesheet.get(ScssStylesheet.java:187) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.get(ScssStylesheet.java:116) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.visitor.ImportNodeHandler.traverse(ImportNodeHandler.java:60) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.importOtherFiles(ScssStylesheet.java:257) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.compile(ScssStylesheet.java:250) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.server.VaadinServlet.serveOnTheFlyCompiledScss(VaadinServlet.java:886) [vaadin-server-7.2.3.jar:7.2.3]

at com.vaadin.server.VaadinServlet.serveStaticResourcesInVAADIN(VaadinServlet.java:642) [vaadin-server-7.2.3.jar:7.2.3]

at com.vaadin.server.VaadinServlet.serveStaticResources(VaadinServlet.java:612) [vaadin-server-7.2.3.jar:7.2.3]

at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:230) [vaadin-server-7.2.3.jar:7.2.3]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_39]

13:50:42,533 SCHWERWIEGEND [com.vaadin.sass.internal.visitor.ImportNodeHandler]
(http–0.0.0.0-8080-1) null: com.vaadin.sass.internal.parser.SCSSParseException: Error when parsing file diesoftware.scss
Encountered “@mixin” at line 13, column 9.
Was expecting one of:

“}” …
“+” …
“;” …
“>” …
“~” …
“[” …
“*” …
“&” …
“.” …
“:” …

@include” …
@debug” …
@warn” …
@each” …
@if” …
@extend” …
@content” …



@media” …
@page” …
@font-face” …
<KEY_FRAME_SYM> …

at com.vaadin.sass.internal.ScssStylesheet.get(ScssStylesheet.java:187) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.get(ScssStylesheet.java:116) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.visitor.ImportNodeHandler.traverse(ImportNodeHandler.java:60) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.tree.ImportNode.traverse(ImportNode.java:82) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.traverse(ScssStylesheet.java:326) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.traverse(ScssStylesheet.java:335) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.compile(ScssStylesheet.java:252) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.server.VaadinServlet.serveOnTheFlyCompiledScss(VaadinServlet.java:886) [vaadin-server-7.2.3.jar:7.2.3]

at com.vaadin.server.VaadinServlet.serveStaticResourcesInVAADIN(VaadinServlet.java:642) [vaadin-server-7.2.3.jar:7.2.3]

at com.vaadin.server.VaadinServlet.serveStaticResources(VaadinServlet.java:612) [vaadin-server-7.2.3.jar:7.2.3]

at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:230) [vaadin-server-7.2.3.jar:7.2.3]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_39]

13:50:42,573 SCHWERWIEGEND [com.vaadin.sass.internal.tree.MixinNode]
(http–0.0.0.0-8080-1) null: java.lang.Exception: Mixin Definition: diesoftware not found
at com.vaadin.sass.internal.visitor.MixinNodeHandler.replaceMixins(MixinNodeHandler.java:37) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.visitor.MixinNodeHandler.traverse(MixinNodeHandler.java:30) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.tree.MixinNode.doTraverse(MixinNode.java:66) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.tree.NodeWithVariableArguments.traverse(NodeWithVariableArguments.java:203) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.traverse(ScssStylesheet.java:326) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.traverse(ScssStylesheet.java:335) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.traverse(ScssStylesheet.java:335) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.sass.internal.ScssStylesheet.compile(ScssStylesheet.java:252) [vaadin-sass-compiler-0.9.2.jar:0.9.2]

at com.vaadin.server.VaadinServlet.serveOnTheFlyCompiledScss(VaadinServlet.java:886) [vaadin-server-7.2.3.jar:7.2.3]

at com.vaadin.server.VaadinServlet.serveStaticResourcesInVAADIN(VaadinServlet.java:642) [vaadin-server-7.2.3.jar:7.2.3]

at com.vaadin.server.VaadinServlet.serveStaticResources(VaadinServlet.java:612) [vaadin-server-7.2.3.jar:7.2.3]

at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:230) [vaadin-server-7.2.3.jar:7.2.3]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_39]

[/code]EDIT: if i compile my theme i dont get the exceptions but the styles i wrote are also not applied to the mainPanel.

I’m not sure if the Java Sass compiler allows nested mixins at this point, so could try moving your shadow mixin outside the css_testing mixin.

Yep. Nested mixins dont seem to work. thanks! importing a seperate shadow.scss and including its mixin works.