Rahil Sethi | 1 Oct 02:31
Picon

Re: malloc error


Hello Jim Rome.
I also got the same error when running python executable software.
Python(694,0xa06cefa0) malloc: *** mmap(size=259203072) failed (error
code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
running error:  exceptions.MemoryError Couldn't allocate requested memory
winzelergf23:P_falciparum_MAT scottw$ locare malloc_error_break
-bash: locare: command not found

jarome wrote:
> 
> After many hours, I get the following error in the shell that starts
> NetBeans 6.0 (in OS X):
> 
> jarmac:~ jar$ ./sudonb6
> Password:
> 
> How dd you correct your problem
> 
> Thanks
> Rahil Sethi
> java(462,0x9cf000) malloc: *** mmap(size=4374528) failed (error code=12)
> *** error: can't allocate region
> *** set a breakpoint in malloc_error_break to debug
> 
> There are no errors shown inside NetBeans itself.
> 
> 1) Ias this NetBeans running out of memory, or is it my project?
(Continue reading)

William Biggs | 1 Oct 02:35
Picon

is this my error or my hosting ?

16:30:53.837 [dEngine[Catalina]]] INFO    HostConfig                 - Undeploying context [/kc8pdr]

16:30:53.837 [dEngine[Catalina]]] INFO    HostConfig                 - Deploying web application archive kc8pdr.war

16:30:53.837 [dEngine[Catalina]]] SEVERE  ContextConfig              - Exception fixing docBase: {0}

java.util.zip.ZipException: error in opening zip file

        at java.util.zip.ZipFile.open(Native Method)

        at java.util.zip.ZipFile.<init>(ZipFile.java:114)

 16:30:53.837 [dEngine[Catalina]]] SEVERE  StandardContext            - Error starting static Resources

java.lang.IllegalArgumentException: Invalid or unreadable WAR file : error in opening zip file
Will Hartung | 1 Oct 02:36

Can't see classes from a Web Service.

NB 6.1, Java 5

We have created a simple Java Library project. In there, we created a WebService client.

It builds and generates all of the WS code, etc.

Within the jar are all of the classes.

Now, in another project, we add the library as a dependency.

This is a simple Java Application project.

But we can not see any of the WS generated classes in this new project. Auto complete doesn't work, we use FQ class names, yet all we get is errors in the IDE (though the project DOES compile).

Why are these classes any different from any other JAR? Why is the IDE blind to these classes?

Regards,

Will Hartung

Peter B. West | 1 Oct 02:44
Picon

Re: Tracing into JDK


The sources for org.jcp.* are not included in src.zip, which makes it
difficult to trace them. That's unfortunate, and it means that I have to
separately track down sources for any org.jcp code that is included in the
JDK.

Peter

Peter B. West wrote:
> 
> Petr.Cyhelsky wrote:
>> Hi,
>> it seems like you dont have jdk sources checked for debugging in sources
>> view (Window>Debugging>Sources).
>> 
>> Petr Cyhelsky
>> 
>> On Tue, Sep 30, 2008 at 3:41 AM, Peter B. West <lists <at> pbw.id.au> wrote:
>> 
>> 
>> 
>> 
>>    That was it. When I removed the apache xml-security jar from the
>>    sources,
>>    things started to work.
>> 
>>    Next problem. The very classes I need to trace aren't traceable.
>>    DOMXMLSignature, for example. There seems to be line number
>>    information, but
>>    the class name and line number show up under hidden calls. Any ideas?
>> 
> 
> I do, and I can trace through many other classes (String, for example).
> It is only the JSR-105 RI classes that seem to be a problem. Tracing
> skips right across them until they call into other classes in the JDK.
> 
> -- 
> Peter B. West <http://cv.pbw.id.au/>
> Folio <http://defoe.sourceforge.net/folio/>
> 
> 

--

-- 
View this message in context: http://www.nabble.com/Tracing-into-JDK-tp19721759p19752845.html
Sent from the Netbeans - Users mailing list archive at Nabble.com.

John C. Turnbull | 1 Oct 07:34
Picon
Picon

Including a standard header with every source file

I am trying to have a header included at the top of every Java source file detailing the license etc. so I am attempting to modify the default templates to achieve this.  However, I cannot see where I am supposed to locate the file containing the license header.

 

The template has this line:

 

<#include "../Licenses/license-${project.license}.txt">

 

but what does the “..” refer to in this case, I mean it’s the parent directory to what exactly?  I have tried a few locations such as <user-dir>/config/Licenses to no avail.

 

Also, am I going about this the right way?

 

Thanks,

 

-JCT

Amotz Anner | 1 Oct 09:23

Re: nbdevs: if you know how to fix or know any Sun JDK engineers, please pass this along!

On Tue, 30 Sep 2008 17:20:05 -0400
Thomas Wolf <twolf <at> netforensics.com> wrote:

> 
> Ok,
> Since this is continuing to bite me and I was unsuccessful filing a
> bug for this at the Sun java site, I'm venting here.  So, if you
> happen to know any Sun JDK developers, please pass this along -
> thanks a bunch.
> 

This is a known Java bug, solved in one of the latest 6u10 builds (28
or 30). Adding the following: -Dsun.awt.disablegrab=true  to the VM
options (Project properties->run->VM options) prevents hanging. This is
only required for debugging, NOT for running the deployed application.
The bug id is 6714678.

--

-- 
Amotz Anner	mailto:amotz <at> anner.com
Founder, X.M.L Applications Ltd.
46 Jerusalem St. Flat 9B, Kfar-Saba, 44369, Israel.
Cellular: +972-54-6860707

Amotz Anner | 1 Oct 09:31

Re: Serious performance issues with NetBeans 6.5

On Wed, 1 Oct 2008 05:55:26 +1000
"John C. Turnbull" <ozemale <at> ozemail.com.au> wrote:

> Using NetBeans 6.5 development version and Java 6 Update 10 I am
> experiencing some very significant performance problems.  These
> relate to very simple operations, for example I just tried to open a
> Java package in the explorer and it took 25 minutes to actually
> open.  Yes, 25 minutes.  At other times I have tried to open a Java
> file and found that it took a similar time on some occasions.  Most
> of the time things happen relatively spontaneously but these problems
> are so significant that they are serious even if they only occur once
> or twice per day.  Curiously, more complex operations like
> refactoring have not produced any performance problems.
> 
>  
> 
> This is all happening on a very fast Windows Vista machine with 4GB
> of RAM.
> 
> 
> Any thoughts?
> 
>  
> 
> -JCT
> 

You imply using Windows. Windows is very susceptible to folders with
over about 30,000 files, and this can cause Explorer to become very
slow indeed. If that is the case either refactor you directory
structure, or switch to Linux. (ext3 partitions with folder of over
150,000 files don't faze Linux, with upcoming ext4 it will be even
more.)

BTW, in particular check all the temp folder scattered by Windows all
over, they may accumulate very many trash file.

--

-- 
Amotz Anner	mailto:amotz <at> anner.com
Founder, X.M.L Applications Ltd.
46 Jerusalem St. Flat 9B, Kfar-Saba, 44369, Israel.
Cellular: +972-54-6860707

Joao Cabral | 1 Oct 10:19
Picon
Gravatar

RE: nb6.1 web service client - bug?

xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

Hi

I'm having the same problem. I already updated JDK.

I´m running in a XP.

 

 

 

Cumprimentos,

João Cabral

 

 

Orientação Lda.

 

-----Mensagem original-----
De: Jaroslav.Pospisil <at> Sun.COM [mailto:Jaroslav.Pospisil <at> Sun.COM]
Enviada: segunda-feira, 29 de Setembro de 2008 8:13
Para: nbusers <at> netbeans.org
Assunto: Re: [nbusers] nb6.1 web service client - bug?

 

Hi,

do you have your NB6.1 updated with latest updates? (Tools>Plugins) I

remember such bug with .NET web services in NB6.1,but it was definitelly

fixed in

one of patches (which you get,when you install updates). Also, JDK

1.6.0_03 is a bit outdated and doesn't contain some important fixes. I

strongly suggest

to install JDK 1.6.0_10 instead.

 

-Jarek

 

Erik Steen Jakobsen wrote:

> Erik Steen Jakobsen skrev:

> I can follow up on this .

> In a Win Xp running in a virtual pc in the below mentioned

> winXP-64bit  everything is working like expected.

>

 

> differences seems small:

> xp -64

> Product Version: NetBeans IDE 6.1 (Build 200804211638)

> Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05

> System: Windows 2003 version 5.2 running on x86; Cp1252; da_DK (nb)

> Userdir: C:\Documents and Settings\xxx\.netbeans\6.1

>

 

> installed runtime: 1.6.0_07

> hotspot  10.0-b23

>

 

> virtual xp :

> Product Version: NetBeans IDE 6.1 (Build 200804211638)

> Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05

> System: Windows XP version 5.1 running on x86; Cp1252; da_DK (nb)

> Userdir: C:\Documents and Settings\xxx\.netbeans\6.1

>

 

> installed runtime: 1.6.0_03

> hotspot : 64-bit vm  1.6.0_03-5

>> I've been working on a project since NB was 5.5   (

>>

 

>> I've been expanding it now and then ...

>> I've now install a new Pc (win xp 64bit) and are using  NB 6.1 ...

>>

 

>> And now I cannot produce web -clients anymore

>> how to reproduce my problem:

>> Easy:  create an empty java project

>>    add a web-service client

>>        point it towards a web-service   ( using  the option wsdl-url 

>> : and the wsdl is available through the any browser)

>>            import wsdl  from service  ( here "intelligently" called

>> service1.asmx ( .net ))

>>

 

>> result -> : bingo! gone is my connection due to the following "error"

>> ---

>> Target "wsimport-client-service1.asmx" does not exist in the project

>> "wsClient-impl".

>> BUILD FAILED (total time: 0 seconds)

>> ---

>>

 

>> only place somthing called  "wsClient-impl" is in build-impl.xml

>> but this file is build without any notion of "target wsimport ..."

>>

 

>> Now ... what up Doc ???

>> Am I forgetting something ... or ?

>> Let me assure you ... in nb 5.5.1 it is still possible to declare

>> webservice clients.-)

>>

 

>>

 

>>

 

>>

 

>

 

daniel.jank | 1 Oct 10:14

Netbeans 6.0 - Web app - Design mode


Hi!

Some days ago I installed Netbeans 6.0 with Glassfish on a second PC and wanted to import some projects.
I installed every Plugin (woodstock) and the used Libraries.

When I try to open the design mode of a web page, nothing happens. The window stays grey.
I can compile & start the project. Netbeans shows no errors, but when the browser starts it shows also nothing.

Has anybody ideas?

Thanks!

Greetings Daniel
Lukas Hasik | 1 Oct 10:14
Picon

Re: Serious performance issues with NetBeans 6.5

John C. Turnbull wrote:

Using NetBeans 6.5 development version and Java 6 Update 10 I am experiencing some very significant performance problems.  These relate to very simple operations, for example I just tried to open a Java package in the explorer and it took 25 minutes to actually open.  Yes, 25 minutes.  At other times I have tried to open a Java file and found that it took a similar time on some occasions.  Most of the time things happen relatively spontaneously but these problems are so significant that they are serious even if they only occur once or twice per day.  Curiously, more complex operations like refactoring have not produced any performance problems.

 

This is all happening on a very fast Windows Vista machine with 4GB of RAM.


Any thoughts?

 

-JCT

What NB 65 build do you use? What kind of project - java, web, freeform? Can you take several thread dumps [1] when the IDE has the performance problems?

thank you
Lukas

[1] http://wiki.netbeans.org/GenerateThreadDump
-- Lukas Hasik NetBeans Platform & Core QA team lead http://blogs.sun.com/lukas http://blogs.sun.com/coreqa

Gmane