If you could include the code from your service, it would help to
diagnose the problem. As far as creating the service in eclipse, it's
nothing more that creating a new class that extends Service (unless
you're trying to implement an interface as well). I'd suggest starting
with a new project and building a very simple service from scratch
(i.e. without all the code you have already included in it). See if
the new simple service compiles and runs (you'll still need an
activity as android wont install an app without a main activity node),
then bit by bit, add your code to it, just make sure to compile and
test after every significant change.

On Nov 25, 4:34 pm, "Brad Gies" <[EMAIL PROTECTED]> wrote:
> Does anyone have a link to some step by step directions to creating a
> service in Eclipse (Ganymede)?
>
> I can't seem to get rid of the following error (below), and I'm not seeing
> what the problem is, but I'm sure it's because I haven't done something I
> should have :-).
>
> #
>
> # An unexpected error has been detected by Java Runtime Environment:
>
> #
>
> #  Internal Error (classFileParser.cpp:2924), pid=5188, tid=5112
>
> #  Error: ShouldNotReachHere()
>
> #
>
> # Java VM: Java HotSpot(TM) Client VM (10.0-b23 mixed mode windows-x86)
>
> # If you would like to submit a bug report, please visit:
>
> #  http://java.sun.com/webapps/bugreport/crash.jsp
>
> #
>
> ---------------  T H R E A D  ---------------
>
> Current thread (0x001c6000):  JavaThread "Unknown thread" [_thread_in_vm,
> id=5112, stack(0x00260000,0x002b0000)]
>
> Stack: [0x00260000,0x002b0000]
>
> [error occurred during error reporting (printing stack bounds), id
> 0xc0000005]
>
> ---------------  P R O C E S S  ---------------
>
> Java Threads: ( => current thread )
>
> Other Threads:
>
> =>0x001c6000 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=5112,
> stack(0x00260000,0x002b0000)]
>
> VM state:not at safepoint (not fully initialized)
>
> VM Mutex/Monitor currently owned by a thread: None
>
> Dynamic libraries:
>
> 0x00400000 - 0x00423000          C:\Program
> Files\Java\jre1.6.0_07\bin\javaw.exe
>
> 0x7c900000 - 0x7c9af000           C:\WINDOWS\system32\ntdll.dll
>
> 0x7c800000 - 0x7c8f6000           C:\WINDOWS\system32\kernel32.dll
>
> 0x77dd0000 - 0x77e6b000          C:\WINDOWS\system32\ADVAPI32.dll
>
> 0x77e70000 - 0x77f02000           C:\WINDOWS\system32\RPCRT4.dll
>
> 0x77fe0000 - 0x77ff1000             C:\WINDOWS\system32\Secur32.dll
>
> 0x7e410000 - 0x7e4a1000          C:\WINDOWS\system32\USER32.dll
>
> 0x77f10000 - 0x77f59000            C:\WINDOWS\system32\GDI32.dll
>
> 0x76390000 - 0x763ad000          C:\WINDOWS\system32\IMM32.DLL
>
> 0x629c0000 - 0x629c9000          C:\WINDOWS\system32\LPK.DLL
>
> 0x74d90000 - 0x74dfb000           C:\WINDOWS\system32\USP10.dll
>
> 0x003c0000 - 0x003db000          C:\WINDOWS\TEMP\logishrd\LVPrcInj01.dll
>
> 0x7c340000 - 0x7c396000          C:\Program
> Files\Java\jre1.6.0_07\bin\msvcr71.dll
>
> 0x6d7c0000 - 0x6da10000          C:\Program
> Files\Java\jre1.6.0_07\bin\client\jvm.dll
>
> 0x76b40000 - 0x76b6d000          C:\WINDOWS\system32\WINMM.dll
>
> 0x6d270000 - 0x6d278000          C:\Program
> Files\Java\jre1.6.0_07\bin\hpi.dll
>
> 0x76bf0000 - 0x76bfb000            C:\WINDOWS\system32\PSAPI.DLL
>
> 0x6d360000 - 0x6d389000          C:\Program
> Files\Java\jre1.6.0_07\bin\jdwp.dll
>
> 0x6d6c0000 - 0x6d6c6000          C:\Program
> Files\Java\jre1.6.0_07\bin\npt.dll
>
> 0x6d770000 - 0x6d77c000          C:\Program
> Files\Java\jre1.6.0_07\bin\verify.dll
>
> 0x6d310000 - 0x6d32f000           C:\Program
> Files\Java\jre1.6.0_07\bin\java.dll
>
> 0x6d7b0000 - 0x6d7bf000           C:\Program
> Files\Java\jre1.6.0_07\bin\zip.dll
>
> VM Arguments:
>
> jvm_args: -Xbootclasspath:C:\Program
> Files\Android\android-sdk-windows-1.0_r1\android.jar
> -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:2286
>
> java_command: com.pricebunny.client.PBService
>
> Launcher Type: SUN_STANDARD
>
> Environment Variables:
>
> PATH=C:\Program Files\Java\jre1.6.0_07\bin\client;C:\Program
> Files\Java\jre1.6.0_07\bin;C:\Program Files\Borland\Delphi7\Bin;C:\Program
> Files\Borland\Delphi7\Projects\Bpl\;C:\Program Files\CodeGear\RAD
> Studio\5.0\bin;C:\Documents and Settings\All Users\Documents\RAD
> Studio\5.0\Bpl;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\P r
> ogram Files\Intel\DMIX;C:\Program Files\Common Files\Roxio
> Shared\DLLShared\;c:\Program Files\Microsoft SQL
> Server\90\Tools\binn\;C:\Program
> Files\Android\android-sdk-windows-1.0_r1\tools;C:\Program Files\Microsoft
> SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL
> Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL
> Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL
> Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual
> Studio 8\Common7\IDE\PrivateAssemblies\
>
> USERNAME=Tax Prep
>
> OS=Windows_NT
>
> PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 9, GenuineIntel
>
> ---------------  S Y S T E M  ---------------
>
> OS: Windows XP Build 2600 Service Pack 3
>
> CPU:total 1 (1 cores per cpu, 1 threads per core) family 15 model 4 stepping
> 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3
>
> Memory: 4k page, physical 2097151k(1879884k free), swap 4194303k(3797252k
> free)
>
> vm_info: Java HotSpot(TM) Client VM (10.0-b23) for windows-x86 JRE
> (1.6.0_07-b06), built on Jun 10 2008 01:14:11 by "java_re" with MS VC++ 7.1
>
> time: Tue Nov 25 16:23:42 2008
>
> elapsed time: 0 seconds
>
> Sincerely,
>
> Brad Gies
>
> -----------------------------------------------------------------
>
> Brad Gies
>
> 27415 Greenfield Rd, # 2,
>
> Southfield, MI, USA
>
> 48076
>
> -----------------------------------------------------------------
>
> Moderation in everything, including abstinence
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to