How to solve "Target runtime caf.default.runtime is not defined." error in Designer - webmethods

I had a very strange error today, that Designer (Eclipse) shown:
Target runtime caf.default.runtime is not defined.
in Problem view for CAF project

I can be easily fixed by invoking CAF Tools > Repair CAF Project from context menu (right click) on a project.

Related

How to use VSExpress 2012 Watch window

I started a new project in Visual Studio Express 2012 Desktop. On meeting an exception I found this answer: How to view exception details in Visual Studio Express?
The answer says that exception information should be possible to view in a Watch Window. I am not familiar with this and how to use it, and I have been unable figure out how to get the exception information from there.
So in short my request is:
Please provide detailed instructions for how to use the Watch Window to show exception details.
Edit
To conclude from below - the watch window isn't really that useful. You need to have the exception declared - e.g. by wrapping the offending code in a try-catch. However when you do this and break inside the catch, you can get at the information simply clicking the exception, and expanding the pop-up.
Simply add the exception variable to Watches by right-clicking it and then clicking "Add Watch".
You can also type the name of the variable in the Watches window.

Flash Builder - Internal Build Error / Classes Must Not Be Nested

I've been working on a Flash Builder project for about a week and occasionally encounter one of these two errors when I build:
An internal build error has occurred. See the error log for more information.
1131: Classes must not be nested.
A quick Project > Clean fixes things up. When I opened my project this morning and tried to build it, I received the internal build error again. This time, however, Project > Clean results in 5 separate "Classes must not be nested" errors, all pointing to my main class declaration.
Running Project > Clean again leads back to the internal build error. If I Clean again, I get the 5 class errors again, and so on.
I'm using Flash Builder 4.6, Flex 4.6, and AIR 3.5. I haven't made any changes to my codebase since yesterday. Any ideas what might be causing this?
I had the same problem with flashb uilder 4.6,
when i try to compile the app out of the blue it says
"flash builder internal build error has occurred see the error log for more information"
to resolve this you have to check the compiler arguments
when this happens you wont be able to go to compiler argumnts GUI, you have to edit it in .actionScriptProperties file
remove -local and local names save the file and try to compile you would not get the error
to put back the local you have to rephrase the local as follows
-locale=en_US,us_EN
What worked for me was to remove all swc references from the project's compiler settings, then re-insert them.

How to make Flashdevelop errors appear in Results Panel?

I am using Flashdevelop to build an Actionscript 3.0 game. It was originally a FlashIDE project but I decided to migrate the project to FlashDevelop. I also changed some asset and property names, as a result there were a lot of syntax error. The errors keep coming out in the Output Panel instead of Results Panel (is that normal) when compiled. I know that when I click errors in the Results Panel it will open and point the error in the Code Panel. I can't do that with errors in the Output Panel (I assume its normal). Is there something I can do to make the errors clickable ?
Even a simple error like this doesnt come out in the Results panel:
Loading configuration file H:\04 Noveline\03 GD\GD03\Folder (aaaa)\TEST\obj\MeccatomedinaConfig.xml
H:\FD(1)\TEST\src\Game.as(75): col: 3 Error: Access of undefined property sssss.
sssss
^
Build halted with errors (fcsh).
(fcsh)
afaik it's impossible to make output panel clickable. but you can press F10 to open program settings dialog and check if your results panel is disabled. and also disable output panel if it's really annoying)
The errors should appear in the results panel and the output panel. Make sure the results panel is open.
Remove parentheses from project path to workaround the issue.
(As Stucko & Markus von Broady wrote in comments.)
This issue is still around for FlashDevelop 5.1.1.1.
I have logged the issue here for ref:
https://github.com/fdorg/flashdevelop/issues/1676

How to see library name loaded with R6034 error?

I am getting R6034 error, but can't see the related library/executable since it's name is shortened (see the picture below). Is there any way I can see the full name?
Start task manager and go to the "Applications" tab. The popup should be in that list.
Right-click the window and choose "go to process". Task manager now jumps to the "processes" tab and shows the process that gives this message.
If you want to find out which DLL is causing the problem, open your executable in Dependency Walker. If the static analysis of Dependency Walker does not reveal the problem, profile the application in Dependency Walker and look at the profiling output.

How can I debug an Actionscript project in Flex builder?

I am trying to use Flex builder for the first time in years. I haven't used the "Run Application" option before, and when I do that now it tells me "Errors exist in required projects" and whether I should proceed. I would like to debug those errors.
Does anyone know how I can do that?
PS: When I click the "Debug" button, it does exactly the same thing. I don't see error output in the console views.
Ensure the Problems view is open (Window -> Show View -> Problems).
That will show you what compilation errors exist that need to be fixed before you can launch the project.
Yes, you will not be able to launch the program until you fix the compile-time errors.
Open the 'Problems' pane, fix compile errors, and then the program will run.