| Summary: | IllegalArgumentException when parsing a source file | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Piotr Sulecki <piotr.sulecki> | ||||
| Component: | WindowBuilder | Assignee: | Konstantin Scheglov <Konstantin.Scheglov> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | minor | ||||||
| Priority: | P3 | CC: | clayberg | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Piotr Sulecki
Created attachment 208646 [details]
The full crash report.
What really matters here is the MainWindow.java file.
Use code hiding tags for a simple work around... http://code.google.com/javadevtools/wbpro/preferences/preferences_code_parsing.html True, Eric, the code hiding tags do work, so the bug is not as severe as I thought it was. That said, the bug is still there. Fixed in trunk. We already have tweak in WindowBuilder to create image 1x1 instead of 0x0, but actually we should not even try to create image of such component and can just return such 1x1 image as is, empty. Because some components may just fail when we ask them to paint with size 0x0. |