You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
(1) |
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2007 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
(4) |
Jul
(2) |
Aug
(35) |
Sep
|
Oct
(2) |
Nov
(9) |
Dec
|
| 2008 |
Jan
|
Feb
(5) |
Mar
(1) |
Apr
(10) |
May
(8) |
Jun
(4) |
Jul
(9) |
Aug
(2) |
Sep
(7) |
Oct
(19) |
Nov
(17) |
Dec
|
|
From: Bartek T. <ba...@ba...> - 2007-06-19 13:26:20
|
Hi, Indeed, we changed classloading method in 2.0.1. Mostly because we wanted to fix some core library incompapilities beetween Java ME and Java SE and we started to use ASM bytecode intrumentation software for that purpose. Your example is a side effect of that change. However we designed new classloader code to be compatible with MIDP packaging scheme (jad/jar). Your example doesn't fit into that standard. If you want to change that behaviour look into the following parts of MicroEmulator code: 1. microemu-javase/src/main/java/org/microemu/app/Common.java public static void openJadUrl(String urlString) public static void openJadUrl(String urlString, MIDletClassLoader midletClassLoader) protected void loadFromJad(String jadUrl, MIDletClassLoader midletClassLoader) 2. microemu-javase/src/main/java/org/microemu/app/classloader/MIDletClassLoader.java Bartek Teodorczyk 2007/6/18, Rushabh Doshi <ra...@pe...>: > > > > Hey folks, > > Did the classloading get changed in 2.0.1 onwards? Here is the symptom, I > haven't yet dug into exactly what is going on: > > I have Base.jar with namespace com.company which contains package private > class Package.class > > I have Dependent.jar with namespace com.company which contains class > App.class which reference Package.class. > > Note that this is perfectly valid (two jars with the same namespace > accessing package private classes). > > This works fine in micro-2.0.0 but fails with IllegalAccessError in 2.0.1 > and 2.0.2-SNAPSHOT. > > Does someone know off the top of their head what is going on? If not, I can > dig further into this issue. > > Thanks! > -Rushabh > > -- > > Rushabh Doshi > > http://keeda.stanford.edu/~radoshi > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Microemulator-users mailing list > Mic...@li... > https://lists.sourceforge.net/lists/listinfo/microemulator-users > > |
|
From: Rushabh D. <ra...@pe...> - 2007-06-18 20:50:16
|
Hey folks, Did the classloading get changed in 2.0.1 onwards? Here is the symptom, I haven't yet dug into exactly what is going on: I have Base.jar with namespace com.company which contains package private class Package.class I have Dependent.jar with namespace com.company which contains class App.class which reference Package.class. Note that this is perfectly valid (two jars with the same namespace accessing package private classes). This works fine in micro-2.0.0 but fails with IllegalAccessError in 2.0.1 and 2.0.2-SNAPSHOT. Does someone know off the top of their head what is going on? If not, I can dig further into this issue. Thanks! -Rushabh --=20 Rushabh Doshi http://keeda.stanford.edu/~radoshi |
|
From: Kenny S. <ke...@pe...> - 2007-03-23 14:33:17
|
Excellent, thanks!
-----Original Message-----
From: ba...@gm... on behalf of Bartek Teodorczyk
Sent: Fri 3/23/2007 7:16 AM
To: Kenny Simpson
Cc: mic...@li...
Subject: Re: [Microemulator-users] patch for drawRGB
=20
That bug is already fixed in svn trunk and will be included in 2.0.1 =
release.
Bartek
2007/3/23, Kenny Simpson <ke...@pe...>:
>
>
>
> This fixes a bug where we want to draw a subregion from the larger =
image.
> I just dropped the error checking, but I'm not sure if it is correct =
or
> not.
>
> ---
> ./core/src/org/microemu/device/j2se/J2SEDisplayGraphics.java.orig
> 2007-03-22 17:23:59.000000000 -0700
> +++
> ./core/src/org/microemu/device/j2se/J2SEDisplayGraphics.java
> 2007-03-22 17:30:07.000000000 -0700
> @@ -429,19 +429,19 @@
> if (rgbData =3D=3D null)
> throw new NullPointerException();
>
> - int l =3D rgbData.length;
> -
> - if (width <=3D 0 || height <=3D 0 || offset < 0 || =
offset >=3D l ||
> - (scanlength < 0 && scanlength * (height-1) < 0) =
||
> - (scanlength >=3D 0 && scanlength * (height-1) + =
width-1
> >=3D l))
> - throw new
> ArrayIndexOutOfBoundsException();
> -
> - int [] rgb =3D new int[l - offset];
> + int area =3D width * height;
> +
> + int [] rgb =3D new int[area];
> // this way we dont create yet another array in =
createImage
> int transparencyMask =3D processAlpha? 0 : 0xff000000;
> -
> - for(int i =3D 0; offset < l; offset++, i++)
> - rgb[i] =3D rgbData[offset] | transparencyMask;
> +
> + int i =3D 0;
> + for(int iy =3D 0; iy < height; ++iy) {
> + for (int ix =3D 0; ix < width; ++ix) =
{
> + rgb[i++] =3D
> rgbData[offset + ix] | transparencyMask;
> + }
> + offset +=3D scanlength;
> + }
>
> // help gc
> rgbData =3D null;
>
>
> -Kenny
>
> =
-------------------------------------------------------------------------=
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to =
share your
> opinions on IT & business topics through brief surveys-and earn cash
> =
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDEV
> _______________________________________________
> Microemulator-users mailing list
> Mic...@li...
> https://lists.sourceforge.net/lists/listinfo/microemulator-users
>
>
|
|
From: Bartek T. <ba...@ba...> - 2007-03-23 14:16:49
|
That bug is already fixed in svn trunk and will be included in 2.0.1 release.
Bartek
2007/3/23, Kenny Simpson <ke...@pe...>:
>
>
>
> This fixes a bug where we want to draw a subregion from the larger image.
> I just dropped the error checking, but I'm not sure if it is correct or
> not.
>
> ---
> ./core/src/org/microemu/device/j2se/J2SEDisplayGraphics.java.orig
> 2007-03-22 17:23:59.000000000 -0700
> +++
> ./core/src/org/microemu/device/j2se/J2SEDisplayGraphics.java
> 2007-03-22 17:30:07.000000000 -0700
> @@ -429,19 +429,19 @@
> if (rgbData == null)
> throw new NullPointerException();
>
> - int l = rgbData.length;
> -
> - if (width <= 0 || height <= 0 || offset < 0 || offset >= l ||
> - (scanlength < 0 && scanlength * (height-1) < 0) ||
> - (scanlength >= 0 && scanlength * (height-1) + width-1
> >= l))
> - throw new
> ArrayIndexOutOfBoundsException();
> -
> - int [] rgb = new int[l - offset];
> + int area = width * height;
> +
> + int [] rgb = new int[area];
> // this way we dont create yet another array in createImage
> int transparencyMask = processAlpha? 0 : 0xff000000;
> -
> - for(int i = 0; offset < l; offset++, i++)
> - rgb[i] = rgbData[offset] | transparencyMask;
> +
> + int i = 0;
> + for(int iy = 0; iy < height; ++iy) {
> + for (int ix = 0; ix < width; ++ix) {
> + rgb[i++] =
> rgbData[offset + ix] | transparencyMask;
> + }
> + offset += scanlength;
> + }
>
> // help gc
> rgbData = null;
>
>
> -Kenny
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Microemulator-users mailing list
> Mic...@li...
> https://lists.sourceforge.net/lists/listinfo/microemulator-users
>
>
|
|
From: Kenny S. <ke...@pe...> - 2007-03-23 00:39:56
|
This fixes a bug where we want to draw a subregion from the larger =
image.
I just dropped the error checking, but I'm not sure if it is correct or =
not.
--- ./core/src/org/microemu/device/j2se/J2SEDisplayGraphics.java.orig =
2007-03-22 17:23:59.000000000 -0700
+++ ./core/src/org/microemu/device/j2se/J2SEDisplayGraphics.java =
2007-03-22 17:30:07.000000000 -0700
@@ -429,19 +429,19 @@
if (rgbData =3D=3D null)
throw new NullPointerException();
=20
- int l =3D rgbData.length;
- =20
- if (width <=3D 0 || height <=3D 0 || offset < 0 || offset =
>=3D l ||
- (scanlength < 0 && scanlength * (height-1) < 0) ||
- (scanlength >=3D 0 && scanlength * (height-1) + =
width-1 >=3D l))
- throw new ArrayIndexOutOfBoundsException();
- =20
- int [] rgb =3D new int[l - offset];
+ int area =3D width * height;
+
+ int [] rgb =3D new int[area];
// this way we dont create yet another array in createImage
int transparencyMask =3D processAlpha? 0 : 0xff000000;
- =20
- for(int i =3D 0; offset < l; offset++, i++)
- rgb[i] =3D rgbData[offset] | transparencyMask;
+
+ int i =3D 0;
+ for(int iy =3D 0; iy < height; ++iy) {
+ for (int ix =3D 0; ix < width; ++ix) {
+ rgb[i++] =3D rgbData[offset + =
ix] | transparencyMask;
+ }
+ offset +=3D scanlength;
+ }
=20
// help gc
rgbData =3D null;
-Kenny
|
|
From: <an...@an...> - 2004-10-20 01:13:30
|
hi all, when i execut "simpledemo.html" html file on local it secced but when i put it on web server like"127.0.0.1 my local web server"=20 and execut it it give me error like : note " im not change anything on the html or any file " and remmber when i execute it by click on HTML file its secced and work = well ... I try it on many JVM and get same result .. when i visit http://www.barteo.net/microemulator its work will so my JVM = work well.. where is my problem .. pleas help me Java(TM) Plug-in: Version 1.4.2_04 Using JRE version 1.4.2_04 Java HotSpot(TM) Client VM ---------------------------------------------------- load: class com.barteo.emulator.applet.Main not found. java.lang.ClassNotFoundException: com.barteo.emulator.applet.Main at sun.applet.AppletClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadCode(Unknown Source) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.plugin.AppletViewer.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: open HTTP connection failed. at sun.applet.AppletClassLoader.getBytes(Unknown Source) at sun.applet.AppletClassLoader.access$100(Unknown Source) at sun.applet.AppletClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) ... 10 more -------------------------------------------- |
|
From: <an...@an...> - 2004-10-20 00:58:00
|
hi all, when i execut simpledemo html file on local it secced but when i put it on web server like"127.0.0.1 my local web server"=20 and execut it it give me error like : note " im not change anything on the html or any file " and remmber when i execute it by click on HTML file its secced and work = will ... I try it on many JVM and get same result .. pleas help me Java(TM) Plug-in: Version 1.4.2_04 Using JRE version 1.4.2_04 Java HotSpot(TM) Client VM ---------------------------------------------------- load: class com.barteo.emulator.applet.Main not found. java.lang.ClassNotFoundException: com.barteo.emulator.applet.Main at sun.applet.AppletClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadCode(Unknown Source) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.plugin.AppletViewer.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: open HTTP connection failed. at sun.applet.AppletClassLoader.getBytes(Unknown Source) at sun.applet.AppletClassLoader.access$100(Unknown Source) at sun.applet.AppletClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) ... 10 more -------------------------------------------- |
|
From: Bartek T. <ba...@ba...> - 2003-12-15 09:06:56
|
MicroEmulator 0.4 0.4 (alpha) Status: - partially implemented Nokia UI API (thanks to Markus Heberling) - partially implemented Siemens API (thanks to Markus Heberling) - app: SWT port - app: opening initial MIDlet using jad file: java -jar me-app.jar mymidlet.jad - added socket connection in javax.microedition.io.* Bartek Teodorczyk |
|
From: Rob H. <ro...@ro...> - 2003-09-04 04:26:23
|
Here you go. I can reproduce this using the attached code, and this image : http://roberthelmer.com/images/valid-xhtml10.png Any image I have tried to download and display this way does not seem to work with Microemulator, but this same exact code works with the Sun WTK 1.04 emulator. Thanks, Rob On Wed, Sep 03, 2003 at 11:26:30AM +0200, Bartek Teodorczyk wrote: > Robert Helmer wrote: > > > > > > > Please attach sample code with png image. > > B. > > |
|
From: Robert H. <ro...@na...> - 2003-09-03 05:54:11
|
Hello, I've been using MicroEmulator as an applet for a couple months, and it works great! I just ran into a problem today though that I can't seem to replicate on the Sun emulator. I'm using the createImage method with this signature : createImage(byte[] imageData, int imageOffset, int imageLength) I believe I am calling everything correctly, as it works in both the emulators that come with the Sun 1.04 and 2.0 WTK. Here's the exception and relevant part of the stack trace : java.lang.IllegalArgumentException: java.io.IOException: Error decoding PNG image at com.barteo.emulator.device.j2se.J2SEDevice.createImage(J2SEDevice.java:120) at javax.microedition.lcdui.Image.createImage(Image.java:56) I've checked and double checked that the PNG is OK (it does work in the other emulator after all). Other things I've tried without success : * reduced image palette to 16 colors * reduced image to grayscale * tried a smaller image (logo) that's loaded from the jar Any help would be appreciated! Thanks, Rob Helmer |
|
From: Bartek T. <ba...@ba...> - 2003-06-26 14:57:20
|
Roy Smith wrote: > Both of these methods give rise to a > > java.lang.NoSuchMethodError: java/lang/StringBuffer: method > deleteCharAt(I)Ljava/lang/StringBuffer; not found > > > Any ideas anyone ? > This is known problem and was discussed at: http://sourceforge.net/tracker/index.php?func=detail&aid=688536&group_id=30014&atid=397809 B. |
|
From: Bartek T. <ba...@ba...> - 2003-06-26 14:39:36
|
Roy Smith wrote: > I gave up with this in the end as I kept getting the original error. > Instead I unzipped the emulator JAR, patched the built in emulator to my > requirements, and re-jared it. > So I'm working, but the problem isn;t solved :( > Problem with: java.lang.NullPointerException at java/util/Hashtable.get at com/barteo/emulator/MIDletBridge.getMIDletAccess at com/barteo/emulator/applet/Main.start at com/ms/applet/AppletPanel.securedCall0 at com/ms/applet/AppletPanel.securedCall at com/ms/applet/AppletPanel.processSentEvent at com/ms/applet/AppletPanel.run at java/lang/Thread.run was recently fixed, but currently only in CVS branch. B. |
|
From: Roy S. <roy...@pr...> - 2003-06-18 13:27:36
|
Both of these methods give rise to a java.lang.NoSuchMethodError: java/lang/StringBuffer: method deleteCharAt(I)Ljava/lang/StringBuffer; not found Any ideas anyone ? btw. I forgot to say in prvious post what a great piece of software this is ! Thanks to all concerned, and if it's only Bartek, then special thanks. |
|
From: Roy S. <roy...@pr...> - 2003-06-08 13:10:27
|
I want to try a new skin. I thought I'd start by explicitly naming the existing skin, but I get a Error loading class: net.barteo.me.appletdevice.minimum.MinimumDevice java.lang.NoClassDefFoundError java.lang.ClassNotFoundException: net.barteo.me.appletdevice.minimum.MinimumDevice java.lang.NullPointerException at java/util/Hashtable.get at com/barteo/emulator/MIDletBridge.getMIDletAccess at com/barteo/emulator/applet/Main.start at com/ms/applet/AppletPanel.securedCall0 at com/ms/applet/AppletPanel.securedCall at com/ms/applet/AppletPanel.processSentEvent at com/ms/applet/AppletPanel.run at java/lang/Thread.run My HTML is ... <applet code="com.barteo.emulator.applet.Main" width=170 height=445 archive="me-applet.jar,AnoKaBamidp10.jar,minimum.jar"> <param name="midlet" value="AnoKaBa"> <param name="device" value="net.barteo.me.appletdevice.minimum.MinimumDevice"> </applet> and minimum.jar is in the same directory as the HTML Help :-) |
|
From: Bartek T. <ba...@it...> - 2002-11-21 20:43:50
|
MicroEmulator 0.3.1 0.3.1 (alpha) - 21.11.2002 - device display is better customizable - many fixes in ChoiceGroup (Shane Harper) - app: fixed NullPointerException when run ME without initial MIDlet - app: defined Main-Class in the MANIFEST.MF file Bartek Teodorczyk |
|
From: Bartek T. <ba...@ba...> - 2002-08-29 08:08:57
|
MicroEmulator 0.3 0.3 (alpha) - 29.08.2002 - created custom device framework (currently applet and j2se) - default device has color display - added minimum device profile sample - app: changing device profiles on-the-fly Bartek Teodorczyk |
|
From: Bartek T. <ba...@it...> - 2002-04-03 17:54:57
|
MicroEmulator 0.2 0.2 (alpha) - 3.04.2002 - MIDP/CLDC API finished (javax.microedition.io.* currently http only) - handled computer keyboard input - many invisible fixes Bartek Teodorczyk |