Segmentation fault and stuck in the emulator program

I went to run the test code GPIOLEDTest tonight.  When loading on the Pi, I got the following error in the PuTTY window:

[ERROR] ISO [DAAPI] = - 1 cannot open Segmentation Fault.

Also, I get this error when you try to run the GPIOSwitchTest code that I downloaded.

I reduced the offending code to the following:

In GPIOLEDTest, is line 39 in GPIOLED.java-> as - DeviceManager.open (ledID);

In GPIOSwitchTest, line 52 in. GPIOSwitch.java-> switchPin = (GPIOPin) DeviceManager.open (config1);

Thus, it seems that this has something to do with me and the DeviceManager.open () method.

Trying to debug, I went back to something I knew ran in the past, the code of duties 1.  When I try to launch it on IP, the emulator think test GPIOLED code is still ongoing.  I tried selecting this line in the emulator and hit remove them, but nothing that I do take this program in the list of the emulator.  Can anyone help?

The following is the log file for the execution of the GPIOLEDTest device.  I guess that the GPIOSwitchTest file is similar.  The last line seems to indicate that the JAD file is not found, even if there is a JAD file in the expected directory.  Any help would be greatly appreciated.

Property editors custom registering [22:43:46.773] - lkit.bootstrap.DeployerManager - INFO

[22:43:46.786] INFO - me.toolkit.bootstrap.Namespace - batch of start-up, object basis-server module

[22:43:46.792] INFO - bootstrap. ObjectGraphProcessor - consolidation of dependencies...

[22:43:46.792] INFO - bootstrap. ObjectGraphProcessor - dependencies consolidated...

[22:43:46.793] INFO - bootstrap. ObjectGraphProcessor - calculation of order...

[22:43:46.793] INFO - bootstrap. ObjectGraphProcessor - order calculated

[22:43:46.807] INFO - un.jme.toolkit.bootstrap.Batch - initializing objects...

[22:43:46.807] INFO - un.jme.toolkit.bootstrap.Batch - I18N applied

INFO objects - un.jme.toolkit.bootstrap.Batch - initialized [22:43:46.808]

[22:43:46.808] INFO - un.jme.toolkit.bootstrap.Batch - call create() methods...

[22:43:46.808] INFO - un.jme.toolkit.bootstrap.Batch - call start() methods...

[22:43:46.812] INFO - un.jme.toolkit.bootstrap.Batch - objects began

[22:43:46.814] - me.toolkit.bootstrap.Namespace - INFO starting batch, base of the devices/EmbeddedExternalDevice module

Property of WARN - otstrap.deployer.bean.BeanFile - container not supported [22:43:46.829]: mpfprojectdir\dev10\src\csharp\projectbase.file

Property of WARN - otstrap.deployer.bean.BeanFile - container not supported [22:43:46.829]: .bound classes

Property of WARN - otstrap.deployer.bean.BeanFile - container not supported [22:43:46.834]: mpfprojectdir\dev10\src\csharp\projectbase.file

Property of WARN - otstrap.deployer.bean.BeanFile - container not supported [22:43:46.834]: .bound classes

[22:43:46.852] INFO - bootstrap. ObjectGraphProcessor - consolidation of dependencies...

[22:43:46.852] INFO - bootstrap. ObjectGraphProcessor - dependencies consolidated...

[22:43:46.853] INFO - bootstrap. ObjectGraphProcessor - calculation of order...

[22:43:46.854] INFO - bootstrap. ObjectGraphProcessor - order calculated

[22:43:47.500] INFO - un.jme.toolkit.bootstrap.Batch - initializing objects...

[22:43:47.772] INFO - un.jme.toolkit.bootstrap.Batch - I18N applied

INFO objects - un.jme.toolkit.bootstrap.Batch - initialized [22:43:47.773]

[22:43:47.773] INFO - un.jme.toolkit.bootstrap.Batch - call create() methods...

[22:43:47.818] INFO - un.jme.toolkit.bootstrap.Batch - call start() methods...

[22:43:48.039] INFO - .rmiimpl. RemotingConnectorImpl - service: jmx:rmi starting the JMX connector: jndi / / / / rmi://127.0.0.1:60918 / device-3

[22:43:48.183] INFO - toolkit.ui.actions.AmsExecImpl - connected Proxy. isNetworkMonitorSupported = false

[22:43:49.008] INFO - un.jme.toolkit.bootstrap.Batch - objects began

[22:43:50.207] FATAL - lkit.ui.actions.AmsExecInstall - Unknown error: invalid url: file:///D:/RobShare/Programming/classes/Oracle - Java development integrated Applications using a raspberry Pi/Code/Homework_2/GPIOLEDTest/GPIOLEDTest/dist/GPIOLEDTest.jad

Thank you

OK, I feel really bad here, I finally understood that.  This is another error PEBKAC (problem exists between keyboard and Chair).

This problem was caused by the no runnng./usertest.sh without the sudo command.

Lesson learned here: ALWAYS RUN WITH SUDO usertest.sh!

Thanks to all who helped!

Rob

Tags: Java

Similar Questions

  • Windows 7 takes too long to install, stuck to the 'Setup program starts.

    Hello

    I have a computer that is currently running Windows 7, I got three years. When the operating system he reached last started, I decided to reinstall it from the installation disc that came with it. But for some reason, I'm stuck at the "start Setup", even though I looked in other forums and as I said it, disable the floppy drive on the bios. I managed to turn it off, but still, stuck on 'the installation program starts' I tried to format the hard drive again. I am a student and I really need to get my computer operational.

    Data sheet:

    Windows 7 Home Premium

    RedFox N68S3 + motherboard

    AMD Athlon II X 2

    P. S.

    -My current operating system, Windows 7, is totally corrupted and cannot start. Always displays 'Launch Startup Repair' tried and cannot solve the problem

    If you have bad clusters, the only choice is to replace the hard drive.

  • My fireefox icon has disappeared from my computer. The only way I can download firefox is to go into programs and double-click the firefox program.

    The icon that is on my main computer for firefox screen disappeared.
    The only way I can download firefox now is to go to all program and double-click the firefox program.
    How can I get the icon on the main screen so that all I have to do is double-click on the icon and download firefox?
    AlSi I mustn't lose all my favorites.

    go to the start menu > all programs & right click on the firefox icon. in the context menu, select "send to" and then "desktop (create shortcut)" (do not know if these are the exact terms since I use a non-English operating system)

  • I've recently upgraded to El Capitan - biggest problem is timing removed all the entries in my previous ical. Any ideas how I can track down the file containing these essential documents and install in the new program?

    I've recently upgraded to El Capitan - biggest problem is timing removed all the entries in my previous ical. Any ideas how I can track down the file containing these essential documents and install in the new program?

    All calendars are enabled in the sidebar?

  • Windows 7 HP is responsible and can run for 2-3 minutes then the computer crashes and returns to the startup program

    After opening windows computer HP 7 is loaded and can run for 2-3 minutes then the computer hangs and goes to the startup program. However, in safe mode, it remains open without any problems. Recently, the only problem I've had is that the MSN server is not running and has been replaced by BABYLON, who refuses to uninstall itself. I system restored to all the possible dates and problem remains. Can anyone help please

    Scan with these two free tools

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    http://www.Malwarebytes.org/products/malwarebytes_free/

    What anti virus or third-party maintenance utilities have installed?

  • If I have windows 7 64 bit and I delete the folder program files (x 86) from my hard drive

    If I have windows 7 64 bit and I delete the folder program files (x 86) from my hard drive

    On Fri, September 14, 2012 03:06:02 + 0000, MerrellWilson wrote:

    It's 74GB and I used 73 GB

    Two points:

    1. If you want to delete some installed programs, do not make
    deletion of the folder they are in. That doesn't remove them only partially and
    can cause problems. Remove programs by in control
    Configuration/program Panel and features.

    2. a drive of 74 GB is a tiny disk these days. There are a number of
    things you can do to save space, but they are all basically
    temporary and you will soon find yourself in the same situation.
    The only real solution is to buy and install a larger capacity drive.
    Fortunately, they are very cheap these days; You can buy a 500GB
    drive for about US $65.

    Ken Blake, Microsoft MVP

  • I have a new computer and have lost the dreamweaver program.  How can I find and redownload it?

    I have a new computer and have lost the dreamweaver program.  How can I find and redownload it?

    Download and Installation Help-

    https://helpx.Adobe.com/download-install.html

  • Hi, I bought Photoshop and Premiere Elements for windows, but now I have an iMac and want to disable it on the PC and transfer to the iMac programs. Is that possible think even I bought for Windows?

    Hi, I bought Photoshop and Premiere Elements for windows, but now I have an iMac and want to disable it on the PC and transfer to the iMac programs. Is that possible think even I bought for Windows?

    Thanks, but it seems that only work with the latest versions. I have 12 items. Think I need to upgrade, but it's ok.

  • Re: My Qosmio F60 - 11f is VERY SLOW and stuck all the time

    Hi everyone :)

    I have a qosmio f60 - 11f with 2.26 to 3.3 with turbo i7
    6 GB of Ram
    640 GB HHD
    1 GB Nvidia GT330M graphics

    the problem is that since I bought it and its slow I don't know why!
    Now the laptop over 14 months and I did a lot of recovery time because of problems and stuck, I him.
    last day I did the cover and I noticed that the laptop is becoming slower!
    It takes about 5 minutes to get started! not only that, after started and open any folder you will notice how slow it is. Even in the videos I can't open it because the laptop will be stuck and play the video very very slow!
    Please help me.

    Hello

    First of all I recommend to check the HARD disk for disk failure HARD errors that may affect the performance of the computer, you should check the HARD drive using freeware tools one of the tools that I use is the Drive Fitness Test he has been published several times here in the forum and its really great software.

    If the HARD drive would be ok and if no error would be detected, then, I recommend disabling some processes that are not important for you in many cases different tools would be charged during the OS start process and these tools run in the background that slow down the operating system.
    Run msconfig and check the Startup tab
    Here you will see all the programs that are loaded at the beginning, you can uncheck the tools is not necessary

    Note: If you are not sure what means the only process, use google and search in internet for more details otherwise don't disable this.

  • Why the 2011 State reg Highway parameters are incorrect and to run the installation program - does not work

    Highway 2011 inserted from the original disc. Indicates that the registry files have been copied incorrectly and that the installation must be executed again from the original source.

    Disc reinserted after repair, yet no different, remove program and reinsert and the message reappears. The program was OK when it is used first on 24/10/11

    and the fault appeared later that no other programs have been added since. Thank you

    Hello

    ·         What operating system do you use?

    ·         Were there recent changes made on the computer before the show?

    I suggest you follow the troubleshooting steps form the article and check if it helps.

    Error message when you install a Microsoft game or a mapping program

    http://support.Microsoft.com/kb/258496

    Also, try to contact the highway help and support site and check if it helps.

    http://www.Microsoft.com/UK/Autoroute/support.aspx

  • How can I back up my computer, and then delete the unused programs to speed up my computer

    would need a guide step by step for me to do it properly.

    PML had to jump into a second :)

    go to start, Control Panel, add/remove programs, wait to fill the list, and then to the right, choose Delete to any program you don't want, after the withdrawal if he is not asked to restart, then restart the pc.

  • Folder "Programs and features" shows the installed program, but is blank when the file size must be listed.

    Original title: what does it mean when you have a program installed, but when you open the folder "Programs and features" it shows the program installed but remains empty where should be the size of the file?

    Shows information for the installed program, including the NAME, PUBLISHER, & INSTALLED ON (DATE), but under the info column of SIZE empty sound while 98% of all my installed programs show how much KB or MB "and specific program installed. Seems to lack the SIZE info only on any one of my Adobe programs and a few select other random programs?

    Hi AlinaSporl,

    The size information is reported by the uninstaller for each program component. A program of uninstalling programs will not report this value, so the size of the program does not appear in this list.

    Another way to get a close estimate of the total size for an individual program is to check the properties of this installation of programs parent folder in C:\Program Files.

    You can read the following article and check:

    How add/remove programs is the size and other information?

    Hope this information is useful.

  • Can package and launch of the emulator of the ripple

    Hello

    I am able to build and verify my application using the emulator to ripple. When I try to deploy the application on my PlayBook, I learned that the build succeeded. I also see the bar file successfully created in the output folder. However, I don't see the app on my PlayBook.

    I confirmed that my debugging chips are not yet due and I also checked to make sure that the mode of development and the device password is correct. I also checked that the settings of the emulator of undulation for IP address matches that on the device. I use the developer version of beta of the operating system (2.1.0.560) and use the stand-alone emulator Ripple (not the chrome extension). I develop using the Tablet OS SDK than BB10 sdk currently not support directory and file API calls.

    I don't know what else to try because I do not receive the error messages and the app seems to have been built very well, but fails to install/launch.

    REDA

    Hi Nuno,

    Thanks for the comments. I managed to pack with the extension chrome as well, but he would not launch on the playbook. However, I was able to find a workaround. If I package and install from the command line using bbwp and deploy blackberry, it seems to work correctly. I can live with that for now.

    Thank you

    REDA

    Update: the problem with the emulator of ripple is also solved thanks to this thread.

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/cannot-install-with-ripple-plug-...

  • Change the network connection speed and reliability of the emulator

    Hello

    I want to test my application in the State of the slow and unreliable network.

    I wonder if we can change the speed of the emulator network connection? Or y at - it a tool that can help us to do this?

    I'm also thinking about a simple proxy server which can regulate the speed of connection. And then my application connects to this server to test. This type of proxy server software exist?

    Thanks in advance

    Ball

    I think that the best you can do is play with simulation--> network coverage options - see the simulation on the Simulator menu.

  • installation stuck to the installation program starts

    Compaq presario CQ61

    Windows Vista

    Start Windows blocked installation

    my laptop is not boot.i am trying to install a new copy of windows 7 and stuck as above mentioned.when I diagnose the HARD drive told for replace.i replaced but bothing start changed.doesnt. Any suggestions?

    Hello

    Error 305 is a long drive Self Test failure and would indicate that the HARD disk has failed.

    As another test, you can try the following.

    Follow the procedure below to create a bootable Ubuntu CD and follow the steps in part 3 of 'Try' to see if the operating system is running.  The option 'Try' runs the operating system from the CD without having to install on your HARD drive.  If it works Ok (it will be slow running on a CD), this would tend to confirm that the problem is with the HARD drive.

    http://www.Ubuntu.com/desktop/get-Ubuntu/download

    Kind regards

    DP - K

Maybe you are looking for