flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kevin.godell" <kevin.god...@gmail.com>
Subject Re: [FlexJS] Reaching out to IDE developers to support FlexJS
Date Wed, 13 May 2015 23:21:22 GMT
Sorry for the late reply, just got home. Yeah, the video wasnt great because
it was late and I  was rushing through. But, I do use the flexjs sdk in
Project Structure -> Modules -> Dependencies -> Flex / AIR SDK = flexjs
nightly. In the Run/Debugger settings, I set the "Use debugger from SDK" =
flex(not js). When I targeted the flexjs as the location of the debugger, it
failed like yours with the following:

/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
-d32
-Dapplication.home=/Users/kevinGodell/Documents/flexJS-nightly_air-17_fp-17
-Dfile.encoding=UTF-8 -Djava.awt.headless=true -Duser.language=en
-Duser.region=en -Xmx512m -classpath "/Applications/IntelliJ IDEA
14.app/Contents/plugins/flex/lib/idea-fdb-4.0.0.14159-fix.jar:/Users/kevinGodell/Documents/flexJS-nightly_air-17_fp-17/lib/fdb.jar"
flex.tools.debugger.cli.DebugCLI
Exception in thread "main" java.lang.NoClassDefFoundError:
flash/tools/debugger/SourceLocator
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Caused by: java.lang.ClassNotFoundException:
flash.tools.debugger.SourceLocator
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
	... 12 more
java.io.IOException: Stream closed

Try to target the regular flex sdk, just to see what happens. I was just
trying random things and that was how it worked for me.

This is what I got when it worked by targeting the regular flex sdk for
debugging:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
-d32 -Dapplication.home=/Users/kevinGodell/Documents/flex4.15.0N-air17
-Dfile.encoding=UTF-8 -Djava.awt.headless=true -Duser.language=en
-Duser.region=en -Xmx512m -classpath
/Users/kevinGodell/Documents/flex4.15.0N-air17/lib/fdb.jar
flex.tools.debugger.cli.DebugCLI -ide
Apache fdb (Flash Player Debugger) [build 20150414]
Copyright 2013 The Apache Software Foundation. All rights reserved.
Waiting for Player to connect
Player connected; session starting.
[trace] profiler is live
[trace] io error:[IOErrorEvent type="ioError" bubbles=false cancelable=false
eventPhase=2 text="Error #2031: Socket Error. URL: 127.0.0.1"]
[trace] hello world
[trace] hello world
[UnloadSWF]
Users:kevinGodell:IdeaProjects:flexJS:DataBindingTest:src:DataBindingTest.swf
Player session terminated



--
View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Reaching-out-to-IDE-developers-to-support-FlexJS-tp32656p46488.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Mime
View raw message