Netbeans: Error installing IMlet....Emulator Error - java

Windows 8.1
Java ME SDK 8
Netbeans 8
Since downloading Netbeans a few days ago I've been having persistent problems. It's very slow and the the emulator starts up less than half the time. MosT of the time
I get An error once the emulator opens and it's about the begin running the program. It says:
Error Installing IMlet: See Device Log for Details. (see attachment)
The FATAL error message in the log is as follows:
[03:55:09.401] FATAL - lkit.ui.actions.AmsExecInstall - Unknown error: invalid url: file:///C:/Users/Kevins Home/Desktop/GPIOLEDTest/dist/GPIOLEDTest.jad (see attachment)
This problem also occurs on my girlfriends MAC using the same code + setup.
There's very little online material that seems to be relevant.
Would love to figure out what's wrong so I can finish this course: Develop Java Embedded Applications with a Raspberry Pi
The device Log:
I've tried moving the project to a path without spaces, alsl, but i still get the same error:
[04:40:10.688] FATAL - lkit.ui.actions.AmsExecInstall - Unknown error: invalid url: file:///C:/Users/Public/GPIOLEDTest/dist/GPIOLEDTest.jad
Thanks in advance

Reinstall. There are step by step instructions in this video, which is part of the course you are taking: http://youtu.be/tnC-nEwkdIg

I'm not sure exactly why it fixed the problem, but when I connected my external device ( a raspberry pi) to my laptop via an ethernet cable instead of doing it wirelessly the problem seemed to go away. My SSH must have been too weak to consistently run the emulator. Once it had a strong SSH through the ehternet cable the problem went away. If anyone knows more about exactly why this happened it be happy to hear..

download sdk 3.4 instead of sdk 8

Related

Trying out Expo for React Native, just did an "init", getting socketException error?

Last week I started learning about React Native and using Expo. I created some small apps using "expo init (name)" etc, followed some tutorials, tried some stuff you know the drill.
Today I wanted to start working on a small app idea I have and wanted to do it using Expo CLI instead of React Native CLI first, since building, testing etc is supposed to be easier using Expo.
I just made a new project using "expo init (name)", selecting blank template (so nothing fancy) and running "npm start", then scanning the code with my smartphone app and the app crashes instantly. The error is as follows:
"Uncaught Error: java.net.SocketException: Connection reset"
What does this mean? How can I fix it? I really want to start today using Expo...
This happens when you mobile and system using different internet connection or port.
so try following
Make sure you have stable internet connection and your device and system connected with same internet connection
remove node_modules folder
run npm install
npm start --reset-cache
scan bar code to run it on your device

NetBeans 8.1 Cannot connect to the remote repository

I'm trying to setup github with netbeans using the https path. I go to the push menu and enter the info it needs for repo URL and username/password but when I hit next it just says "Cannot connect to the remote repository at my repository" I've done a little bit of research but nothing has helped so far.
I tried reinstalling netbeans but i'm getting the same error. I should also mention that it works just fine on my laptop.
It appears that netbeans has no network connectivity. It fails to check for updates as well. I tried disabling anti-virus and firewall but neither helped. My computer definitely has internet. I successfully checked updates on my laptop which was on the same network.
The main error that I keep seeing is Unexpected end of file from server whenever I check for updates or test connection in options.
Here is a link to the relevant log: Pastebin LogFile
Found the culprit. Apparently Covenant Eyes is blocking all network connectivity within NetBeans. After reinstalling Covenant Eyes it appears to working now. For now i'm going to mark this as solved unless something else comes up.

Implementing Desktop Screenshare using red5 server

I'm trying to setup a local red5 streaming server to stream my desktop screen to multiple devices with no luck. the setup will eventually look like this.
mylaptop screen (live stream)=> red5 server <= client devices pulling the live stream
note: red5 server is ubuntu based, client devices will eventually be android tablets but any device will do just fine for now
This is what I have so far:
1) Installed red5-server and all of its dependencies using apt-get install red5-server
2) Downloaded red5-screenshare applet from http://code.google.com/p/red5-screenshare/
and followed all the steps there
3) After I start my screensharing, visiting the client link http://[my_red5_server:5080]/screenshare/screenviewer.html produces error #2032
chrome developer tools says
GET http://my_red5_server:5080/screenshare/textLayout_1.1.0.604.swz 404 Not Found
4) so I downloaded the textLayout file from adobe, placed it into the screenshare folder but I still get the same 404 not found error
Is my setup wrong? I'm not sure how to debug this since there's very few documentation on the matter and I reeeeally dont want to write my own java app and reinvent the wheel
Also if any of you happy hackers have found a different solution to locally screenshare I'm all ears
Thank you for taking the time to help.
The error your getting is because the flex "swz" files cannot be downloaded from Adobe. This was happening to us at work this week and we solved it by finding the offending files via google and placing them on our server. Download the swz files and place them in the same directory as your swf file.

Samsung Remote Test Lab application blocked by Java

I'm trying to get Samsung Remote Test Lab working on my Windows 8 machine, but I get an error whenever I try to run their JNPL file downloaded from the site:
"Application Blocked by Security Settings" : "Your security settings have blocked a self-signed application from running"
I've looked at adding an exception in the Java security settings, but don't know what address to specify in the exception.
Anyone come across this problem or suggestions on how to get around it?
I had the same issue on Mac.
I "solved" it by going to System Preferences -> Java -> Security and changing Security Level from High to Medium.
The other solution explained here would be adding the URL to the exception list.
The URL would be http://img-developer.samsung.com I think, I haven't tried that though.

RAD - Websphere Application server won't start

I am having issues with RAD7.
My server will not start for me today. I am working from home and connected to the VPN. Everything works except my server in RAD. It worked fine yesterday in work and had previously worked when I was at home but that was a few weeks ago.
Are there any settings that I should look out for? I have disabled my proxy settings in RAD and turned off everything in my firewall. I can ping all the DBs that the server is connecting to.
I have even removed all the projects from the server and it will still not start. It keeps trying and then times out after 300s.
Any suggestions?
I got a similar error while Starting WebSphere Commerce server v7. This error in my case was caused by me increasing the Maximum Heap size to 2096. I reduced the heap size to 1536 and it worked. None of the errors/trace files indicated this problem.
I had this problem too. Double-click on the server to open the server 'OVERVIEW' tab/view. Scroll down to the section under 'Optimize server start for development:'; uncheck 'Start server with a generated script'. This worked for me. good luck.
I have had this problem once before. I wasn't able to figure out what went wrong, but deleting that server and creating a new one (under Window -> Preferences -> Server -> WebSphere Application Server) fixed the problem.
Re the file not found exception. Make sure the directory path in Windows is of the CoRRectCase, e.g., GALFTGA342130Node01Cell-> galftga342130Node01Cell. I've encountered this on various RAD installations.
With reference to your following comment -
I looked at startserver.log and I saw a file not found exception for this file C:\IBM\SDP70\runtimes\base_v61\profiles\AppSrv01\config\cells\GALFTGA342130Node0‌​1Cell\nodes\GALFTGA342130Node01\serverindex.xml. I checked and the file exists but when I try to open it, I get told access denied.
this link may help you in understanding the problem. it says -
This is a permissions issue caused by the automatic port detection routine. If any profiles already exist and were created as a different user, the port detection routine will try to open the serverindex.xml file in each profile and will fail.
You should set appropriate permissions for your user.
after working several hours in my case I found the solution I hope it works for you ; change my JDK to alternate JRE

Categories