Welcome to Dream.In.Code
Become a Java Expert!

Join 150,149 Java Programmers for FREE! Get instant access to thousands of Java experts, tutorials, code snippets, and more! There are 2,356 people online right now. Registration is fast and FREE... Join Now!




something wrong

 
Reply to this topicStart new topic

something wrong

narmer93
2 Aug, 2008 - 04:26 PM
Post #1

D.I.C Regular
***

Joined: 13 Mar, 2008
Posts: 253



Thanked: 2 times
My Contributions
hi i biggrin.gif i am a new java programmer using netbeans6.5 and i was following some tutorials from the netbeans site ,i was trying the Calculator tutorial from netbeans,it says create java application,right click>new>java frame form and after it is added,i see the panel and follow the tutorial and go with the design and the code with no problem,and now when it is time to run,i first build and when i run(f6) i recieve a message down
CODE
init:
init:
deps-jar:
compile:
run:
BUILD SUCCESSFUL (total time: 0 seconds)

and when i press ctrl+F5 i recieve the message


A com.sun.jdi.VMDisconnectedException exception has occurred.
Please report this at http://www.netbeans.org/community/issues.html,
including a copy of your messages.log file as an attachment.
The messages.log file is located in your C:\Documents and Settings\Administrator\.netbeans\6.5m1\var\log folder

and when i press show details,i get

com.sun.jdi.VMDisconnectedException: connection is closed
at com.sun.tools.jdi.TargetVM.send(TargetVM.java:274)
at com.sun.tools.jdi.VirtualMachineImpl.sendToTarget(VirtualMachineImpl.java:1011)
at com.sun.tools.jdi.PacketStream.send(PacketStream.java:41)
at com.sun.tools.jdi.JDWP$ThreadGroupReference$Name.enqueueCommand(JDWP.java:5790)
at com.sun.tools.jdi.JDWP$ThreadGroupReference$Name.process(JDWP.java:5776)
at com.sun.tools.jdi.ThreadGroupReferenceImpl.name(ThreadGroupReferenceImpl.java:45)
at org.netbeans.modules.debugger.jpda.models.JPDAThreadGroupImpl.getName(JPDAThreadGroupImpl.java:109)
at org.netbeans.modules.debugger.jpda.ui.models.DebuggingTreeModel.isSystem(DebuggingTreeModel.java:211)
at org.netbeans.modules.debugger.jpda.ui.models.DebuggingTreeModel.filterSystemThreads(DebuggingTreeModel.java:180)
at org.netbeans.modules.debugger.jpda.ui.models.DebuggingTreeModel.reorder(DebuggingTreeModel.java:157)
at org.netbeans.modules.debugger.jpda.ui.models.CachedChildrenTreeModel.getChildren(CachedChildrenTreeModel.java:87)
at org.netbeans.spi.viewmodel.Models$DelegatingTreeModel.getChildren(Models.java:1188)
at org.netbeans.modules.debugger.jpda.ui.models.DebuggingMonitorModel.getChildren(DebuggingMonitorModel.java:232)
at org.netbeans.spi.viewmodel.Models$CompoundTreeModel.getChildren(Models.java:668)
at org.netbeans.spi.viewmodel.Models$CompoundModel.getChildren(Models.java:2961)
at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.evaluateLazily(TreeModelNode.java:750)
at org.netbeans.modules.viewmodel.TreeModelNode$LazyEvaluator.run(TreeModelNode.java:1177)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)




now what? i have jdk and jre installed on the computer,what do u think can be the problem?
an suggestion,shold i work with the desktop application or what?

User is offlineProfile CardPM
+Quote Post

redzuan
RE: Something Wrong
2 Aug, 2008 - 07:55 PM
Post #2

New D.I.C Head
*

Joined: 21 Jul, 2008
Posts: 47


My Contributions
QUOTE(narmer93 @ 2 Aug, 2008 - 05:26 PM) *

hi i biggrin.gif i am a new java programmer using netbeans6.5 and i was following some tutorials from the netbeans site ,i was trying the Calculator tutorial from netbeans,it says create java application,right click>new>java frame form and after it is added,i see the panel and follow the tutorial and go with the design and the code with no problem,and now when it is time to run,i first build and when i run(f6) i recieve a message down
CODE
init:
init:
deps-jar:
compile:
run:
BUILD SUCCESSFUL (total time: 0 seconds)

and when i press ctrl+F5 i recieve the message


A com.sun.jdi.VMDisconnectedException exception has occurred.
Please report this at http://www.netbeans.org/community/issues.html,
including a copy of your messages.log file as an attachment.
The messages.log file is located in your C:\Documents and Settings\Administrator\.netbeans\6.5m1\var\log folder

and when i press show details,i get

com.sun.jdi.VMDisconnectedException: connection is closed
at com.sun.tools.jdi.TargetVM.send(TargetVM.java:274)
at com.sun.tools.jdi.VirtualMachineImpl.sendToTarget(VirtualMachineImpl.java:1011)
at com.sun.tools.jdi.PacketStream.send(PacketStream.java:41)
at com.sun.tools.jdi.JDWP$ThreadGroupReference$Name.enqueueCommand(JDWP.java:5790)
at com.sun.tools.jdi.JDWP$ThreadGroupReference$Name.process(JDWP.java:5776)
at com.sun.tools.jdi.ThreadGroupReferenceImpl.name(ThreadGroupReferenceImpl.java:45)
at org.netbeans.modules.debugger.jpda.models.JPDAThreadGroupImpl.getName(JPDAThreadGroupImpl.java:109)
at org.netbeans.modules.debugger.jpda.ui.models.DebuggingTreeModel.isSystem(DebuggingTreeModel.java:211)
at org.netbeans.modules.debugger.jpda.ui.models.DebuggingTreeModel.filterSystemThreads(DebuggingTreeModel.java:180)
at org.netbeans.modules.debugger.jpda.ui.models.DebuggingTreeModel.reorder(DebuggingTreeModel.java:157)
at org.netbeans.modules.debugger.jpda.ui.models.CachedChildrenTreeModel.getChildren(CachedChildrenTreeModel.java:87)
at org.netbeans.spi.viewmodel.Models$DelegatingTreeModel.getChildren(Models.java:1188)
at org.netbeans.modules.debugger.jpda.ui.models.DebuggingMonitorModel.getChildren(DebuggingMonitorModel.java:232)
at org.netbeans.spi.viewmodel.Models$CompoundTreeModel.getChildren(Models.java:668)
at org.netbeans.spi.viewmodel.Models$CompoundModel.getChildren(Models.java:2961)
at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.evaluateLazily(TreeModelNode.java:750)
at org.netbeans.modules.viewmodel.TreeModelNode$LazyEvaluator.run(TreeModelNode.java:1177)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)




now what? i have jdk and jre installed on the computer,what do u think can be the problem?
an suggestion,shold i work with the desktop application or what?


don't understand whats ur problm man...maybe try reboot it again.
User is offlineProfile CardPM
+Quote Post

lordms12
RE: Something Wrong
3 Aug, 2008 - 12:47 AM
Post #3

D.I.C Regular
Group Icon

Joined: 16 Feb, 2008
Posts: 322



Thanked: 17 times
Dream Kudos: 225
My Contributions
Use eclipse and download plug-in like jigloo (UI builder)

I know that's not the answer you was waiting for but just trying to save your time.

This post has been edited by lordms12: 3 Aug, 2008 - 12:50 AM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 02:30AM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Java Help!

Java Tutorials

Reference Sheets

Java Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month