I uninstalled 6.1000.2 and re-installed 6.1000.1 and can now compile successfully. Same code ... no changes made.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Compiler Exception on 6.1000.2 but not on 6.1000.1
Collapse
X
-
Compiler Exception on 6.1000.2 but not on 6.1000.1
I just upgraded my development machine to 6.1000.2 and now can not compile my scripts/strategies. The NinjaScript editor gives me the exception in the attached file.
I uninstalled 6.1000.2 and re-installed 6.1000.1 and can now compile successfully. Same code ... no changes made.Tags: None
-
Looks like your setup is screwed up.
I suggest:
- backing up your custom indicators and strategies
- uninstalling NT6
- manually removing <my documents>/NinjaTrader6/bin
- reinstalling NT6
- open any indicator and recompile
should work
Next step: manually re-add custom indicator and strategy piece by piece and recompile and see where it breaks
-
No good.
Here are the steps I performed:
1) Uninstall NT 6.1000.2
2) Manually delete 'My Documents\NinjaTrader 6'
3) Manually delete 'Program Files\NinjaTrader 6'
4) Install NT 6.1000.2
5) Open builtin indicator and compile. All is OK.
6) Put my custom MyDefinedMethods.cs file into 'bin\Custom\Indicator' and compile. NO GOOD ... Exception generated.
7) Uninstall NT 6.1000.2
8) Manually delete 'My Documents\NinjaTrader 6'
9) Manually delete 'Program Files\NinjaTrader 6'
10) Install NT 6.1000.1 !!
11) Open builtin indicator and compile. All is OK.
12) Put my custom MyDefinedMethods.cs file into 'bin\Custom\Indicator' and compile. ALL IS OK!
So something is amiss in 6.1000.2. The code in the custom methods file is not that special ... mostly security checking and initialization functions.
Please take a look at the previously attached Exception report for more information. I can not move forward with the new version until this is resolved.
Thank you.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
29 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
117 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
69 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
227 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
309 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|

Comment