Comments (1)
I can able to reproduce the null error @piotrzarzycki21 described; and also able to reproduced when it happens and when not.
@joshtynjala can you please take a look into this (?) Following is the detailed test case.
This same null point exception I noticed when running Moonshine source or sample project's source, in VSCodeDebugProtocolPlugin.as
:
- Create a new Flex Desktop project
- Add a method inside
<fx:Script>
area - here's the source I used to test
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Declarations>
</fx:Declarations>
<fx:Script>
<![CDATA[
private function abcd():void
{
trace("help!");
}
]]>
</fx:Script>
<s:Label fontSize="24" fontWeight="bold" textAlign="center"
horizontalCenter="0" verticalCenter="0"
text="Hello World!"/>
<s:Button label="hei!" click="abcd()"/>
</s:WindowedApplication>
- Add a breakpoint to the above method's (
abcd
) code - Run the application with Build & Debug
- Application starts in debugging mode, clicking on the button highlights and stop to the breakpoint in appropriate place
- Stop the debugger
- Add the
abcd()
in application's creation complete event now:
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" creationComplete="abcd()">
- Restart Build & Debug
- Moonshine thrown above null pointer exception
- Removing the method running from application's
creationComplete
event makes everything good again
from moonshine-ide.
Related Issues (20)
- Duplicate Name Warning on Domino Visual Editor File Prompts HOT 3
- Selection Discrepancy for Column Delete HOT 4
- Accordion/focusInHandler() In Form and View Editor HOT 1
- Default Value Missing in DXL HOT 7
- Expand/Restore Editor Tab with Double-Click HOT 6
- Make Home and End Buttons Work in Editor HOT 4
- Error While Pasting Text into Default Value Property HOT 1
- Error When Undoing Paste in Domino Visual Editor HOT 1
- Replace console text-view with moonshine-feathersui-text-editor HOT 21
- Duplicate entries in "Recent Projects" and "Home page" HOT 20
- Add Path Context for Recent Files HOT 4
- "Reset to Default" do not clears recently opened items' list HOT 8
- Jump CMD+Click to specific framework class displays hash HOT 2
- LotusScript Compilation and Validation HOT 12
- Support for YAML-Based NSFODP Projects
- Fine-Tuned Control for "Reset all Settings"
- Topicbox Integration HOT 2
- Visual clarity between Tab and Space characters in Moonshine-IDE editors HOT 3
- Workspace Dropdown Should Match Width of Control HOT 2
- Notes ID Profiles for Vagrant Instances HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moonshine-ide.