Error at breakpoint

20 views
Skip to first unread message

Ken

unread,
Dec 8, 2009, 10:36:54 AM12/8/09
to jswat-discuss
I encounter an error when the debugger arrives at a breakpoint. I am
debugging by attaching to a running instance. I'm running JSwat from
the 4.5 binary. I believe I have followed the installation
instructions and readme properly. I tried removing my ~/.jswat
directory, but still receive the error.

Below is the message.log. Please let me know if I can provide more
information.

Thanks,
Ken

-------------------------------------------------------------------------------
>Log Session: Tuesday, December 8, 2009 10:23:23 AM EST
>System Info:
Product Version = JSwat 4.5
Operating System = Linux version 2.6.30-2-686 running on i386
Java; VM; Vendor = 1.6.0_16; Java HotSpot(TM) Server VM 14.2-
b01; Sun Microsystems Inc.
Runtime = Java(TM) SE Runtime Environment 1.6.0_16-
b01
Java Home = /usr/lib/jvm/java-6-sun-1.6.0.16/jre
System Locale; Encoding = en_US (jswat); UTF-8
Home Directory = /home/kbannister
Current Directory = /home/kbannister/dev/hoboware/v30
User Directory = /home/kbannister/.jswat
Installation = /home/kbannister/opt/jswat-4.5/jswat5
/home/kbannister/opt/jswat-4.5/ide10
/home/kbannister/opt/jswat-4.5/java2
/home/kbannister/opt/jswat-4.5/platform9
Boot & Ext. Classpath = /usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/
resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/rt.jar:/usr/lib/
jvm/java-6-sun-1.6.0.16/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-
sun-1.6.0.16/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/
jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/charsets.jar:/usr/lib/
jvm/java-6-sun-1.6.0.16/jre/classes:/usr/lib/jvm/java-6-sun-1.6.0.16/
jre/lib/ext/localedata.jar:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/
ext/sunjce_provider.jar:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/ext/
sunpkcs11.jar:/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/ext/dnsns.jar
Application Classpath = /home/kbannister/opt/jswat-4.5/platform9/
lib/boot.jar:/home/kbannister/opt/jswat-4.5/platform9/lib/org-openide-
modules.jar:/home/kbannister/opt/jswat-4.5/platform9/lib/org-openide-
util.jar:/home/kbannister/opt/jswat-4.5/platform9/lib/locale/
boot_ja.jar:/home/kbannister/opt/jswat-4.5/platform9/lib/locale/
boot_pt_BR.jar:/home/kbannister/opt/jswat-4.5/platform9/lib/locale/
boot_zh_CN.jar:/home/kbannister/opt/jswat-4.5/platform9/lib/locale/org-
openide-modules_ja.jar:/home/kbannister/opt/jswat-4.5/platform9/lib/
locale/org-openide-modules_pt_BR.jar:/home/kbannister/opt/jswat-4.5/
platform9/lib/locale/org-openide-modules_zh_CN.jar:/home/kbannister/
opt/jswat-4.5/platform9/lib/locale/org-openide-util_ja.jar:/home/
kbannister/opt/jswat-4.5/platform9/lib/locale/org-openide-
util_pt_BR.jar:/home/kbannister/opt/jswat-4.5/platform9/lib/locale/org-
openide-util_zh_CN.jar:/usr/lib/jvm/java-6-sun/lib/dt.jar:/usr/lib/jvm/
java-6-sun/lib/tools.jar
Startup Classpath = /home/kbannister/opt/jswat-4.5/platform9/
core/org-openide-filesystems.jar:/home/kbannister/opt/jswat-4.5/
platform9/core/core.jar:/home/kbannister/opt/jswat-4.5/platform9/core/
locale/core_zh_CN.jar:/home/kbannister/opt/jswat-4.5/platform9/core/
locale/core_pt_BR.jar:/home/kbannister/opt/jswat-4.5/platform9/core/
locale/core_ja.jar:/home/kbannister/opt/jswat-4.5/platform9/core/
locale/org-openide-filesystems_zh_CN.jar:/home/kbannister/opt/
jswat-4.5/platform9/core/locale/org-openide-filesystems_pt_BR.jar:/
home/kbannister/opt/jswat-4.5/platform9/core/locale/org-openide-
filesystems_ja.jar:/home/kbannister/opt/jswat-4.5/jswat5/core/locale/
core_jswat.jar
-------------------------------------------------------------------------------
WARNING: LibraryDeclarationHandlerImpl: Cannot create library: javac-
api of unknown type: j2se
INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
org.openide.util [7.18.1.1 1 200903060201]
org.openide.modules [7.7.1 200903060201]
org.openide.awt [7.3.1.1 200903060201]
org.netbeans.modules.editor.errorstripe.api/1 [2.5.1.1 1
200903060201]
org.jdesktop.layout/1 [1.6.1 1.0.3 200903060201]
org.netbeans.api.progress/1 [1.12.1.1 1 200903060201]
org.openide.dialogs [7.8.1 200903060201]
org.netbeans.swing.outline [1.1.1 200903060201]
org.openide.nodes [7.7.3.1 200903060201]
org.openide.explorer [6.16.3 1 200903060201]
org.openide.windows [6.24.1 200903060201]
org.openide.filesystems [7.13.1.1.1 1 200903060201]
org.netbeans.modules.editor.mimelookup/1 [1.10.1 200903060201]
org.openide.text [6.21.2 200903060201]
org.openide.actions [6.8.1.1 200903060201]
org.netbeans.bootstrap/1 [2.15.1 200903060201]
org.openide.io [1.13.1 200903060201]
org.netbeans.core.startup/1 [1.14.1.1 200903060201]
org.netbeans.modules.queries/1 [1.13.1 200903060201]
org.openide.loaders [7.2.3 200903060201]
org.netbeans.swing.plaf [1.8.1 200903060201]
org.netbeans.core/2 [3.10.4.1 200903060201]
org.openide.execution [1.12.1 200903060201]
org.netbeans.core.execution/1 [1.12.1.1 200903060201]
org.netbeans.spi.navigator/1 [1.7.1 200903060201]
org.netbeans.modules.editor.settings/1 [1.22.1 200903060201]
org.netbeans.modules.editor.util/1 [1.25.1 200903060201]
org.netbeans.modules.editor.settings.storage/1 [1.18.1 200903060201]
org.netbeans.modules.projectapi/1 [1.19.2 200903060201]
org.netbeans.modules.projectuiapi/1 [1.31.1.6 6 200903060201]
org.netbeans.spi.quicksearch [1.0.1 200903060201]
org.netbeans.modules.options.api/1 [1.10.2 200903060201]
com.bluemarsh.jswat.bcel/1 [1.0 090623]
org.netbeans.api.java.classpath/1 [1.18.2 200903060201]
com.bluemarsh.jswat.nbcore/1 [1.0 090623]
org.netbeans.libs.javacapi [0.7.1.1 1 200903060201]
org.netbeans.modules.classfile/1 [1.21.1 200903060201]
org.netbeans.libs.javacimpl/1 [0.9.2.7 7 200903060201]
org.netbeans.modules.lexer/2 [1.29.1.1 1 200903060201]
org.netbeans.modules.editor.lib2/1 [1.8.1.2 2 200903060201]
org.netbeans.libs.lucene/1 [2.4.1 2.3.2 200903060201]
org.netbeans.modules.editor.fold/1 [1.9.1 200903060201]
org.netbeans.modules.editor.lib/1 [1.29.2.8.2 8 200903060201]
org.netbeans.modules.editor.errorstripe/2 [2.5.1.1.1 1 200903060201]
org.netbeans.modules.javahelp/1 [2.11.1 200903060201]
org.openidex.util/3 [3.15.1 200903060201]
org.netbeans.swing.tabcontrol [1.13.1 200903060201]
org.netbeans.modules.editor.indent/2 [1.9.1.8 200903060201]
org.netbeans.modules.editor/3 [1.41.1.3.8.2 3 200903060201]
org.netbeans.modules.options.keymap [1.4.1 200903060201]
org.netbeans.modules.options.editor/1 [1.10.1 200903060201]
org.netbeans.modules.diff/1 [1.20.1.42.1 42 200903060201]
org.netbeans.modules.editor.guards/1 [1.2.1 200903060201]
org.netbeans.modules.refactoring.api [1.4.1 200903060201]
org.netbeans.api.java/1 [1.18.1 200903060201]
org.netbeans.spi.tasklist/1 [1.2.1 1 200903060201]
org.netbeans.modules.java.preprocessorbridge [1.6.1.1 1 200903060201]
org.netbeans.modules.java.platform/1 [1.11.1 200903060201]
org.netbeans.modules.masterfs/2 [2.15.2 200903060201]
org.netbeans.modules.java.lexer/1 [1.4.1 200903060201]
org.netbeans.modules.java.source [0.40.4.7.7 7 200903060201]
com.bluemarsh.jswat.ui/1 [1.0 090623]
com.bluemarsh.jswat.product/1 [1.0.6 090623]
org.netbeans.modules.editor.mimelookup.impl/1 [1.3.1 200903060201]
com.bluemarsh.jswat.help/1 [1.0 090623]
org.netbeans.modules.java.editor.lib/1 [1.9.1 200903060201]
org.netbeans.core.output2/1 [1.10.1.1 1 200903060201]
org.netbeans.modules.settings/1 [1.15.1 200903060201]
org.netbeans.core.windows/2 [2.12.3.1 200903060201]
org.netbeans.libs.jna/1 [1.1.2 200903060201]
org.netbeans.libs.jsr223/1 [1.8.1 6 200903060201]
org.netbeans.modules.autoupdate.services [1.5.2 200903060201]
org.netbeans.modules.autoupdate.ui [1.5.1 200903060201]
org.netbeans.modules.sendopts/2 [2.3.1 200903060201]
org.netbeans.modules.project.libraries/1 [1.19.2 200903060201]
org.netbeans.core.ui/1 [1.12.1 200903060201]
org.netbeans.modules.jumpto/1 [1.7.2 200903060201]
org.netbeans.modules.java.sourceui/1 [1.6.2.1.7 1 200903060201]
org.netbeans.modules.templates [1.3.1 200903060201]
org.netbeans.modules.favorites/1 [1.14.3 200903060201]
org.netbeans.modules.core.kit [1.2.4 200903060201]
org.netbeans.modules.lexer.nbbridge/1 [1.4.1.1 200903060201]
org.netbeans.modules.progress.ui [1.2.1 200903060201]
org.netbeans.modules.editor.completion/1 [1.13.2 1 200903060201]
org.netbeans.spi.editor.hints/0 [1.5.1.6.2 6 200903060201]
org.netbeans.modules.editor.codetemplates/1 [1.9.1.1.6 1
200903060201]
org.netbeans.core.nativeaccess/1 [1.1.2 200903060201]
com.bluemarsh.jswat.nodes/1 [1.0 090623]
com.bluemarsh.jswat.views/1 [1.0 090623]
org.netbeans.modules.editor.bracesmatching/0 [1.6.1 200903060201]
org.netbeans.modules.java.editor/1 [2.13.2.4.1.1.6 4 200903060201]
org.netbeans.modules.java.navigation/1 [1.9.1 200903060201]
org.netbeans.modules.utilities/1 [1.29.1 200903060201]
org.netbeans.modules.editor.plain.lib/1 [1.6.1 200903060201]
Diagnostic information
Input arguments:
-Djdk.home=/usr/lib/jvm/java-6-sun
-Dnetbeans.dirs=/home/kbannister/opt/jswat-4.5/jswat5:/home/
kbannister/opt/jswat-4.5/ide10:/home/kbannister/opt/jswat-4.5/java2:
-Dnetbeans.home=/home/kbannister/opt/jswat-4.5/platform9
-Xms32m
-Xmx128m
-XX:PermSize=32m
-XX:MaxPermSize=96m
-Xverify:none
Compiler: HotSpot Tiered Compilers
Heap memory usage: initial 32.0MB maximum 123.3MB
Non heap memory usage: initial 34.2MB maximum 144.0MB
Garbage collector: PS Scavenge (Collections=10 Total time spent=0s)
Garbage collector: PS MarkSweep (Collections=0 Total time spent=0s)
Classes: loaded=4285 total loaded=4285 unloaded 0
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory
2,899,472,384
INFO [null]: Total physical memory 2,899,472,384
WARNING [org.openide.filesystems.Ordering]: Not all children in
Loaders/text/x-java/Actions/ marked with the position attribute:
[RenameAction.instance], but some are: [OpenAction.instance,
Separator1.instance, Separator3.instance, CutAction.instance,
CopyAction.instance, PasteAction.instance, Separator2.instance,
NewAction.instance, DeleteAction.instance,
SaveAsTemplateAction.instance, Separator4.instance, org-netbeans-
modules-java-navigation-actions-InspectMembersAction.shadow, org-
netbeans-modules-java-navigation-actions-
InspectHierarchyAction.shadow, SeparatorJavaTools.instance,
FileSystemAction.instance, Separator5.instance, ToolsAction.instance,
PropertiesAction.instance]
WARNING [org.netbeans.api.java.source.JavaSource]: ClassPath identity
changed for /home/kbannister/dev/hoboware/v30/repo/Appleseed/
ChannelPlotControlBuilder.java, class path owner: null
WARNING [org.netbeans.api.java.source.JavaSource]: ClassPath identity
changed for /home/kbannister/dev/hoboware/v30/repo/Appleseed/
ChannelPlotControlBuilder.java, class path owner: null
WARNING [org.netbeans.api.java.source.JavaSource]: ClassPath identity
changed for /home/kbannister/dev/hoboware/v30/repo/Appleseed/
ChannelPlotControlBuilder.java, class path owner: null
SEVERE [com.bluemarsh.jswat.core.event.DefaultDispatcher]
java.lang.NullPointerException
at com.bluemarsh.jswat.nbcore.path.NetBeansPathManager
$FileObjectPathEntry.getURL(NetBeansPathManager.java:460)
at com.bluemarsh.jswat.ui.editor.SteppingSupport.showProgramCounter
(SteppingSupport.java:98)
at com.bluemarsh.jswat.ui.SessionWatcher.showProgramCounter
(SessionWatcher.java:201)
at com.bluemarsh.jswat.ui.SessionWatcher.suspended
(SessionWatcher.java:248)
at com.bluemarsh.jswat.core.session.SessionEventMulticaster.suspended
(SessionEventMulticaster.java:159)
at com.bluemarsh.jswat.core.session.SessionEventMulticaster.suspended
(SessionEventMulticaster.java:158)
at com.bluemarsh.jswat.core.session.SessionEventMulticaster.suspended
(SessionEventMulticaster.java:158)
at com.bluemarsh.jswat.core.session.SessionEventMulticaster.suspended
(SessionEventMulticaster.java:158)
at com.bluemarsh.jswat.core.session.SessionEventMulticaster.suspended
(SessionEventMulticaster.java:158)
at com.bluemarsh.jswat.core.session.SessionEventMulticaster.suspended
(SessionEventMulticaster.java:158)
at com.bluemarsh.jswat.core.session.SessionEventMulticaster.suspended
(SessionEventMulticaster.java:158)
at com.bluemarsh.jswat.core.session.SessionEventMulticaster.suspended
(SessionEventMulticaster.java:158)
at com.bluemarsh.jswat.core.session.SessionEventMulticaster.suspended
(SessionEventMulticaster.java:158)
at com.bluemarsh.jswat.core.session.SessionEvent$Type$6.fireEvent
(SessionEvent.java:83)
at com.bluemarsh.jswat.core.session.AbstractSession.fireEvent
(AbstractSession.java:98)
at com.bluemarsh.jswat.core.session.DefaultSession$3.eventOccurred
(DefaultSession.java:126)
[catch] at com.bluemarsh.jswat.core.event.DefaultDispatcher.run
(DefaultDispatcher.java:111)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:
441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

John Pritchard

unread,
Dec 8, 2009, 3:24:34 PM12/8/09
to jswat-...@googlegroups.com

Hi,
looks like a netbeans thing
is this useful?
http://www.google.com/search?q=WARNING%3A+LibraryDeclarationHandlerImpl%3A+Cannot+create+library%3A+javac-+api+of+unknown+type%3A+j2se

maybe a netbeans installation problem?

Cheers,
John



--

You received this message because you are subscribed to the Google Groups "jswat-discuss" group.
To post to this group, send email to jswat-...@googlegroups.com.
To unsubscribe from this group, send email to jswat-discus...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jswat-discuss?hl=en.





--
http://www.google.com/profiles/john.douglas.pritchard

Nathan Fiedler

unread,
Dec 9, 2009, 10:53:31 AM12/9/09
to jswat-...@googlegroups.com
Hi Ken

Sorry about that NPE, it was discovered earlier this year and fixed in
the source tree but a release has yet to be made. I want to make a new
release based on the NetBeans 6.7 platform but there are yet more
issues to be resolved in order to make that happen.

I believe the problem occurs when there is a path in either the
sourcepath or classpath that cannot be accessed by the JVM (maybe it
doesn't exist?). Look for anything in the sourcepath that you cannot
find on disk and remove it.

As for the problem John commented on, I do believe it's an issue in
NetBeans. I've tried to figure out a way around it but it's not
obvious.

Thanks

n

Ken

unread,
Dec 9, 2009, 2:24:15 PM12/9/09
to jswat-discuss
Nathan and John, thanks for your responses. The problem was inability
to find the .java source, which is in a separate tree.

I tried to help myself by building the 4.5 source. I'm not a NetBeans
user, so I installed 6.5 as directed. I was unable to build within the
IDE or from ant due to the following error. Is there a workaround?

BUILD FAILED
/home/kbannister/opt/netbeans-6.5/harness/suite.xml:106: The following
error occurred while executing this line:
/home/kbannister/opt/netbeans-6.5/harness/build.xml:98: Cannot compile
against a module: /home/kbannister/opt/netbeans-6.5/ide10/modules/org-
netbeans-api-java-classpath.jar because of dependency:
org.netbeans.api.java.classpath/1 > 1.18.2


On Dec 9, 10:53 am, Nathan Fiedler <nathanfied...@gmail.com> wrote:
> Hi Ken
>
> Sorry about that NPE, it was discovered earlier this year and fixed in
> the source tree but a release has yet to be made. I want to make a new
> release based on the NetBeans 6.7 platform but there are yet more
> issues to be resolved in order to make that happen.
>
> I believe the problem occurs when there is a path in either the
> sourcepath or classpath that cannot be accessed by the JVM (maybe it
> doesn't exist?). Look for anything in the sourcepath that you cannot
> find on disk and remove it.
>
> As for the problem John commented on, I do believe it's an issue in
> NetBeans. I've tried to figure out a way around it but it's not
> obvious.
>
> Thanks
>
> n
>
> On Tue, Dec 8, 2009 at 12:24 PM, John Pritchard <j...@wtkx.org> wrote:
>
> > Hi,
> > looks like a netbeans thing
> > is this useful?
> >http://www.google.com/search?q=WARNING%3A+LibraryDeclarationHandlerIm...
>
> > maybe a netbeans installation problem?
>
> > Cheers,
> > John
>

Nathan Fiedler

unread,
Dec 9, 2009, 3:21:30 PM12/9/09
to jswat-...@googlegroups.com
That probably happens because I updated the dependencies after
updating my installation of the NetBeans IDE. That is, at one point I
installed NB 6.5 and updated JSwat's source code. Then I updated the
IDE (e.g. 6.5 plus patches) and some of its modules were updated with
new version numbers. As a result I had to update the JSwat module
dependencies again.

So try checking for updates to NetBeans by opening the Tools menu,
selecting Plugins, and opening the Updates tab. If anything is there,
install them. If not, let me know and I'll see what can be done about
this.

n
Reply all
Reply to author
Forward
0 new messages