Thank you. That worked
but now I have the resource folder issue, that is the file are not accessed 
as it was in the past. I have a html sub-directory in it where some HTML 
files are stored to be loaded in BrowserComponents.
Furthermore I see a new folder inside the resource directory: 
'com.myapp.app' (it's the package name).
I believed it was solved. I think it worked after I told about it some days 
ago. Now I get the exception:

java.io.IOException: Stream closed
    at 
com.codename1.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:140)
    at 
com.codename1.io.BufferedInputStream.fill(BufferedInputStream.java:261)
    at 
com.codename1.io.BufferedInputStream.read1(BufferedInputStream.java:348)
    at 
com.codename1.io.BufferedInputStream.read(BufferedInputStream.java:445)
    at com.codename1.io.tar.TarInputStream.read(TarInputStream.java:104)
    at 
com.codename1.io.tar.TarInputStream.getNextEntry(TarInputStream.java:132)
    at 
com.codename1.impl.CodenameOneImplementation.installTar(CodenameOneImplementation.java:7643)
    at 
com.codename1.impl.javase.JavaSEPort.installTar(JavaSEPort.java:11755)
    at 
com.codename1.impl.CodenameOneImplementation.setBrowserPageInHierarchy(CodenameOneImplementation.java:4216)
    at 
com.codename1.impl.javase.JavaSEPort.setBrowserPageInHierarchy(JavaSEPort.java:11766)
    at 
com.codename1.ui.BrowserComponent.setURLHierarchy(BrowserComponent.java:835)
    at com.codename1.ui.BrowserComponent$19.run(BrowserComponent.java:827)
    at com.codename1.ui.BrowserComponent.onReady(BrowserComponent.java:542)
    at 
com.codename1.ui.BrowserComponent.access$500(BrowserComponent.java:85)
    at com.codename1.ui.BrowserComponent$9.run(BrowserComponent.java:570)
    at com.codename1.ui.Display.processSerialCalls(Display.java:1365)
    at com.codename1.ui.Display.edtLoopImpl(Display.java:1307)
    at com.codename1.ui.Display.mainEDTLoop(Display.java:1189)
    at com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120)
    at com.codename1.impl.CodenameOneThread.run(CodenameOneThread.java:176)

Regards

Il giorno martedì 11 maggio 2021 alle 19:56:42 UTC+2 Steve Hannah ha 
scritto:

> The error you posted is specific to linux.  The Catalina error will be 
> different.
>
> Update your Codename One version to 7.0.26 by changing the cn1.version and 
> cn1.plugin.version properties in your pom.xml file.  That will get it 
> working on Catalina.
> Since it will cause a fresh version of CEF to be downloaded, it may also 
> fix the linux version, but it is possible that the linux issue is deeper - 
> probably a result of changing the JDK version that you are using to run it.
>
>
>
> On Tue, May 11, 2021 at 9:29 AM 'P5music' via CodenameOne Discussions <
> [email protected]> wrote:
>
>>
>> I am experiencing strange malfunctioning on different environments like 
>> below.
>> I am wondering if this can be caused by modifications on server side.
>> Although I am compiling locally, it suddenly started failing on both 
>> environments: linux manjaro, and OSX catilina.
>> I do not know if when compiling for CN simulator there are some server 
>> downloads and processing by the maven system to create some CEF folders, 
>> but this could be the only explaining.
>>
>> [EDT] 0:0:0,613 - Attempting to create browser component
>> [AWT-EventQueue-0] 0:0:0,616 - Attempting to create browser component
>> [EDT] 0:0:0,684 - Exception: java.lang.UnsatisfiedLinkError - 
>> /home/pc/.m2/repository/com/codenameone/codenameone-cef/84.4.1-M2/codenameone-cef-84.4.1-M2-linux64.zip-extracted/lib/linux64/libjcef.so:
>>  
>> /home/pc/.m2/repository/com/codenameone/codenameone-cef/84.4.1-M2/codenameone-cef-84.4.1-M2-linux64.zip-extracted/lib/linux64/libjawt.so:
>>  
>> undefined symbol: awt_SynthesizeWindowActivation
>> [EDT] 0:0:0,693 - Exception: java.lang.RuntimeException - Failed to 
>> create CEF browser
>> java.lang.UnsatisfiedLinkError: 
>> /home/pc/.m2/repository/com/codenameone/codenameone-cef/84.4.1-M2/codenameone-cef-84.4.1-M2-linux64.zip-extracted/lib/linux64/libjcef.so:
>>  
>> /home/pc/.m2/repository/com/codenameone/codenameone-cef/84.4.1-M2/codenameone-cef-84.4.1-M2-linux64.zip-extracted/lib/linux64/libjawt.so:
>>  
>> undefined symbol: awt_SynthesizeWindowActivation
>>
>> please see full log in attachment
>>
>> Thanks in advance
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "CodenameOne Discussions" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/codenameone-discussions/1b56b697-2047-4680-97d9-adddaf000a28n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/codenameone-discussions/1b56b697-2047-4680-97d9-adddaf000a28n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Steve Hannah
> Software Developer
> Codename One
> http://www.codenameone.com
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/bb958b58-b0f8-47f3-a41c-74cf7ba8ba3en%40googlegroups.com.

Reply via email to