Wso2-devstudio export car file error with UTF8 encoding - windows

I face the following problem till trying to make export of .car file via wso2-devstudion from composite application project. The this is the error from the error log:
"!MESSAGE An error occured while creating the carbon archive file
!STACK 0
org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 middle byte 0xce (at char #822, byte #37)"
So the problem was with using of not Latin characters in one of the proxy services "envelope requests". Under Windows 7 (x64).

Solution of this problem is to add the following line in the Eclipse.ini file of your wso2-devstudio IDE:
-Dfile.encoding=UTF8
After that you should restart the IDE and problem is gone.

Related

File encoding issue in gradle build

I run command: 'gradle build'...for a java project I cloned from github.
I get following error for one of the java file:
error: unmappable character for encoding Cp1252
What's the solution for it?
Edit:
Error is at a comment:
for example, a network code of “NH” may appear on a “National Highway” or “New Hampshire”.
Error message shows this line as:
for example, a network code of ΓÇ£NHΓÇ? may appear on a ΓÇ£National HighwayΓÇ? or ΓÇ£New HampshireΓÇ?.
The simplest solution would be to avoid non ANSI characters in code files. If that is not possible try to save your code files in UTF-8. That should work.

Error in publishing to RPubs from Rstudio

I installed the latest version of RStudio (RStudio 1.1.423 - Windows Vista / 7/8/10).
I'm trying to publish to RPubs, but in Global Options does not appear the option for Rpubs.
When I request Publish Document, the following error appears: Error occurred while executing method.
Rprofile:
I entered the command: options (rpubs.upload.method = "internal") at line 25 of Rprofile, but it did not resolve.
The solution is provided by a careful rereading of http://rstudio-pubs-static.s3.amazonaws.com/25030_8e9c9ffc3b3c423d9381d81543423502.html
"Put in options(rpubs.upload.method = “internal”) and no other text at all". Meaning that this line of code is the only code present in the .Rprofile file.
Previously I had been adding the line to a copy of the rest of the Rprofile text. The unnecessary code was the culprit.
I had the same error before. Turns out it was due to having an accent mark in a folder name from my directory (í). I just modified that one folder name and it worked fine.

VS 2013 suddenly showing projects failed to load

I am getting below error suddenly for all projects. Any idea what could cause this issue. Everything was working till morning.
The project file could not be loaded. The '`' character, hexadecimal value 0x60, cannot be included in a name. Line 1635, position 10. C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets
Resolved .. Somehow my vs 2013 target file at below got corrupted by some junk characters
( C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets).
As mentioned in the error issue was at line number 1635 .

Xcode bigobj option

hi XCode 5 failed to compile file in 32-bit due to the size of the object file.
I tried to add -Bigobj flag but it doe not change anything.
I tried to change optimization settings without success.
the error is : "fatal error: error in backend: Section too large, can't encode r_address (0x1001a97) into 24 bits of scattered relocation entry."
There is no problems when compiling in 64-bit.
Does anyone have an idea about it ?
Thanks

Error resurce compiling

I have problem. I add new dialog in old project, and I have some error:
X:MEATFACTORYMaterialsMaterials.rc (22): error RC2135 : file not found: 0x19
X:MEATFACTORYMaterialsMaterials.rc (74): error RC2135 : file not found: 128
X:MEATFACTORYMaterialsMaterials.rc (1764): error RC2104 : undefined keyword or key name: IDC_LIST_RESULT
Error executing rc.exe.
What is it means?
codepage in file - win1251
what do me?
I need resolve this problem only for VC6.0
At all, the cause of this error was that in the process of adding resources VS6.0 then why (why ? This is not understood) has created another new file resourse.h in the expansion which was added two do not read Unicode characters. That is, were present in the directory two files resourse.h - and with different content. When I set up the conditions as compile / c 68001 - then picked up by a file with Unicode but not complete - and that caused a second group of errors. And if the file is compiled as ASCII - from the point of view of the file system at the studio had two files with the same name - and not one of them could not read ( of course). That is, if you get this error - check the file resource.h - and places without glitches such as in this case .
It is also (probably) this is due to the fact that VS works for me on virtualke to Linux - but from the point of view of the file system of Linux is nothing extraordinary - just two files with different names.

Resources