Menu

#330 Main windows doesn't appear on Linux

v4.x
closed
None
1
2016-03-02
2015-01-11
No

It seems that with version 4.0.17 the opening bug has returned. Again, when launching the editor (either normally or with "-clean", with the config directory existing or removed) causes the app to display the tray icon only. The main editor window does not appear. Tested on Linux x86 against OpenJDK 7u71 and Oracle's JDK 7u72. Both produce the same results.

Discussion

  • Peter "MoroS" Mrożek

    Removed the .asaf directory to check if it's a config issue, but the results are the same. No errors or exceptions were logged.

     
  • 史耀强(Blenta)

    Hi, please click the tray icon to see if main editor window appears.
    If it appears, open ASAF Console view[Window -> Show View -> Console] and check there is any error logged.
    If no window appears, please download the latest ASAF and try again using

    java -jar asaf.jar -clean
    

    If still no output, please tell me. I will build a test jar to replace old asaf.jar. Then post the output.

     
  • 史耀强(Blenta)

    Please replace these two jars : yaoqiang.jar, modules/org.yaoqiang.asaf.base.jar.
    Try again using : java -jar yaoqiang.jar -clean and post the output.

     

    Last edit: 史耀强(Blenta) 2015-01-12
  • Orhun

    Orhun - 2015-01-12

    I had this error too, but it's not about the jdk you're using nor .asaf configuration files..
    I figured out that the error is about permissions.
    You can try changing permissions and than run with "sudo"
    1- sudo chmod +x yaoqiang.jar
    2- sudo java -jar yaoqiang.jar

    I do not advice to run with "-clean" flag, unless you have an error. Because, it deletes all project files that I've configured so I have to configure all again.

    Hope this works..

     
  • Peter "MoroS" Mrożek

    Ok. I've downloaded the files you mentioned and tried to run (with the "-clean" option). The output is as follows:

    BundleEvent org.apache.felix.framework [0]: 2
    MainService: null
    FrameworkEvent: 1, MainService: null

    I've also tried version 4.0.18, but I still have the same problem. What I forgot to mention is that the .yaoqiang directory doesn't get created at all. Seems like something at early initialization stages fails.

     

    Last edit: Peter "MoroS" Mrożek 2015-01-14
    • 史耀强(Blenta)

      Thanks for the valuable information you provided.It seems that the framework encounters a problem when starting modules.
      I will make the starter application smarter in the next release, 'manually remove .asaf directory' will no longer need to be used.

       
  • Peter "MoroS" Mrożek

    I don't know what happened, but after a few tries (with removing the .asaf directory) the app started without problems (both 4.0.17 with downloaded files and the pure 4.0.18). :/

    Then I tried running it from the menu and the problem returned. Then I tried again from the CLI and from the menu and both attempts were successful. O_o

    For the time being I've got it stabilized and it runs every time now, however it's a very weird behaviour.

     
  • Orhun

    Orhun - 2015-01-14

    did you try "sudo java -jar yaoqiang.jar" ?

     
  • Peter "MoroS" Mrożek

    Yeah, I did, although the only thing it does (aside from elevating the priviledges, which is a big no-no when it comes to user-space apps... security, blah, blah, blah... ;) ) is to change the home directory to /root, which gives you another shot on running with no .asaf and .yaoqiang directories. The same result can be achieved with removing those directories from your home directory, as I stated in the previous comment. For the time being I released the 4.0.18 package script to AUR and added a comment about it.

     
  • 史耀强(Blenta)

    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel