java.lang.IllegalStateException: No cursor that can return names

GitHub | dirkam | 7 months ago
  1. 0

    APT processor fails if there's no classes

    GitHub | 4 years ago | ssaarela
    java.lang.IllegalStateException: no source files or class names
  2. 0

    Assemble failed: no source files or class names

    GitHub | 1 year ago | nenodias
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.webcohesion.enunciate:enunciate-maven-plugin:2.0.0-RC.1:assemble (assemble) on project cad-war: Execution assemble of goal com.webcohesion.enunciate:enunciate-maven-plugin:2.0.0-RC.1:assemble failed: no source files or class names
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Enunciate Ant task failing - no source files or class names

    GitHub | 1 year ago | sdebacq
    java.lang.IllegalStateException: no source files or class names
  5. 0

    I am trying to the use cobertura reports while running sonar but when I add following to build.xml, the sonar task fails with IllegalStateException. <property name="sonar.cobertura.reportPath" value="/Hudson/jobs/***/workspace/modules/dotcom/build /reports/coverage.xml" /> /Hudson/jobs/*****/workspace/buildtool/build.xml:472: java.lang.IllegalStateException: Can not iterate children: cursor does not point to a start element (state CLOSED) at org.codehaus.staxmate.in.SMInputCursor.childCursor(SMInputCursor.java:1659) at org.codehaus.staxmate.in.SMInputCursor.childElementCursor(SMInputCursor.java:1781) at org.sonar.plugins.cobertura.api.AbstractCoberturaParser.collectFileData(AbstractCoberturaParser.java:99) at org.sonar.plugins.cobertura.api.AbstractCoberturaParser.collectFileMeasures(AbstractCoberturaParser.java:94) at org.sonar.plugins.cobertura.api.AbstractCoberturaParser.collectPackageMeasures(AbstractCoberturaParser.java:69) at org.sonar.plugins.cobertura.api.AbstractCoberturaParser.access$000(AbstractCoberturaParser.java:45) at org.sonar.plugins.cobertura.api.AbstractCoberturaParser$1.stream(AbstractCoberturaParser.java:54) at org.sonar.api.utils.StaxParser.parse(StaxParser.java:110) at org.sonar.api.utils.StaxParser.parse(StaxParser.java:90) at org.sonar.api.utils.StaxParser.parse(StaxParser.java:80) at org.sonar.plugins.cobertura.api.AbstractCoberturaParser.parseReport(AbstractCoberturaParser.java:60) at org.sonar.plugins.cobertura.CoberturaSensor.parseReport(CoberturaSensor.java:57) at org.sonar.plugins.cobertura.CoberturaSensor.analyse(CoberturaSensor.java:52) at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64) at org.sonar.batch.phases.Phases.execute(Phases.java:93) at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143) at org.sonar.batch.bootstrap.Module.start(Module.java:83) at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:115) at org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:105) at org.sonar.batch.bootstrap.Module.start(Module.java:83) at org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.java:109) at org.sonar.batch.bootstrap.Module.start(Module.java:83) at org.sonar.batch.Batch.execute(Batch.java:104) at org.sonar.ant.Launcher.execute(Launcher.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:600) at org.sonar.ant.SonarTask.delegateExecution(SonarTask.java:202) at org.sonar.ant.SonarTask.execute(SonarTask.java:186) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:600) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360) at org.apache.tools.ant.Project.executeTarget(Project.java:1329) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1212) at org.apache.tools.ant.Main.runBuild(Main.java:801) at org.apache.tools.ant.Main.startAnt(Main.java:218) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

    SonarSource JIRA | 5 years ago | Vijay
    java.lang.IllegalStateException: Can not iterate children: cursor does not point to a start element (state CLOSED)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      No cursor that can return names

      at net.xpece.android.support.preference.SortCursor.getColumnNames()
    2. net.xpece.android
      SortCursor.getColumnNames
      1. net.xpece.android.support.preference.SortCursor.getColumnNames(SortCursor.java:253)
      1 frame
    3. Android Platform
      AbstractCursor.getColumnIndexOrThrow
      1. android.database.AbstractCursor.getColumnIndex(AbstractCursor.java:283)
      2. android.database.AbstractCursor.getColumnIndexOrThrow(AbstractCursor.java:300)
      2 frames
    4. Android Support v4
      SimpleCursorAdapter.<init>
      1. android.support.v4.widget.CursorAdapter.init$f13d381(CursorAdapter.java:174)
      2. android.support.v4.widget.CursorAdapter.<init>(CursorAdapter.java)
      3. android.support.v4.widget.ResourceCursorAdapter.<init>(ResourceCursorAdapter.java)
      4. android.support.v4.widget.SimpleCursorAdapter.<init>(SimpleCursorAdapter.java)
      4 frames
    5. net.xpece.android
      XpRingtonePreferenceDialogFragment.onPrepareDialogBuilder
      1. net.xpece.android.support.preference.XpRingtonePreferenceDialogFragment.onPrepareDialogBuilder(XpRingtonePreferenceDialogFragment.java:195)
      1 frame
    6. android.support.v7
      PreferenceDialogFragmentCompat.onCreateDialog
      1. android.support.v7.preference.PreferenceDialogFragmentCompat.onCreateDialog(PreferenceDialogFragmentCompat.java:151)
      1 frame
    7. Android Support v4
      FragmentManagerImpl$1.run
      1. android.support.v4.app.DialogFragment.getLayoutInflater(DialogFragment.java:308)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
      3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252)
      4. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:742)
      5. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1617)
      6. android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:517)
      6 frames
    8. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:615)
      2. android.os.Handler.dispatchMessage(Handler.java:92)
      3. android.os.Looper.loop(Looper.java:137)
      4. android.app.ActivityThread.main(ActivityThread.java:4867)
      4 frames
    9. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Method.java)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    10. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1007)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:774)
      2 frames
    11. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(NativeStart.java)
      1 frame