This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 186925 - Error in org.netbeans.javax.design resource package - Error parsing DesignStateChangeType.java
Summary: Error in org.netbeans.javax.design resource package - Error parsing DesignSta...
Status: VERIFIED INCOMPLETE
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P1 normal (vote)
Assignee: David Kaspar
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2010-05-28 23:36 UTC by tutankhamun
Modified: 2010-07-22 12:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
package structure and IDE view of error message (37.39 KB, application/octet-stream)
2010-05-28 23:36 UTC, tutankhamun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tutankhamun 2010-05-28 23:36:45 UTC
Created attachment 99637 [details]
package structure and IDE view of error message

init:
deps-jar:
C:\Users\Xcape\Documents\NetBeansProjects\moapp\src\org\netbeans\javafx\design\DesignStateChangeType.java:1: warning: unmappable character for encoding UTF-32
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

C:\Users\Xcape\Documents\NetBeansProjects\moapp\src\org\netbeans\javafx\design\DesignStateChangeType.java:1: illegal character: \65533
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????


100 errors
100 warnings
ERROR: javac execution failed, exit code: 1
BUILD FAILED (total time: 14 seconds)
Comment 1 tutankhamun 2010-05-28 23:50:50 UTC
Currently this error is associated with javafx mobile application development.
Comment 2 David Kaspar 2010-05-29 07:15:12 UTC
Unfortunately I am not able to reproduce this issue.

Could you describe when it happened?
When the DesignStateChangeType.java file has been generated - it is there since the project creation?
Was it ok before the building your project?
What is the file size of the DesignStateChangeType.java file?
Could you attach the md5sums.md5 file?
Could you attach the broken DesignStateChangeType.java file?
Could you try to create new project similar to your current one? It is not necessary to 

For now resolving the issue as INCOMPLETE.

P.S.: To fix the corrupted DesignStateChangeType.java file, you can:
1) delete the corrupted DesignStateChangeType.java file.
2) open your Mosine.fx
3) modify anything your design and then modify it back e.g. change the Instance Name" of the "scene" to "scene".
4) save your design
5) dialog should appear claiming that a new file is generated.
Comment 3 David Kaspar 2010-05-29 07:21:05 UTC
I see there is a "TEST" keyword assigned to the issue, therefore I would like to ask additional questions:
Was the file modified externally or using java.io.File API?
Could you attach message.log file from time when it happened?
What is the locale-configuration on the machine?
Was the test interrupted by ThreadDeath or any runtime Error?
Comment 4 tutankhamun 2010-05-29 15:28:08 UTC
Was the file modified externally or using java.io.File API?
-----------------------------------------------------------
The file is autogenerated by NetBeans IDE 6.9, in order to satisfy javafx mobile related dependencies. I believe the error parsing the content of the "DesignStateChangeType.java" file into the "org.netbeans.javafx.design" package (which was also auto generated) is the issue.

In your Netbeans IDE (after expanding the NetBeans IDE software and installing javafx plugins...)
Click FILE -> NEW PROJECT, 
A new project menu pops up 
Choose JavaFx
Select JavaFx mobile business application -> NEXT
Give the project a name
Click on "FINISH"

Notice: Source package org.netbeans.javafx.design package is autogenerated in addition to the package name you specified. This org.netbeans.javafx.design contains a file "" that contains non-human readable characters instead of your usual human readable java syntax code.


Could you attach message.log file from time when it happened?
-------------------------------------------------------------


What is the locale-configuration on the machine?
------------------------------------------------
Processor : Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz
Installed Memory(RAM) : 3.00 GB
System Type : 64-bit Operating System
OS : Windows 7 (64)
NetBeans IDE 6.9 Beta and RC1 (OS independent)


Was the test interrupted by ThreadDeath or any runtime Error?
-------------------------------------------------------------
None of the above. Just the compile time.
Comment 5 David Kaspar 2010-06-01 08:14:40 UTC
(In reply to comment #4)
> Was the file modified externally or using java.io.File API?
> -----------------------------------------------------------
> <snip>
> addition to the package name you specified. This org.netbeans.javafx.design
> contains a file "" that contains non-human readable characters instead of your
> usual human readable java syntax code.

Does the <cite>a file "" that</cite> means that the file name is DesignStateChangeType.java?


> Could you attach message.log file from time when it happened?
> -------------------------------------------------------------

Please, could you attach it - I hope it contains some error report that we can use.
It is located at .../.netbeans/6.9rc1/var/log/messages.log
Note that the file is 'rotated' everytime you start the IDE. Please, find the one from the IDE run when the issue happened.

> What is the locale-configuration on the machine?
> ------------------------------------------------
> OS : Windows 7 (64)

I assume that your machine is having Turkish locale set.

Also are you able to reproduce it always or does the error happened once only?
Comment 6 Alexandr Scherbatiy 2010-07-22 12:51:12 UTC
verified as incomplete.