Fantom IDE Help /FAQ
FAQ's
- It won't accept my fan_home folder
On Unix make sure you ran:
# wherever you installed fantom cd /home/me/fantom/ sh ./adm/unixsetup
- The Debugger appears buggy
WARNING: Unable to submit line breakpoint to fan.Debug.Main$doStuff$0 at line 29, reason: No executable location available at line 25 in class fan.Debug.Main$doStuff$0.
But the breakpoint will work anyway.
This is a
- Can I open existing fantom sources.
So as long as you have a directory with a build.fan in it, it will be recognized as a fantom project and can be opened.
- I'm not used to Netbeans shortcuts / keybindings
You can also customize them to your own likings.
Asking for help
Please ask your question as a comment bellow.
Or if i don't answer within a few days or you want to send me a log / screenshot:
Please send a detailed description and the log file:
Linux.OSX: [user home]/.fantomide/dev/fantom/log/jot.log
Windows: C:\Documents and Settings\[youruser]\Application Data\.fantomide\dev\fantom\log\jot.log

Back to top
Title: NetBeans 6.8 - Cannot boot fan: fan.sys.UnknownTypeErr: sys::Actor
Hi,
>Log Session: Tuesday, May 25, 2010 4:35:03 AM CEST
>System Info:
Product Version = NetBeans IDE 6.8 (Build 200912041610) (#ec9be6a6486c)
Operating System = Linux version 2.6.34-020634-generic running on i386
Java; VM; Vendor = 1.6.0_21-ea; Java HotSpot(TM) Client VM 17.0-b14; Sun Microsystems Inc.
Runtime = Java(TM) SE Runtime Environment 1.6.0_21-ea-b04
Java Home = /usr/lib/jvm/jdk1.6.0_21/jre
System Locale; Encoding = en_US (nb); UTF-8
Home Directory = /root
Current Directory = /root-netbeans
User Directory = /root-netbeans/.netbeans/6.8
Installation = /usr/local/netbeans-6.8/nb6.8
/usr/local/netbeans-6.8/ergonomics2
/usr/local/netbeans-6.8/ide12
/usr/local/netbeans-6.8/java3
/usr/local/netbeans-6.8/apisupport1
/usr/local/netbeans-6.8/webcommon1
/usr/local/netbeans-6.8/websvccommon1
/usr/local/netbeans-6.8/enterprise6
/usr/local/netbeans-6.8/mobility8
/usr/local/netbeans-6.8/profiler3
/usr/local/netbeans-6.8/ruby2
/usr/local/netbeans-6.8/python1
/usr/local/netbeans-6.8/php1
/usr/local/netbeans-6.8/identity2
/usr/local/netbeans-6.8/harness
/usr/local/netbeans-6.8/cnd3
/usr/local/netbeans-6.8/dlight2
/usr/local/netbeans-6.8/groovy2
/usr/local/netbeans-6.8/javafx2
/usr/local/netbeans-6.8/javacard
/usr/local/netbeans-6.8/sappy
/usr/local/netbeans-6.8/fantomide
/usr/local/netbeans-6.8/platform11
..
Installer is up!
Diagnostic information
Input arguments:
-Djdk.home=/usr/lib/jvm/java-6-sun
-Dnetbeans.dirs=/usr/local/netbeans-6.8/nb6.8:/usr/local/netbeans-6.8/ergonomics2:/usr/local/netbeans-6.8/ide12:/usr/local/netbeans-6.8/java3:/usr/local/netbeans-6.8/bin/../xml2:/usr/local/netbeans-6.8/apisupport1:/usr/local/netbeans-6.8/webcommon1:/usr/local/netbeans-6.8/websvccommon1:/usr/local/netbeans-6.8/enterprise6:/usr/local/netbeans-6.8/mobility8:/usr/local/netbeans-6.8/profiler3:/usr/local/netbeans-6.8/ruby2:/usr/local/netbeans-6.8/python1:/usr/local/netbeans-6.8/php1:/usr/local/netbeans-6.8/bin/../visualweb2:/usr/local/netbeans-6.8/bin/../soa2:/usr/local/netbeans-6.8/identity2:/usr/local/netbeans-6.8/bin/../uml6:/usr/local/netbeans-6.8/harness:/usr/local/netbeans-6.8/cnd3:/usr/local/netbeans-6.8/dlight2:/usr/local/netbeans-6.8/groovy2:/usr/local/netbeans-6.8/bin/../extra:/usr/local/netbeans-6.8/javafx2:/usr/local/netbeans-6.8/bin/../javacard1:/usr/local/netbeans-6.8/javacard:/usr/local/netbeans-6.8/sappy:/usr/local/netbeans-6.8/fantomide:
-Dnetbeans.home=/usr/local/netbeans-6.8/platform11
-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade
-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense
-Xmx389m
-Dorg.glassfish.v3ee6.installRoot=/usr/local/sges-v3
-Dcom.sun.aas.installRoot=/usr/local/SUNWappserver
-Xverify:none
-Xss2m
-Xms32m
-XX:PermSize=32m
-XX:MaxPermSize=200m
-Dapple.laf.useScreenMenuBar=true
-Dsun.java2d.noddraw=true
-Dnetbeans.useTheme=true
-Dgdb.console.window=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/root-netbeans/.netbeans/6.8/var/log/heapdump.hprof
Compiler: HotSpot Client Compiler
Heap memory usage: initial 32.0MB maximum 377.0MB
Non heap memory usage: initial 54.2MB maximum 254.0MB
Garbage collector: Copy (Collections=42 Total time spent=0s)
Garbage collector: MarkSweepCompact (Collections=1 Total time spent=0s)
Classes: loaded=6980 total loaded=6980 unloaded 0
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 2,040,942,592
...
WARNING [org.netbeans.ProxyClassLoader]: Will not load class org.h2.Driver arbitrarily from one of ModuleCL@878c4c[org.netbeans.modules.dlight.db.h2] and ModuleCL@13c6862[net.colar.netbeans.fan] starting from SystemClassLoader[687 modules]; see http://wiki.netbeans.org/DevFaqModuleCCE
Starting up Fantom plugin.
JOT 2 5_25_2010_4_39_41-975 JOTLogger Log file is:/root-netbeans/.netbeans/6.8/fantom/log/jot.log
JOT 2 5_25_2010_4_39_41-976 JOTLogger Backing up old log file: /root-netbeans/.netbeans/6.8/fantom/log/jot.log To: /root-netbeans/.netbeans/6.8/fantom/log/jot.log_5_25_2010_4_39_41
Will log to: /root-netbeans/.netbeans/6.8/fantom/log/jot.log
JOT.DB 2 5_25_2010_4_39_41-987 JOTPersistanceManager Added jdbc Database: default
JOT.DB 2 5_25_2010_4_39_42-77 net.jot.db.JOTDBManager Adding db in pool: default
JOT.DB 2 5_25_2010_4_39_42-110 net.jot.db.JOTDBPool default: Renewing connection: 0
JOT.DB 2 5_25_2010_4_39_42-110 net.jot.db.JOTDBPool default: Trying to open a connection to :jdbc:h2:file:/root-netbeans/.netbeans/6.8/fantom/db/default;TRACE_LEVEL_FILE=1;LOCK_TIMEOUT=8000 /
...
JOT.DB 2 5_25_2010_4_39_42-569 net.jot.db.JOTDBPool default: Renewing connection: 1
JOT.DB 2 5_25_2010_4_39_42-570 net.jot.db.JOTDBPool default: Trying to open a connection to :jdbc:h2:file:/root-netbeans/.netbeans/6.8/fantom/db/default;TRACE_LEVEL_FILE=1;LOCK_TIMEOUT=8000 /
JOT.DB 2 5_25_2010_4_39_42-572 net.jot.db.JOTDBPool Initializing DB Pool for default
JOT.DB 2 5_25_2010_4_39_42-575 net.jot.db.JOTDBManager Loaded the db driver succesfully: org.h2.Driver
JOT.DB 2 5_25_2010_4_39_42-639 DBManager Old Version: 2, new Version:2
JOT.DB 2 5_25_2010_4_39_42-639 DBManager No upgrade needed(already at latest version) for: default
SEVERE [org.netbeans.core.modules]
java.lang.RuntimeException: Cannot boot fan: fan.sys.UnknownTypeErr: sys::Actor
at fan.sys.Sys.initFail(Sys.java:523)
at fan.sys.Sys.initType(Sys.java:362)
at fan.sys.Sys.<clinit>(Sys.java:110)
Caused: java.lang.ExceptionInInitializerError
at net.colar.netbeans.fan.platform.FanPlatform.readSettings(FanPlatform.java:62)
at net.colar.netbeans.fan.platform.FanPlatform.<init>(FanPlatform.java:42)
at net.colar.netbeans.fan.platform.FanPlatform.<clinit>(FanPlatform.java:33)
at net.colar.netbeans.fan.FanModuleInstall.restored(FanModuleInstall.java:66)
at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:440)
at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:361)
at org.netbeans.ModuleManager.enable(ModuleManager.java:928)
at org.netbeans.modules.modulemanager.ModuleBean$AllModulesBean.doEnable(ModuleBean.java:801)
at org.netbeans.modules.modulemanager.ModuleBean$AllModulesBean.access$1000(ModuleBean.java:363)
at org.netbeans.modules.modulemanager.ModuleBean$AllModulesBean$Updater.run(ModuleBean.java:632)
at org.openide.util.Mutex.writeAccess(Mutex.java:469)
[catch] at org.netbeans.modules.modulemanager.ModuleBean$AllModulesBean$Updater.run(ModuleBean.java:561)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)
INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
net.colar.netbeans.fan/1 [1.6.1 100429]
ERROR: cannot init Sys.type Actor
fan.sys.UnknownTypeErr: sys::Actor
at fan.sys.UnknownTypeErr.<init>(UnknownTypeErr.java:39)
at fan.sys.UnknownTypeErr.make(UnknownTypeErr.java:25)
at fan.sys.UnknownTypeErr.make(UnknownTypeErr.java:22)
at fan.sys.Pod.type(Pod.java:281)
at fan.sys.Sys.initType(Sys.java:358)
at fan.sys.Sys.<clinit>(Sys.java:110)
at net.colar.netbeans.fan.platform.FanPlatform.readSettings(FanPlatform.java:62)
at net.colar.netbeans.fan.platform.FanPlatform.<init>(FanPlatform.java:42)
at net.colar.netbeans.fan.platform.FanPlatform.<clinit>(FanPlatform.java:33)
at net.colar.netbeans.fan.FanModuleInstall.restored(FanModuleInstall.java:66)
at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:440)
at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:361)
at org.netbeans.ModuleManager.enable(ModuleManager.java:928)
at org.netbeans.modules.modulemanager.ModuleBean$AllModulesBean.doEnable(ModuleBean.java:801)
at org.netbeans.modules.modulemanager.ModuleBean$AllModulesBean.access$1000(ModuleBean.java:363)
at org.netbeans.modules.modulemanager.ModuleBean$AllModulesBean$Updater.run(ModuleBean.java:632)
at org.openide.util.Mutex.writeAccess(Mutex.java:469)
at org.netbeans.modules.modulemanager.ModuleBean$AllModulesBean$Updater.run(ModuleBean.java:561)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)
...
JOT 2 5_25_2010_4_39_43-592 Generic_(FanUtilities) ### Registering: net.colar.netbeans.fan.debugger.FanBkptActionProvider
...
Best regards,
Vladimir Kokovic, DP senior, Belgrade, Serbia
Title: To: poematrix
Make sure you use java 1.6 or newer.
Title: Admin
OSX version working now, was a packaging issue.
Title: My 2 cents.
The OSX versions has multiple issues, and there are other problems I need to fix: see [[Changelog]]
Might be a couple of days.
Title: Admin
Will dbl check on that (I have a mac avail), I'm using netbeans built-in mac target which i thought would work.
Title: Mac OS X
Mac version doesn't work. The download contains just a Contents folder. It needs to be a .app folder to work as an app. Tried putting Contents inside a fansuite.app folder but no go.
Title: Admin
Sorry i didn't see those messages until now.
Please try the new version.
If it still doesn't work, please send me an email tcolar AT colar.net with the log (/home/me/.fansuite/dev/var/log/messages.log), i suppose under windows it's in the user folder as well (or just search for fansuite)
Title: Same problem
I have the same problem as poematrixs, I can not get the IDE to recognize my Fan installation. Awaiting next release.
Title: Sorry, I forgot to refresh the page ...
The OS is XP/Professional. If you want to send me your email address, I'll email me you a screenshot of what it looks like.
Title: Fan options
The fan options panel does not show ?
That sounds odd, i don't have this problem.
What OS is that on ?
Title: Fan tab does not work
I attempted setting up the path to my Fan installation. I assume that must be dong in the "Fan" tab of the settings dialog. However, clicking the "fan" tab does not produce any visible results. Whichever tab had been displayed before clicking on "Fan" continues to be displayed thereafter.
Any work-around? Have I overlooked something?
TIA,
poematrixs