Author Topic: 1.20.0 Quits with error on startup. [J2ME]  (Read 5323 times)

0 Members and 1 Guest are viewing this topic.

Mateusz P-G

  • Hero Member
  • *****
  • Posts: 560
  • Polish Translator
    • View Profile
1.20.0 Quits with error on startup. [J2ME]
« on: July 08, 2012, 04:09:22 AM »
It says that the application has encountered an error and needs to be closed.

Error details read:
Unhandled exception*

Null Pointer
java.lang.NullPointerException

*This is my translation, idk how accurate.
If you remember the sprites from my avatar, know that you're awesome!

ZiZNaK

  • Full Member
  • ***
  • Posts: 185
  • meh...
    • View Profile
Re: 1.20.0 Landscape D-Pad goes off the top of the screen
« Reply #1 on: July 08, 2012, 09:14:23 AM »
Huawei U8800-51 droid 2.2.2
D-Pad is HUGE takes up almost a third of the screen and covers the mini-map toggle.  The top row of the D-pad is cut in half going off of the screen.  Maybe if the d-pad location and size were configurable this may help eliminate the issue from popping up from time to time.  The game is still playable for people who like the landscape view it's just not AS playable as it SHOULD be.  I think the d-pad makes for much more exact movement which is important especially now that I almost got killed 3 steps into the dungeon.  Well played on the difficulty boost!
When in doubt.  Scroll of Recall

Dweller admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 927
    • View Profile
Re: 1.20.0 Quits with error on startup. [J2ME]
« Reply #2 on: July 08, 2012, 05:57:16 PM »
Mef: 1.20.1 released earlier today to fix the crash issue on J2ME devices.

ZiZ: Is it possible to get a screenshot or photo? What resolution is that device?

Mateusz P-G

  • Hero Member
  • *****
  • Posts: 560
  • Polish Translator
    • View Profile
Re: 1.20.0 Quits with error on startup. [J2ME]
« Reply #3 on: July 08, 2012, 06:28:15 PM »
Thanks!

It works now. There are some minor issues, I'll make a dedicated thread.
If you remember the sprites from my avatar, know that you're awesome!

ZiZNaK

  • Full Member
  • ***
  • Posts: 185
  • meh...
    • View Profile
Re: 1.20.0 Quits with error on startup. [J2ME]
« Reply #4 on: July 08, 2012, 08:36:09 PM »
ZiZ: Is it possible to get a screenshot or photo? What resolution is that device?
240 dpi
When in doubt.  Scroll of Recall

Arthur

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: 1.20.0 Quits with error on startup. [J2ME]
« Reply #5 on: July 09, 2012, 12:33:58 AM »
Please any1 post direct download for .jar problem downloading jad :(

Mateusz P-G

  • Hero Member
  • *****
  • Posts: 560
  • Polish Translator
    • View Profile
Re: 1.20.0 Quits with error on startup. [J2ME]
« Reply #6 on: July 09, 2012, 07:35:13 AM »
http://java.handster.com/software/d9120/41558/1341728201/Dweller.jar

Here you go mate! If you ever encounter this problem again, just download
the JAR file from Handster link (http://java.handster.com/download_dweller.html)
and open it on your PC using a notepad. You'll see something like this:

Code: [Select]
MIDlet-Install-Notify: http://apps.opera.com/click.php?app=41558&uniq_dkey=1d379a6b3c8358ebb38391325bcc0ae5
MIDlet-Jar-URL: http://java.handster.com/software/d9120/41558/1341728201/Dweller.jar
MIDlet-Jar-Size: 408122
MIDlet-Name: Dweller
MIDlet-Vendor: roguelikedevelopment.org
MIDlet-Version: 1.20.1
MIDlet-1: Dweller, /icon.png, org.roguelikedevelopment.dweller.j2me.DwellerJ2MEMidlet
MicroEdition-Configuration: CLDC-1.0
MicroEdition-Profile: MIDP-2.0
debug: false

And "MIDlet-Jar-URL" is the link to Dweller JAR file.

P.S. Thanks to Bjorn for pointing that out for me a while ago.

Btw @ ZiZNaK, did you try using smaller tiles?
« Last Edit: July 09, 2012, 08:36:40 PM by Mateusz P-G »
If you remember the sprites from my avatar, know that you're awesome!

Arthur

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: 1.20.0 Quits with error on startup. [J2ME]
« Reply #7 on: July 09, 2012, 10:59:51 PM »
Thanks my Friend Mateuz :) theres a problem when switching to large titles. And quit game then open. Stock up in start up

ZiZNaK

  • Full Member
  • ***
  • Posts: 185
  • meh...
    • View Profile
Re: 1.20.0 Quits with error on startup. [J2ME]
« Reply #8 on: July 10, 2012, 12:18:52 AM »
ZiZ: Is it possible to get a screenshot or photo? What resolution is that device?
240 dpi

note these are normal tiles not large.  it looks to me like the quick select and d-pad are rendered in Large tiles but the actual game tiles are normal.
When in doubt.  Scroll of Recall

Mateusz P-G

  • Hero Member
  • *****
  • Posts: 560
  • Polish Translator
    • View Profile
Re: 1.20.0 Quits with error on startup. [J2ME]
« Reply #9 on: July 10, 2012, 09:38:10 AM »
Thanks my Friend Mateuz :) theres a problem when switching to large titles. And quit game then open. Stock up in start up

So if I understand you correctly, the game crashes when selecting large tiles
and then even after restarting it crashes right away?

Maybe try removing the game, resetting the phone and installing it again.
If you remember the sprites from my avatar, know that you're awesome!

Arthur

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: 1.20.0 Quits with error on startup. [J2ME]
« Reply #10 on: July 11, 2012, 10:33:54 PM »
Yes. It always happen when i switch to large tiles

Dweller admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 927
    • View Profile
Re: 1.20.0 Quits with error on startup. [J2ME]
« Reply #11 on: July 12, 2012, 12:29:42 AM »
You're probably running out of memory when the tiles are being rescaled. J2ME doesn't have support for scaling of graphics on the fly while drawing. I need to scale the graphics at startup and this means that all the tiles require twice the amount of memory after they're scaled. I need to handle situations when you run out of memory in a better way though...

efulton

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: 1.20.0 Quits with error on startup. [J2ME]
« Reply #12 on: July 20, 2012, 09:34:14 PM »
Samsung Galaxy S II GT-I9100G Android 4.0.3
4.3 in (110 mm) AMOLED with 480×800 pixels (218 ppi) and RGB-Matrix

I have the same screen size issue as shown in the screenshot for the last 2 updates.

The problem is in both landscape and portrait.

« Last Edit: July 20, 2012, 09:36:38 PM by efulton »

Dweller admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 927
    • View Profile
Re: 1.20.0 Quits with error on startup. [J2ME]
« Reply #13 on: August 09, 2012, 02:49:46 PM »
Does anyone still have problems with this since 1.20.5 and above?

ZiZNaK

  • Full Member
  • ***
  • Posts: 185
  • meh...
    • View Profile
Re: 1.20.0 Quits with error on startup. [J2ME]
« Reply #14 on: August 09, 2012, 05:27:18 PM »
I'm looking at this and while it's not perfect it's the best and most playable for me in recent releases.  mini map toggle is a problem the few times that I use it but other than that the dpad size is perfect and with pathfinding on I only occasionally hit inbetween the directionals.  drop the dpad down so it fits under mr mini map and I'm good... would still love to see user programmable locales for these controls though.
When in doubt.  Scroll of Recall