Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » DSDP - Mobile Tools for Java (MTJ) » Bad Stack Map error
Bad Stack Map error [message #18829] Sun, 18 February 2007 18:17 Go to next message
Mike ONeil is currently offline Mike ONeilFriend
Messages: 9
Registered: July 2009
Junior Member
Hello there. I've recently decided to switch over from Netbeans to Eclipse
becuse of the on device debugging Nokia talks about with Eclipse, however
simply trying to move the project over is giving me problems. My setup:
Windows XP
Eclipse 3.2
MTJ 0.7
emf-sdo-xsd-SDK-2.2.0

I know the project runs because it is fine with netbeans, but when I try to
run it in Eclipse i get a
ALERT: java/lang/ClassFormatError: Bad stack map.

I have no idea what this means and the only thing I could find was about not
using long or float types, none of which I am using in the project. Is
there something I'm missing? The project doesn't use any Nokia SDK's at
this point either, I wanted to just use the simple Java WTK 2.2 to start off
simple without bringing in Nokia's notorously flaky SDK's. Any help would
be appreciated.
Thank you
Mike
Re: Bad Stack Map error [message #18852 is a reply to message #18829] Fri, 23 February 2007 16:07 Go to previous messageGo to next message
Kevin Horowitz is currently offline Kevin HorowitzFriend
Messages: 36
Registered: July 2009
Member
Hi,

Have you configured the WTK 2.2 runtime yet, and set that as the library
for your project?

You can do this by selecting Preferences > Mobile Tools ... > Runtime
Platform and pointing at the root directory of your WTK 2.2 installation.

Once you have done this create a new MTJ project, with the runtime you
created, and copy your source files into the project.

Good luck,
kevin

Mike ONeil wrote:
> Hello there. I've recently decided to switch over from Netbeans to Eclipse
> becuse of the on device debugging Nokia talks about with Eclipse, however
> simply trying to move the project over is giving me problems. My setup:
> Windows XP
> Eclipse 3.2
> MTJ 0.7
> emf-sdo-xsd-SDK-2.2.0
>
> I know the project runs because it is fine with netbeans, but when I try to
> run it in Eclipse i get a
> ALERT: java/lang/ClassFormatError: Bad stack map.
>
> I have no idea what this means and the only thing I could find was about not
> using long or float types, none of which I am using in the project. Is
> there something I'm missing? The project doesn't use any Nokia SDK's at
> this point either, I wanted to just use the simple Java WTK 2.2 to start off
> simple without bringing in Nokia's notorously flaky SDK's. Any help would
> be appreciated.
> Thank you
> Mike
>
>
Re: Bad Stack Map error [message #18898 is a reply to message #18852] Wed, 28 February 2007 18:54 Go to previous message
Mike ONeil is currently offline Mike ONeilFriend
Messages: 9
Registered: July 2009
Junior Member
Actually I'm going to try using EclipseME for a while. Something about
version 0.7 of new tools makes me nervous. Thanks though.

"Kevin Horowitz" <khorowit@us.ibm.com> wrote in message
news:45DF115E.4090804@us.ibm.com...
> Hi,
>
> Have you configured the WTK 2.2 runtime yet, and set that as the library
> for your project?
>
> You can do this by selecting Preferences > Mobile Tools ... > Runtime
> Platform and pointing at the root directory of your WTK 2.2 installation.
>
> Once you have done this create a new MTJ project, with the runtime you
> created, and copy your source files into the project.
>
> Good luck,
> kevin
>
> Mike ONeil wrote:
>> Hello there. I've recently decided to switch over from Netbeans to
>> Eclipse becuse of the on device debugging Nokia talks about with Eclipse,
>> however simply trying to move the project over is giving me problems. My
>> setup:
>> Windows XP
>> Eclipse 3.2
>> MTJ 0.7
>> emf-sdo-xsd-SDK-2.2.0
>>
>> I know the project runs because it is fine with netbeans, but when I try
>> to run it in Eclipse i get a
>> ALERT: java/lang/ClassFormatError: Bad stack map.
>>
>> I have no idea what this means and the only thing I could find was about
>> not using long or float types, none of which I am using in the project.
>> Is there something I'm missing? The project doesn't use any Nokia SDK's
>> at this point either, I wanted to just use the simple Java WTK 2.2 to
>> start off simple without bringing in Nokia's notorously flaky SDK's. Any
>> help would be appreciated.
>> Thank you
>> Mike
Re: Bad Stack Map error [message #565900 is a reply to message #18829] Fri, 23 February 2007 16:07 Go to previous message
Kevin Horowitz is currently offline Kevin HorowitzFriend
Messages: 36
Registered: July 2009
Member
Hi,

Have you configured the WTK 2.2 runtime yet, and set that as the library
for your project?

You can do this by selecting Preferences > Mobile Tools ... > Runtime
Platform and pointing at the root directory of your WTK 2.2 installation.

Once you have done this create a new MTJ project, with the runtime you
created, and copy your source files into the project.

Good luck,
kevin

Mike ONeil wrote:
> Hello there. I've recently decided to switch over from Netbeans to Eclipse
> becuse of the on device debugging Nokia talks about with Eclipse, however
> simply trying to move the project over is giving me problems. My setup:
> Windows XP
> Eclipse 3.2
> MTJ 0.7
> emf-sdo-xsd-SDK-2.2.0
>
> I know the project runs because it is fine with netbeans, but when I try to
> run it in Eclipse i get a
> ALERT: java/lang/ClassFormatError: Bad stack map.
>
> I have no idea what this means and the only thing I could find was about not
> using long or float types, none of which I am using in the project. Is
> there something I'm missing? The project doesn't use any Nokia SDK's at
> this point either, I wanted to just use the simple Java WTK 2.2 to start off
> simple without bringing in Nokia's notorously flaky SDK's. Any help would
> be appreciated.
> Thank you
> Mike
>
>
Re: Bad Stack Map error [message #565973 is a reply to message #18852] Wed, 28 February 2007 18:54 Go to previous message
Mike ONeil is currently offline Mike ONeilFriend
Messages: 9
Registered: July 2009
Junior Member
Actually I'm going to try using EclipseME for a while. Something about
version 0.7 of new tools makes me nervous. Thanks though.

"Kevin Horowitz" <khorowit@us.ibm.com> wrote in message
news:45DF115E.4090804@us.ibm.com...
> Hi,
>
> Have you configured the WTK 2.2 runtime yet, and set that as the library
> for your project?
>
> You can do this by selecting Preferences > Mobile Tools ... > Runtime
> Platform and pointing at the root directory of your WTK 2.2 installation.
>
> Once you have done this create a new MTJ project, with the runtime you
> created, and copy your source files into the project.
>
> Good luck,
> kevin
>
> Mike ONeil wrote:
>> Hello there. I've recently decided to switch over from Netbeans to
>> Eclipse becuse of the on device debugging Nokia talks about with Eclipse,
>> however simply trying to move the project over is giving me problems. My
>> setup:
>> Windows XP
>> Eclipse 3.2
>> MTJ 0.7
>> emf-sdo-xsd-SDK-2.2.0
>>
>> I know the project runs because it is fine with netbeans, but when I try
>> to run it in Eclipse i get a
>> ALERT: java/lang/ClassFormatError: Bad stack map.
>>
>> I have no idea what this means and the only thing I could find was about
>> not using long or float types, none of which I am using in the project.
>> Is there something I'm missing? The project doesn't use any Nokia SDK's
>> at this point either, I wanted to just use the simple Java WTK 2.2 to
>> start off simple without bringing in Nokia's notorously flaky SDK's. Any
>> help would be appreciated.
>> Thank you
>> Mike
Previous Topic:cannot load files from res folder
Next Topic:cannot load files from res folder
Goto Forum:
  


Current Time: Tue Apr 16 19:57:44 GMT 2024

Powered by FUDForum. Page generated in 5.30497 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top