Can't send builds to Codename One server - codenameone

I can't send a build to Codename One build server anymore. Previously, I was able to "Send Android Build" successful and download the apk. Now, for whatever unknown reasons, the "Send Android Build" just ended without any errors and no apk appears in the Dashboard. (Previously, it asked me something about a certificate. I had to click OK.). I tried multiple times and nothing worked.
Then, I created a new Codename One project (a sample project with native interface). Upon sending the Build (Send Android Build) it worked - it prompted me about the certificate and the build appeared in the Dashboard.
Immediately after that, I tried to send the build again (from my app under development), it was denied with a message that I can send only one build at one time. The error message included my email address, which means it indeed logged in using my account credentials.
After some time (when the sample app was build), I did the "Send Android Build" again, and it was the same: it failed silently and there's no clue.
What could have gone wrong? What settings should I look into?
I'm using IntelliJ IDEA 2017.1.
Thanks!

I digged further and found that there is a log message saying it has exceeded the size and I need to upgrade the account.
Well, Codename One should had put this up in a Dialog box instead of failing silently. :-)

Related

CodenameOne build login failed

I can log into the web site, but the builds do not log in. I was able to build yesterday, but not today. I'm getting the following build error:
"You have a build in progress within the queue. Only one build may be active at a time
/Users/admin/Documents/DevNetbeans/CodenameOneHiThere/build.xml:338: Login failed"
I've reset the password in the CodenameOne setting/login, but still no success.
Log into the website dashboard an cancel any pending builds you have. Then send another build.

Codename One: Can't install iOs App anymore

I made some fixes for my App and wanted to try it out today on my iPhone and now I can't install it on the device anymore. I'm getting the error "Unable to Download App" on the phone.
I haven't changed anything on my Apple Developer Account and yesterday everything was working fine. Is this a known bug and does anybody know how to fix this? My iPhone is of course registered and I also did the "iOS Certificate Wizard" and built it again but it didn't work either.
Edit: So I was able to install the app after doing the complete Certificate Wizard again with also overwriting everything (which I had not done before), but now I made another build and I can't install it again! Do I really have to do the Wizard thing every time I send a build now?
Are you trying to install a distribution build on top of a development build, or vice-versa? If so, uninstall the existing app first.

it gives an alert on eclipse : Unable to Update : appengine-api-1.0-sdk-1.5.0.jar (Access is denied) when deployed to GAE

I am unable to deploy my application to google app engine however I can deploy it when I try 2nd or 3rd time. I get an alert on eclise as well as the log on console as below:
------------ Deploying frontend ------------
Preparing to deploy:
Created staging directory at: 'C:\DOCUME~1\bg92344\LOCALS~1\Temp\appcfg2387862893654282649.tmp'
Scanning for jsp files.
Compiling jsp files.
Scanning files on local disk.
java.io.FileNotFoundException: C:\DOCUME~1\bg92344\LOCALS~1\Temp\appcfg2387862893654282649.tmp\WEB-INF\lib\appengine-api-1.0-sdk-1.5.0.jar (Access is denied)
Debugging information may be found in C:\Documents and Settings\bg92344\Local Settings\Temp\appengine-deploy8040646126412995823.log
One thing that I found peculiar that when I go to Temp\appcfg2387862893654282649.tmp\WEB-INF\lib\ the jar appengine-api-1.0-sdk-1.5.0.jar dissapears after i get this alert, I guess it is not copying the jar completely. I dont know why :(
Can anybody help me out on this. Thanks in advance.
Regards,
BaleSabu
1 Login from Eclipse to your Google account (left bottom icon)
2 Check you application id before deploy. Should be same to your application.
3 Your user should have owner or admin role for application you want to deploy
Try cleaning and rebuilding your project before attempting to deploy again. Alternatively try to restart your IDE or computer. This fixed my errors in Android Studio.

Google App Engine Hello World not working (Eclipxse, Java)

I have checked and rechecked to see that I've done everything correctly, fixed a few problems with java 1.7 (set java compliance to 1.6) etc, and ran the program in develop mode and debug mode.
But when I go to the URL given (http://localhost:8888) I get a 404 screen:
HTTP ERROR: 404
Problem accessing /. Reason:
NOT_FOUND
Powered by Jetty://
The welcome file index.html is in the war directory and web.xml lists index.html as the welcome file. I get the same screen when I try to get the admin console at /_ah/admin as well. The logs I could find didn't show anything. Obviously GAE is working as it uses Jetty, any other port number I enter gives me a browser error:
Oops! Google Chrome could not connect to localhost:8887
Suggestions:
Try reloading: localhost:­8887
Search on Google:
So what could be the problem? I checked file and directory permissions but I'm the only user on this computer ... any ideas or help is appreciated.
James
EDIT
I figured out the problem. My browser cache was holding a different package I had installed previously in my workspace. Simply clearing the cache after terminating all launches was the working solution. I was then able to continue with the excellent tutorial.
http://googcloudlabs.appspot.com/whatgae.html
GAE requires a controlled setup and a good place to follow and start is GAE tutorial. Here is a link GAE TUTORIAL
Look at my answer here.
You have to change Java version in Project Facet also.
GAE does not yet support being run with Java 1.7. Setting a compliance mode for Eclipse doesn't have any effect.
And that error you're getting form Eclipse for port :8887 is telling you that no application on your local machine is listening on that port. It provides no evidence one way or the other as to whether GAE is working.
Try again with Java 1.6.

Unable to deploy a Roo/GWT application on Google AppEngine from Springsource Tool Suite

I followed this excellent tutorial but, as it doensn't cover the deployment part, I tried to do it by myself.
So, I installed Springsource Tool Suite in Ubuntu.
Then, I create a "demo1" Roo project.
Next, with the built-in Roo Shell, I taped the following commands:
persistence setup --provider DATANUCLEUS --database HYPERSONIC_IN_MEMORY
entity --class ~.server.domain.Employee
field string --fieldName firstName --sizeMin 3 --sizeMax 20
field string --fieldName lastName --sizeMin 3 --sizeMax 20
gwt setup
After I checked "Use Google Webkit" in "Webkit Options", the project ran perfectly!
Then, to deploy the application to the App Engine, I taped the following command:
persistence setup –database GOOGLE_APP_ENGINE –provider DATANUCLEUS
which runs without any problem.
Then, i setup the AppEngine options (Application name and version ...) and clicked on the "Deploy App Engine Project" icon.
A popup shows and asks for the project name, email and password.
I gave all these information and clicked on "Deploy".
Unhopefully, an error occured and a popup showed with the following error message:
GWT compilation failed
And in the console, I got the following error:
Compiling module com.springsource.demo1.gwt.ApplicationCommon
[ERROR] Module has no entry points defined
I think that the problem is that GWT can't find the war file ...
Anyone succeded in deploying a GWT/Roo application by clicking on the "Deploy" icon?
Thank you very much,
Regards.
What you need to do is go to the Google -> Webtool Kit Settings... and remove ApplicationCommon from the Entry Point Modules list, and you probably need to remove some more, so only the configuration file with the Entry point remains.
Some background: The error is generated by the GWT compiler. When deploying GWT compiles the Java source to JavaScript. GWT uses module files with the extension: .gwt.xml which contain configuration information for the compiler. In at least one of these configuration files an entry point must be specified. By default the Webtool Kit Settings contain all those gwt.xml files from your project (there are probably 4), while only those with an entry point should be specified.
What version of STS were you using? I think this may be fixed with STS 2.3.3.M2...

Resources