<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/microemulator/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/microemulator/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/microemulator/bugs/</id><updated>2010-04-11T14:01:04Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Soft Buttons in canvas fullscreen mode</title><link href="https://sourceforge.net/p/microemulator/bugs/110/" rel="alternate"/><published>2010-04-11T14:01:04Z</published><updated>2010-04-11T14:01:04Z</updated><author><name>Florian Hülsmann</name><uri>https://sourceforge.net/u/flohuels/</uri></author><id>https://sourceforge.net26385e01bebeb3edeef7a2bccc1a36a51289e904</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When canvas is in fullscreen mode, none of the soft button commands work. If fullscreenmode is set false, they work.&lt;br /&gt;
You can test it on &lt;a href="http://setme.sf.net/"&gt;http://setme.sf.net/&lt;/a&gt; (Menu -&amp;gt; toggle fullscreen)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Datagram schema related bug</title><link href="https://sourceforge.net/p/microemulator/bugs/109/" rel="alternate"/><published>2009-12-08T08:38:25Z</published><updated>2009-12-08T08:38:25Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net3ce75d4e4ea4b302c314dacf83a5e2768e62b06d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;MicroEmu does not accept datagram address in Sun standard.&lt;/p&gt;
&lt;p&gt;UDPDatagramConnection conn;&lt;br /&gt;
conn.newDatagram(buff, length, "datagram://server:port");&lt;/p&gt;
&lt;p&gt;The above line will throw an exception. I must remove "datagram://" from the address string to make it work. However according to Sun MIDP specs and Sun Wireless Toolkit Emulator, we must provide the schema.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RecordEnumerationImpl.rebuild() does not filter properly</title><link href="https://sourceforge.net/p/microemulator/bugs/108/" rel="alternate"/><published>2009-11-02T23:23:37Z</published><updated>2009-11-02T23:23:37Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net15bd43a5625354b8b7f3398774214a4e35123ae3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In my debugger I have seen the filter comparing the same record repeatedly. I believe in the case where the filter matches data, you should increment the recordId.&lt;/p&gt;
&lt;p&gt;RecordEnumerationImpl.java, line 194:&lt;/p&gt;
&lt;p&gt;if (filter != null &amp;amp;&amp;amp; !filter.matches(data)) {&lt;br /&gt;
recordId++; // &amp;lt;----- Add this&lt;br /&gt;
continue;&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>java.security.NoSuchAlgorithmException: SSLContext SSL imple</title><link href="https://sourceforge.net/p/microemulator/bugs/107/" rel="alternate"/><published>2009-10-21T06:51:12Z</published><updated>2009-10-21T06:51:12Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netad562455b3e4582e86b15403c8ed2ebf0cdf62b9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, &lt;br /&gt;
I try to run my app in microemu-android, using android_sdk1.6, in emulator. My app makes https connections to a server, when it tries to connect the followin exception it's thrown :&lt;/p&gt;
&lt;p&gt;V/MicroEmulator(  758): java.security.NoSuchAlgorithmException: SSLContext SSL implementation not found&lt;br /&gt;
V/MicroEmulator(  758):   at org.apache.harmony.security.fortress.Engine.getInstance(Engine.java:104)&lt;br /&gt;
V/MicroEmulator(  758):   at javax.net.ssl.SSLContext.getInstance(SSLContext.java:90)&lt;br /&gt;
V/MicroEmulator(  758):   at org.microemu.cldc.https.Connection.&amp;lt;init&amp;gt;(Connection.java:49)&lt;br /&gt;
V/MicroEmulator(  758):   at java.lang.Class.newInstanceImpl(Native Method)&lt;br /&gt;
V/MicroEmulator(  758):   at java.lang.Class.newInstance(Class.java:1472)&lt;br /&gt;
V/MicroEmulator(  758):   at org.microemu.microedition.io.ConnectorImpl.openSecure(ConnectorImpl.java:137)&lt;br /&gt;
V/MicroEmulator(  758):   at org.microemu.microedition.io.ConnectorImpl.access$200(ConnectorImpl.java:51)&lt;br /&gt;
V/MicroEmulator(  758):   at org.microemu.microedition.io.ConnectorImpl$1.run(ConnectorImpl.java:81)&lt;br /&gt;
V/MicroEmulator(  758):   at java.security.AccessController.doPrivilegedImpl(AccessController.java:205)&lt;br /&gt;
V/MicroEmulator(  758):   at java.security.AccessController.doPrivileged(AccessController.java:178)&lt;br /&gt;
V/MicroEmulator(  758):   at org.microemu.microedition.io.ConnectorImpl.open(ConnectorImpl.java:76)&lt;br /&gt;
V/MicroEmulator(  758):   at org.microemu.microedition.io.ConnectorAdapter.open(ConnectorAdapter.java:50)&lt;br /&gt;
V/MicroEmulator(  758):   at javax.microedition.io.Connector.open(Connector.java:49)&lt;/p&gt;
&lt;p&gt;Microemu version is latest trunk .&lt;/p&gt;
&lt;p&gt;Regards. Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>ClassCastException when invoking RecordStoreImpl.getSize()</title><link href="https://sourceforge.net/p/microemulator/bugs/106/" rel="alternate"/><published>2009-08-26T03:54:03Z</published><updated>2009-08-26T03:54:03Z</updated><author><name>Thiago Leão Moreira</name><uri>https://sourceforge.net/u/thiagolm/</uri></author><id>https://sourceforge.net67c31fe3649f69c85f7094f5005247a5d1591b94</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;java.lang.ClassCastException: [B cannot be cast to java.lang.Integer&lt;br /&gt;
at org.microemu.util.RecordStoreImpl.getSize(RecordStoreImpl.java:242)&lt;/p&gt;
&lt;p&gt;Attached is a patch that fixes the problem.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Static reference nextDisplayable in Alert class hinders GC</title><link href="https://sourceforge.net/p/microemulator/bugs/105/" rel="alternate"/><published>2009-08-21T17:24:06Z</published><updated>2009-08-21T17:24:06Z</updated><author><name>Oben Sonne</name><uri>https://sourceforge.net/u/mondai/</uri></author><id>https://sourceforge.net9f2df303e87de4f5cd62b49df8a48ba569639129</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;First of all, thank you for MicroEmulator .. living alone with WTK would be a PITA.&lt;/p&gt;
&lt;p&gt;Now to the issue, the title says it already. The static reference is not really a leak, as this reference gets refreshed when a new Alert is displayed so that finally the previous object referenced by Alert.nextDisplayable may get garbage collected. However this reference makes profiling for real memory leaks complicated. Things would be easier if this reference would be an instance field.&lt;/p&gt;
&lt;p&gt;Thanks and cheers,&lt;br /&gt;
Oben&lt;/p&gt;
&lt;p&gt;BTW.. I'm using MicroEmu 2.0.3&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MIDlet.getAppProperty throws exception for missing JAD prop</title><link href="https://sourceforge.net/p/microemulator/bugs/104/" rel="alternate"/><published>2009-08-19T05:53:48Z</published><updated>2009-08-19T05:53:48Z</updated><author><name>Nick Richards</name><uri>https://sourceforge.net/u/ncr100/</uri></author><id>https://sourceforge.net16840b0323507ef123ca78a056459e80d35df4bb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Running the August 18 2009 v3.0.0 SNAPSHOT emulator locally on the apps/microemu-demo.jad "java -jar microemulator.jar -Xautotest:http://localhost:8000/microemu-demo.jad" with JRE 1.6.0_13 where the JAD is modified to point "MIDlet-Jar-URL: &lt;a href="http://localhost:8000/microemu-demo.jar" rel="nofollow"&gt;http://localhost:8000/microemu-demo.jar&lt;/a&gt;" and using a local web server on Mac OSX 10.5 "python -m SimpleHTTPServer" in the apps/ folder the emulator throws:&lt;/p&gt;
&lt;p&gt;java.lang.IllegalArgumentException: microemu.accessible.host&lt;br /&gt;
at java.util.jar.Attributes$Name.&amp;lt;init&amp;gt;(Attributes.java:447)&lt;br /&gt;
at java.util.jar.Attributes.getValue(Attributes.java:99)&lt;br /&gt;
at org.microemu.util.JadProperties.getProperty(JadProperties.java:118)&lt;br /&gt;
at org.microemu.util.JadProperties.getProperty(JadProperties.java:127)&lt;br /&gt;
at org.microemu.app.Common.getAppProperty(Common.java:169)&lt;br /&gt;
at org.microemu.MIDletBridge.getAppProperty(MIDletBridge.java:127)&lt;br /&gt;
at javax.microedition.midlet.MIDlet.getAppProperty(MIDlet.java:84)&lt;br /&gt;
at org.microemu.midp.examples.simpledemo.HTTPPanel.&amp;lt;init&amp;gt;(HTTPPanel.java:65)&lt;br /&gt;
at org.microemu.midp.examples.simpledemo.SimpleDemoMIDlet.startApp(SimpleDemoMIDlet.java:67)&lt;br /&gt;
at javax.microedition.midlet.MIDlet$MIDletAccessor.startApp(MIDlet.java:49)&lt;br /&gt;
at org.microemu.app.Common.startMidlet(Common.java:428)&lt;br /&gt;
at org.microemu.app.Common.access$200(Common.java:94)&lt;br /&gt;
at org.microemu.app.Common$1.run(Common.java:301)&lt;/p&gt;
&lt;p&gt;This exception should not be thrown by getAppProperty.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/midlet/MIDlet.html#getAppProperty%28java.lang.String%29" rel="nofollow"&gt;http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/midlet/MIDlet.html#getAppProperty%28java.lang.String%29&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A missing JAD property, in this case "microemu.accessible.host", should result in getAppProperty returning a null String.&lt;/p&gt;
&lt;p&gt;Further, Sun says a NullPointerException will be thrown by getAppProperty when the parameter passed into the method is null.  I believe Sun should have thrown an IllegalArgumentException here.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;MicroEmulator's getAppProperty should return a null String.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>paint GameCanvas doesn't</title><link href="https://sourceforge.net/p/microemulator/bugs/103/" rel="alternate"/><published>2009-07-20T19:26:37Z</published><updated>2009-07-20T19:26:37Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netec52c4f6a4eb3a193d1f2a77ab7ba84bcf29aab4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It seems that the painting of GameCanvas does not work - both with repaint and with flushgraphics.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>previousRecordId method brings the current record</title><link href="https://sourceforge.net/p/microemulator/bugs/102/" rel="alternate"/><published>2009-07-05T19:18:30Z</published><updated>2009-07-05T19:18:30Z</updated><author><name>Thiago Leão Moreira</name><uri>https://sourceforge.net/u/thiagolm/</uri></author><id>https://sourceforge.netcc0da85a20eecbe41139384d3efe935739cb97d5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The previous* methods brings the current record and not the previous one. And if your are at the end of an enumeration and invokes the previous* method on the RecordEnumeration it will throw a Exception.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>NPE on removeCommand for commands not in the Displayable</title><link href="https://sourceforge.net/p/microemulator/bugs/101/" rel="alternate"/><published>2009-05-31T08:31:46Z</published><updated>2009-05-31T08:31:46Z</updated><author><name>sk750</name><uri>https://sourceforge.net/u/sk750/</uri></author><id>https://sourceforge.net5e69334afe4748ff4eea917a48ffec270f02e59b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The specs ( &lt;a href="http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/lcdui/Displayable.html#removeCommand\" rel="nofollow"&gt;http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/lcdui/Displayable.html#removeCommand\&lt;/a&gt;(javax.microedition.lcdui.Command)  )&lt;br /&gt;
tell it is allowed to remove a command not attached to a Displayable.&lt;/p&gt;
&lt;p&gt;However, MicroEmulator gives an NullPointerException when trying to do so.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>