Parse Correctly when Eclipse first time open, Reparse fail with Exception [message #1736810] |
Sat, 02 July 2016 00:09 |
Eclipse User |
|
|
|
used to use Visual Editor, new to Window Builder
Eclipse Mars.2 Release (4.5.2)
WindowBuilder Version: 1.8.0
now i am using WB to open VE made JPanel class
and using @wbp.factory to mark the factory function
and it works like magic
until it comes to our CustomerComboBox
with create the CustomerComboBox,it fetchs data from remote server using hessian proxy
when we set the @wbp.factory and open the JPanel class, it looks fine, and the server logs the data fatch and returns data correctly, like this:

then reparse

show stack trace.

of course we try to debug this problem to the root of remote method invoke code and log the invoke exception:

And we tried many time and found the pattern:
when we close the Eclipse, and open the JPanel class, and WB parse correctly, and then, close WB panel, clean project, rebuild project, can not fix the reparse fail
Only when we close Eclipse again, and reopen, and all is good, for the first parse, then reparse fail
I may somehow make the combobox load data later, or return a fake result when catch Specific exception
but before that, could somebody try to fix this problem for me?
thanks
Attachment: 1.png
(Size: 54.67KB, Downloaded 648 times)
Attachment: 2.png
(Size: 22.68KB, Downloaded 672 times)
Attachment: 2.5.png
(Size: 37.89KB, Downloaded 640 times)
Attachment: 3.png
(Size: 9.01KB, Downloaded 695 times)
|
|
|
Powered by
FUDForum. Page generated in 0.05600 seconds