ribeiant wrote:
Than k for answer
Can you tell me where can I find this version?

There hasn't been a release yet, so you either need to build from our svn repository. If you don't want to do that and just want the binary, you can download it from the snapshot repo here:

http://people.apache.org/repo/m2-snapshot-repository/org/apache/felix/org.apache.felix.main/1.1.0-SNAPSHOT/org.apache.felix.main-1.1.0-20080116.194212-10.jar

This is the latest snapshot of the "main" subproject. Just rename it to "felix.jar" and use it to replace your existing one.

-> richard

Thanks
Antonio


Karl Pauls wrote:
Could you please retry using the current Felix trunk or 1.1.0-SNAPSHOT
respectively? There are some fixes for mika in trunk. We are close to
releasing Felix 1.0.2 so it would be good to know whether the current
trunk fixes your problem.

regards,

Karl

On Jan 23, 2008 1:12 PM, ribeiant <[EMAIL PROTECTED]> wrote:
Gooodmorning
I have a big problem with the new Felix 1.0.1.
We have istalled it in a embedded linux (UNC90). We use the VM Mika
(http://k-embedded-java.com/).
Our Problem is that with some bundles, that in the java-code initialize
an
array with null (int arr = new int[0]), we become some error:

"Caused by: java.lang.NoClassDefFoundError:
[EMAIL PROTECTED]
could
not load int"
the source that cause this error is:

import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
public class HelloWorld implements BundleActivator {
    public void start(BundleContext context) {
       String s = "Hello world";
       String s2 = "";
       System.out.println("s: "+s);
       int[][][] prova3 = new int[1][5][0];
       System.out.println("After prova");
       int[][][] prova2 = new int[1][5][4];
       System.out.println("After prova2");
       int[][][] prova = new int[1][s.length()][s2.length()];
       System.out.println("After prova3");
    }
    public void stop(BundleContext context) {
       System.out.println("Armageddon");
    }
}

this code print:
s: Hello world
org.osgi.framework.BundleException: Activator start error.
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1573)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1470)
        at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:354)
        at
org.apache.felix.shell.impl.StartCommandImpl.execute(StartCommandImpl.java:82)
        at
org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:265)
        at
org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:167)
Caused by: java.lang.NoClassDefFoundError:
[EMAIL PROTECTED]
could not load int
       at HelloWorld.start(HelloWorld.java:7)
       at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
       at org.apache.felix.framework.Felix._startBundle(Felix.java:1536)
       at org.apache.felix.framework.Felix.startBundle(Felix.java:1470)
       at
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1065)
       at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)
java.lang.NoClassDefFoundError:
[EMAIL PROTECTED]
could not load int

With Felix-0.8.0 we don't become this error, onli with Felix-1.0.1

Have any idea what the problem is?

Thank you very much

Cardoso Antonio
--
View this message in context:
http://www.nabble.com/org.apache.felix.framework.searchpolicy.ContentClassLoader%400x402e8c28-could-not-load-int%22-tp15040385p15040385.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Karl Pauls
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to