Skip to content
This repository has been archived by the owner on Jan 9, 2019. It is now read-only.

Build broken issue during compiling less files with system locale setting as Korean, Japanese and Chinese #61

Open
ahwizzang opened this issue Sep 26, 2014 · 0 comments

Comments

@ahwizzang
Copy link

I'm having problem for compiling less files when I set my 'current language for non-Unicode programs' setting as Korean, Japanese or Chinese(I guess there should be more languages which occurs this problem). I got error message like this.

[INFO] Compiling LESS source: develop\develop.less...
[ERROR] c:*******\develop.less [0:0]: Error compiling LESS source
org.lesscss.LessException: org.mozilla.javascript.EcmaError: TypeError: Cannot c
all method "toCSS" of undefined (doIt.js#1)
at org.lesscss.LessCompiler.compile(LessCompiler.java:286)
at org.lesscss.LessCompiler.compile(LessCompiler.java:335)
at org.lesscss.LessCompiler.compile(LessCompiler.java:359)
at org.lesscss.mojo.CompileMojo.execute(CompileMojo.java:131)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
BuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:209)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBu
ild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
eStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot call method "toCS
S" of undefined (doIt.js#1)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.jav
a:3687)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.jav
a:3665)
at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:369
3)
at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:37
12)
at org.mozilla.javascript.ScriptRuntime.undefCallError(ScriptRuntime.jav
a:3731)
at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(Scr
iptRuntime.java:2258)
at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRun
time.java:2251)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:131
7)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.j
ava:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:3
94)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:309
1)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.j
ava:107)
at org.lesscss.LessCompiler.compile(LessCompiler.java:270)
... 24 more

@ahwizzang ahwizzang changed the title Having issue during maven compiling less files Build broken issue during compiling less files with system locale setting as Korean Sep 26, 2014
@ahwizzang ahwizzang changed the title Build broken issue during compiling less files with system locale setting as Korean Build broken issue during compiling less files with system locale setting as Korean, Japanese and Chinese Sep 26, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant