Alan Harrison | 1 Dec 01:53

OOM and port 8084

Got an outofmemory error
Nov 30, 2006 12:38:44 AM org.apache.catalina.core.StandardContext 
listenerStart
SEVERE: Exception sending context initialized event to listener instance 
of class com.sun.faces.config.ConfigureListener
java.lang.OutOfMemoryError: PermGen space

on my XPH  2G system and then was unable to run my web app with bundled 
tomcat because port was in use. Tried restarting NB but problem 
persisted. Rebooted and seems ok now.
Alan

Tomas Pavek | 1 Dec 01:16
Picon

Re: Adding custom events to palette components

A rough guess: shouldn't your event object be named TextChangedEventEvent?
Also pay attention to the signature of the listener method.

Note you can have more control over defining the events in the component's 
BeanInfo using the EventSetDescriptor. You can also experiment by invoking 
Introspector.getBeanInfo on your class and see what it returns from 
getEventSetDescriptors (the GUI builder does exactly this).

 > I also notice that events are grouped  - ancestor, component etc;
 > at least they are on the menu. What group would a custom event appear
 > in (assuming it appeared at all, of course).

This grouping is by listeners - the listener interface can have more methods.

   - Tomas

Jeremy Richemont wrote:
> Hi.
> 
> I have written a component to add to the gui designer palette. The 
> getters and setters on the properties were recognised fine and I get the 
> new properties listed along with all the others when I use it.
> 
> 
> I wanted to add a custom event to this component and used the standard 
> bean pattern for doing so. It worked fine when I tested it by hand but 
> the new event is not showing up in the events list. Any help on what to 
> do to get my event added to this list would be greatly appreciated!
> 
> Here's the relevant bit of bean code:
(Continue reading)

Alan Harrison | 1 Dec 03:36

nb55 webpack data & property binding sheets

I have my data model and wrapper classes in My SessionBean. If I change 
them, the changes don't show up in the properties windows. I have to 
close my jsps and restart NB. At this point, the reference to the 
wrapper class is lost although the data model is ok. I  have to make 
some minor change the the SessionBean and then do a clean and build. I 
then have to open the jsps and fix the references to the 
SessionBean.wrapper methods.
A bit of a pain but it only takes a few minutes and I am getting used to it.
Alan

Luke Hall | 1 Dec 02:48
Picon

Error: Unsupported Form File Version

I open the code written in Netbeans by someone else.  When I click on 
"Design" tab to view the JPanel, it displays an error "Unsupported form 
file version: 1.4.  The form cannot be opened."

I did a search on this forum and someone recommended to do a module update 
on the Matisse package.  I did it, but it still gives me the same error.  I 
tried this on both NB 5.0 and 5.5 with the same error.

Thank you in advance,
Luke

Chris Kutler | 1 Dec 03:12
Picon

Re: nb55 webpack data & property binding sheets

Alan,

Before your restart the IDE, try these things

1. Open and close the session bean.
2. Close and reopen the project.

Alan Harrison wrote:
> I have my data model and wrapper classes in My SessionBean. If I 
> change them, the changes don't show up in the properties windows. I 
> have to close my jsps and restart NB. At this point, the reference to 
> the wrapper class is lost although the data model is ok. I  have to 
> make some minor change the the SessionBean and then do a clean and 
> build. I then have to open the jsps and fix the references to the 
> SessionBean.wrapper methods.
> A bit of a pain but it only takes a few minutes and I am getting used 
> to it.
> Alan

Alan Harrison | 1 Dec 04:29

popup from table

I am building my own table with <c:forEach and want to do a popup from 
any cell with a parameter index to show available options for the cell. 
Seems I can't use  commandLink because the id can't be an expression. 
"There can be only one" ;)
The window.open works but the servlet.service() can't find the 
FacesContext.
Alan

	 
      <td

onclick="javascript:window.open('ChooserPage.jsp?index=${present.label}','Viewer','toolbar=no,width=600, 
height=400, resizable=yes')" >

     <c:out value="${present.topic}"/>
     <br/>
     <c:out value="${present.speaker}"/>
     <br/>
     <c:out value="${present.location}"/>
<!--
     <:commandLink id="time" action="#{SessionBean1.wrapper.listen}" 
value="...">
      <f:param name="row" value="1"/>
      <f:param name="day" value="1" />
   /h:commandLink>
-->
   </td>

pprun | 1 Dec 08:49
Picon
Gravatar

StackOverflowErrorof Freeform project

Here is the log

----------
 >System Info:
   Product Version         = NetBeans IDE 5.5 (Build 200610171010)
   Operating System        = Windows XP version 5.1 running on x86
   Java; VM; Vendor; Home  = 1.5.0_09; Java HotSpot(TM) Client VM 
1.5.0_09-b03; Sun Microsystems Inc.; C:\Program Files\Java\jdk1.5.0_09\jre
   System Locale; Encoding = zh_CN (nb); GB18030
   Home Dir.;
Current Dir. = ;
E:\sun\netbeans-5.5 Installation;
User Dir. = 
E:\sun\netbeans-5.5\nb5.5;E:\sun\netbeans-5.5\ide7;E:\sun\netbeans-5.5\enterprise3;E:\sun\netbeans-5.5\harness;E:\sun\netbeans-5.5\soa1;E:\sun\netbeans-5.5\xmltools1;E:\sun\netbeans-5.5\identity1;E:\sun\netbeans-5.5\rave2.0;E:\sun\netbeans-5.5\platform6; 
E:\sun\settings\.netbeans\5.5
   Boot & Ext. Classpath   = C:\Program 
Files\Java\jdk1.5.0_09\jre\lib\rt.jar;C:\Program 
Files\Java\jdk1.5.0_09\jre\lib\i18n.jar;C:\Program 
Files\Java\jdk1.5.0_09\jre\lib\sunrsasign.jar;C:\Program 
Files\Java\jdk1.5.0_09\jre\lib\jsse.jar;C:\Program 
Files\Java\jdk1.5.0_09\jre\lib\jce.jar;C:\Program 
Files\Java\jdk1.5.0_09\jre\lib\charsets.jar;C:\Program 
Files\Java\jdk1.5.0_09\jre\classes;C:\Program 
Files\Java\jdk1.5.0_09\jre\lib\ext\dnsns.jar;C:\Program 
Files\Java\jdk1.5.0_09\jre\lib\ext\localedata.jar;C:\Program 
Files\Java\jdk1.5.0_09\jre\lib\ext\sunjce_provider.jar;C:\Program 
Files\Java\jdk1.5.0_09\jre\lib\ext\sunpkcs11.jar
   Application Classpath   = 
E:\sun\netbeans-5.5\platform6\lib\boot.jar;E:\sun\netbeans-5.5\platform6\lib\org-openide-modules.jar;E:\sun\netbeans-5.5\platform6\lib\org-openide-util.jar;C:\Program 
Files\Java\jdk1.5.0_09\lib\dt.jar;C:\Program 
(Continue reading)

Petr Blaha | 1 Dec 09:11
Picon

Re: Re: NetBeans 6.0 M5 avalaible

Hi Vincent,

my comments inline.

Petr

Vincent Brabant wrote:
> Petr Blaha a écrit :
>> Hello,
>>
>> Milestone 5 of NetBeans 6.0 (Dev) is now available for download at 
>> http://wiki.netbeans.org/wiki/view/MilestoneDownloads.
>>
>> The biggest change in M5 is Java editor improvements and new  Java 
>> language infrastructure that is based on the Javac. The  APIs will 
>> give you full access to the Javac APIs for given source.
>>
>> Additionally, NetBeans 6.0 M5 contains the following improvements:
>>  * Ant processes have a progress indicator in the status line.
>>  * A new "project group" feature has been added.
>>
>> Due to the integration of the new Java language  infrastructure, most 
>> of Java EE development features are disable  in Milestone 5 and also 
>> Mobility and Profiler packs aren't  released as part of this milestone.
>>
>>
>> Pictures tell you more about these features, check:
>> http://wiki.netbeans.org/wiki/view/NewAndNoteWorthyMilestone5
>> Definitely this is the milestone worth to be used.
>>
(Continue reading)

Petr Blaha | 1 Dec 09:13
Picon

Re: nb5.5 + Jboss 4.0.2 not work

Hi,

I guess, you faced bug:

http://www.netbeans.org/issues/show_bug.cgi?id=86461

Petr

pprun wrote:
> I could not add Jboss4.0.2 to netbeans5.5 server register?
> And our projects are heavy depended on it.
> 
> any patch plan?
> 
> thanks.
> 
> P

Barry Jaques | 1 Dec 09:16
Picon

SpringUtilities

I get the code for SpinnerDemo from java.sun.com and try to build it with 
NetBeans but there is a missing class SpringUtilities. I found it from 
another source and copied it as a java file into src.zip in the jdk1.6 
folder. No matter what I do NetBeans cannot recognize its presence when I 
try to import it. I made sure it was in the correct folder in the src.zip 
file and deleted and reinstated the new src.zip file with Platform Manager. 
What can I do to get NetBeans to see SpringUtilities? 


Gmane