This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hi, I´m using Netbeans 6.1 Mobility Pack and I´m developing a Midlet Application for BlackBerry Device. I use BB JDE 4.2.0. This is the description of the problem. I set breakpoints in the code. I debug the application, and receive this message in the output window: Copying 4 files to C:\Program Files\Research In Motion\BlackBerry JDE 4.2.0\simulator Copying D:\TRAVX\BlackBerry\BlackBerryTEx\BlackBerryTEx\dist\BlackBerryTEx.cso to C:\Program Files\Research In Motion\BlackBerry JDE 4.2.0\simulator\BlackBerryTEx.cso Copying D:\TRAVX\BlackBerry\BlackBerryTEx\BlackBerryTEx\dist\BlackBerryTEx.jad to C:\Program Files\Research In Motion\BlackBerry JDE 4.2.0\simulator\BlackBerryTEx.jad Copying D:\TRAVX\BlackBerry\BlackBerryTEx\BlackBerryTEx\dist\BlackBerryTEx.cod to C:\Program Files\Research In Motion\BlackBerry JDE 4.2.0\simulator\BlackBerryTEx.cod Copying D:\TRAVX\BlackBerry\BlackBerryTEx\BlackBerryTEx\dist\BlackBerryTEx.debug to C:\Program Files\Research In Motion\BlackBerry JDE 4.2.0\simulator\BlackBerryTEx.debug java.lang.NumberFormatException: For input string: "1 " at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:456) at java.lang.Integer.parseInt(Integer.java:497) at net.rim.ide.IDEProperties.getIntProperty(IDEProperties.java:345) at net.rim.ide.IDEProperties.getBoolProperty(IDEProperties.java:404) at net.rim.ide.SimulatorOptions.buildComponents(SimulatorOptions.java:440) at net.rim.ide.JDWPUI$c.<init>(JDWPUI.java:144) at net.rim.ide.JDWPUI.startUI(JDWPUI.java:388) at net.rim.ide.JDWP.init(JDWP.java:67) at net.rim.ide.JDWP.main(JDWP.java:57) nbdebug: Adding 777 second for debugger timeout KdpDebugTask connecting to debugger 1 .. Attached JPDA debugger to localhost:8000 This happens before attaching the simulator. The breakpoints are not hit. This is my build.xml file: <?xml version="1.0" encoding="UTF-8"?> <project name="" default="jar" basedir="."> <description>Builds, tests, and runs the project .</description> <import file="nbproject/build-impl.xml"/> <property name="rim.blackberry.home" location="C:\Program Files\Research In Motion\BlackBerry JDE 4.2.0"/> <property name="rim.blackberry.emulator" value="8100"/> <target name="post-jar"> <exec os="Windows NT Windows 95 Windows 98 Windows 2000 Windows XP" dir="${dist.dir}" executable="${rim.blackberry.home}/bin/rapc.exe" failonerror="true" resolveExecutable="true"> <arg value="import=${rim.blackberry.home}/lib/net_rim_api.jar"/> <arg value="codename=${name}"/> <arg value="${dist.jad}"/> <arg value="${dist.jar}"/> </exec> <copy file="${name}.alx" todir="${dist.dir}"/> </target> <target name="run" depends="init,jar"> <copy todir="C:\Program Files\Research In Motion\BlackBerry JDE 4.2.0\simulator" verbose="true"> <fileset dir="${dist.dir}"> <include name="**/${name}.*"/> </fileset> </copy> <exec os="Windows NT Windows 95 Windows 98 Windows 2000 Windows XP" dir="C:\Program Files\Research In Motion\BlackBerry JDE 4.2.0\simulator" executable="C:\Program Files\Research In Motion\BlackBerry JDE 4.2.0\simulator\${rim.blackberry.emulator}.bat" failonerror="true" resolveExecutable="true"/> </target> <target name="debug" depends="init,jar"> <copy todir="C:\Program Files\Research In Motion\BlackBerry JDE 4.2.0\simulator" verbose="true"> <fileset dir="${dist.dir}"> <include name="**/${name}.*"/> </fileset> </copy> <delete file="${preprocessed.dir}/.timestamp"/> <parallel> <property name="jpda.port" value="8000"/> <java jar="${rim.blackberry.home}/bin/JDWP.jar" fork="true" dir="${rim.blackberry.home}/bin"> <jvmarg value="-Xmx128M"/> </java> <sequential> <sleep seconds="5"/> <antcall target="nbdebug"/> </sequential> </parallel> </target> <target name="post-clean"> <echo>Post clean</echo> <delete> <fileset dir="C:\Program Files\Research In Motion\BlackBerry JDE 4.2.0\simulator"> <include name="**/${name}.*"/> </fileset> </delete> </target> </project> I think the problem is in the JDWP.jar Is this file supported by NetBeans? The strange thing is that the Netbeans IDE was debugging the app fine, then suddenly stop working. Thanks in advance. I appreciata any help.
This is likely some problem in RIM if you see at net.rim.ide.JDWP.main(JDWP.java:57). JDWP.jar is NetBeans, this is some RIM core library. Please note, RIM is not officially supported platform, so I am very limited to give you more advices or help. Strongly recommend to ask about this specific issue on RIM related mailing list.
We will try this to make for 7.0, but need RIM to response and help a bit.
Lowering the priority, not an officially supported platform. We do not have support from RIM yet.
BalckBerry is currently not supported. I'm moving this issue to the ENCHANTMENT because we may consider to implement BlackBerry support in one of the incoming releases.