Bug? New IDE (3.00 Beta 1) - Error loading ini file.

Discussion in 'B4J Bugs & Wishlist' started by ShaneG30, May 3, 2015.

  1. ShaneG30

    ShaneG30 Well-Known Member Licensed User

    I'm receiving an error when launching B4J. The error reads ["An error occurred" new-line "Error loading ini".] After the error occurs, the usual "This program has stopped working" dialog pops up.

    The error happens so fast I didn't realize that there was indeed an error. I had to use HyperCam to actually see the error.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Which Windows version are you using? Is this a VM?
     
  3. ShaneG30

    ShaneG30 Well-Known Member Licensed User

    Windows 8.1 and it's running natively on an ASUS laptop.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Please try the following steps:
    - Create a folder named c:\temp
    - Run B4J from the command line: B4J -log

    A file named log.txt should be created after you run B4J. Please upload this file.
     
  5. klaus

    klaus Expert Licensed User

    I have the same problem.
    After running the IDE the first time it worked, I played a bit with it.
    Since the second run I get:
    An error occurred
    Error loading ini


    I use Windows 7.

    Attached the log file.
    I needed to zip it because the log.txt file is too big.
    I sent you the log.txt file by e-mail.
     

    Attached Files:

    • log.zip
      File size:
      14.7 KB
      Views:
      66
  6. Erel

    Erel Administrator Staff Member Licensed User

    I've uploaded a new version (beta 2). Please try it:
    www.b4x.com/b4j/files/beta.exe

    It should work even if the IDE fails to load the old ini file.
     
  7. klaus

    klaus Expert Licensed User

    It shows the error message but works, allways full screen.
     
  8. Erel

    Erel Administrator Staff Member Licensed User

    It shows the same error after you close and then open the IDE again, right?

    Can you send me the three files (or two) that located under: C:\Users\<change to your user name>\AppData\Roaming\Anywhere Software\B4J ?
     
  9. klaus

    klaus Expert Licensed User

    Yes.

    Here they are.
    Three files:
    b4aV0.1.ini
    b4xV5.ini
    layoutV0.1.xml
     

    Attached Files:

  10. Erel

    Erel Administrator Staff Member Licensed User

    Thank you. Now I see the cause of this problem.

    I will later today upload a new version that will fix it.
     
    klaus likes this.
  11. Erel

    Erel Administrator Staff Member Licensed User

    Beta 3 is now available. It should fix this issue. Do note that the error will still appear when you first open the IDE because the problem was in the code that writes the ini file.

    Close the IDE and open it and it should work properly.
     
  12. klaus

    klaus Expert Licensed User

    It's OK now !
    Thank you.
     
    Erel likes this.
  13. ShaneG30

    ShaneG30 Well-Known Member Licensed User

    This is an awesome community! Thanks for fixing this problem, the new IDE (awesome) is now usable again.
     
  14. imbault

    imbault Well-Known Member Licensed User

    Running B4J Version: 3.00 BETA 6

    If I Remove a Module (Project menu), I've got a :
    upload_2015-5-18_13-22-49.png


    Log attached
     

    Attached Files:

    • log.txt
      File size:
      5.3 KB
      Views:
      64
  15. Erel

    Erel Administrator Staff Member Licensed User

    Thank you. I now see it. It is an obfuscation related bug. I will soon upload a new beta.
     
  16. ShaneG30

    ShaneG30 Well-Known Member Licensed User

    @Erel
    This is relating to the Library Pane: I have external libraries I use and in the Library Pane, there are dupes of the external libraries.

    Ex: ByteConverter has a dupe named ".ByteConverter". (note the bolded period)
     
  17. Erel

    Erel Administrator Staff Member Licensed User

    @WhiteholeSoft please start a new thread and if possible post a screenshot of this.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice