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.

Bug 102246 - AIOB Exception while creating WebService client in Mobile app.
Summary: AIOB Exception while creating WebService client in Mobile app.
Status: RESOLVED DUPLICATE of bug 99661
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-23 23:54 UTC by pcmreddy
Modified: 2007-05-03 04:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pcmreddy 2007-04-23 23:54:34 UTC
NetBeans IDE Dev (Build 070423)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
en_US (nb); Cp1252

How to reproduce :
Using full bundle (NB + all packs)
Create a SOA Sample project.
Samples / SOA / Sync Sample.
Compile and deploy to bundled Appserver(including JBI)
Now create a Mobile application.
try to add a webservice client using previously deployed SOA app WSDL.
Ex: http://localhost:18181/SynchronousSample?WSDL

Observe the following exception while creating webservice client.


java.lang.ArrayIndexOutOfBoundsException: 1
	at com.sun.tools.javac.util.Position$LineMapImpl.build(Position.java:149)
	at com.sun.tools.javac.util.Position.makeLineMap(Position.java:63)
	at com.sun.tools.javac.parser.Scanner.getLineMap(Scanner.java:1122)
	at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:514)
	at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:552)
	at com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler.java:806)
	at com.sun.tools.javac.api.JavacTaskImpl.parse(JavacTaskImpl.java:268)
	at com.sun.tools.javac.api.JavacTaskImpl.parse(JavacTaskImpl.java:237)
	at
org.netbeans.modules.java.source.usages.RepositoryUpdater$CompileWorker.updateFile(RepositoryUpdater.java:1413)
	at
org.netbeans.modules.java.source.usages.RepositoryUpdater$CompileWorker.access$2000(RepositoryUpdater.java:818)
	at
org.netbeans.modules.java.source.usages.RepositoryUpdater$CompileWorker$1.run(RepositoryUpdater.java:990)
	at
org.netbeans.modules.java.source.usages.RepositoryUpdater$CompileWorker$1.run(RepositoryUpdater.java:846)
	at
org.netbeans.modules.java.source.usages.ClassIndexManager.writeLock(ClassIndexManager.java:78)
	at
org.netbeans.modules.java.source.usages.RepositoryUpdater$CompileWorker.run(RepositoryUpdater.java:843)
	at
org.netbeans.modules.java.source.usages.RepositoryUpdater$CompileWorker.run(RepositoryUpdater.java:818)
	at org.netbeans.api.java.source.JavaSource$CompilationJob.run(JavaSource.java:1179)
	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:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
[catch] at java.lang.Thread.run(Thread.java:619)
Comment 1 Jan Lahoda 2007-05-03 04:43:29 UTC

*** This issue has been marked as a duplicate of 99661 ***