Main Menu
Login
SSL SecureMode
Username:
Password:  
Lost Password?
Register now!
ChangeVision Members Map
Search
Forum Index   -   Topic Index
   Light topic
     community and bug reporting

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
-keesj-
Posted on: 2011/10/26 3:10
Just popping in
Joined: 2006/10/1
From:
Posts: 4
community and bug reporting
Here I am a user of what once was called jude. I have bought the professional version just about more then a year ago and am now trying to file a bug but I am not allowed because my "support" period has ended. everybody should be allowed to file bugs it is in the interest of everybody.

anyway the astah 6.5 java code import fails on the following:

package bug;
class  ParseEnum {
        public enum MyEnum {
                MY_A  ((byte) 0x00),
                MY_B  ((byte) 0x01),
                MY_C  ((byte) 0x02);
                MyEnum(byte value){
                };
        }
}


See
http://box.mmapps.net/~keesj/astah/astahbug.html

Greetings
Joba
Posted on: 2011/10/27 7:35
Developer
Joined: 2006/6/6
From:
Posts: 969
Re: community and bug reporting
Hello, thank you very much for your bug report with the video.

First of all, we apologize for the inconvenience regarding this error. We found out that [Import Java] fails if .java contains enum constants parameter in primitive type casted.

Solution in your case will be changing it without using cast as below and then import.
Quote:
MY_A(Byte.decode("0x00")),
MY_B(Byte.decode("0x01")),
MY_C(Byte.decode("0x02"));
instead of
Quote:
MY_A((byte) 0x00),
MY_B((byte) 0x01),
MY_C((byte) 0x02);

After your support expires, you won't be able to submit a support ticket using our form, however we are happy to accept any bug reports through this forum or e-mail anytime.

Thank you very much for your clear and detailed report again.

Satomi
-keesj-
Posted on: 2011/10/31 5:35
Just popping in
Joined: 2006/10/1
From:
Posts: 4
Re: community and bug reporting
Hello Joba,

Quote:

Joba wrote:
We found out that [Import Java] fails if .java contains enum constants parameter in primitive type casted.


The code in question I was trying to import was not my code but the Android source code so I can not just change the code. I managed to import the code using XMI after converging it using an other tool

Quote:

However we are happy to accept any bug reports through this forum or e-mail
anytime.


Thanks you for this offer.
Joba
Posted on: 2011/11/2 6:11
Developer
Joined: 2006/6/6
From:
Posts: 969
Re: community and bug reporting
Hi, thank you for your update.

We are sorry that our solution did not apply but are glad to hear that you were able to figure it out. Your information is very helpful for ourself and other users.

Thank you very much again.

SJ
webmaster
Posted on: 2011/12/20 14:29
Webmaster
Joined: 2006/4/27
From:
Posts: 287
Re: community and bug reporting
Hi,

I just wanted to inform you that we released the version 6.5.1 today that includes a fix of this bug.

Download version 6.5.1: http://astah.net/download
Release Note: http://astah.net/release-notes

Please let us know if you still have a problem with version 6.5.1.

Thanks,
SJ
Threaded | Newest First Previous Topic | Next Topic | Top