java.lang.NullPointerException: Can't inject null value into class

0

hi community i am getting this error.......while run the jaspersoft application please tell me let me know.....and in source package how to update the roboguice 1.1.2 to 2.0b3 and later also......in roboguice 2.0b3 jar file contains some packages are missing how can i update that one........please help me

11-26 17:04:34.975: E/AndroidRuntime(712): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.jaspersoft.android.jaspermobile/com.jaspersoft.android.jaspermobile.activities.ServerProfilesManagerActivity}: java.lang.NullPointerException: Can't inject null value into class com.jaspersoft.android.jaspermobile.activities.ServerProfilesManagerActivity.breadCrumbsTitleLarge when field is not @Nullable
11-26 17:04:34.975: E/AndroidRuntime(712): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956)
11-26 17:04:34.975: E/AndroidRuntime(712): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
11-26 17:04:34.975: E/AndroidRuntime(712): at android.app.ActivityThread.access$600(ActivityThread.java:123)
11-26 17:04:34.975: E/AndroidRuntime(712): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
11-26 17:04:34.975: E/AndroidRuntime(712): at android.os.Handler.dispatchMessage(Handler.java:99)
11-26 17:04:34.975: E/AndroidRuntime(712): at android.os.Looper.loop(Looper.java:137)
11-26 17:04:34.975: E/AndroidRuntime(712): at android.app.ActivityThread.main(ActivityThread.java:4424)
11-26 17:04:34.975: E/AndroidRuntime(712): at java.lang.reflect.Method.invokeNative(Native Method)
11-26 17:04:34.975: E/AndroidRuntime(712): at java.lang.reflect.Method.invoke(Method.java:511)
11-26 17:04:34.975: E/AndroidRuntime(712): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
11-26 17:04:34.975: E/AndroidRuntime(712): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
11-26 17:04:34.975: E/AndroidRuntime(712): at dalvik.system.NativeStart.main(Native Method)
11-26 17:04:34.975: E/AndroidRuntime(712): Caused by: java.lang.NullPointerException: Can't inject null value into class com.jaspersoft.android.jaspermobile.activities.ServerProfilesManagerActivity.breadCrumbsTitleLarge when field is not @Nullable
11-26 17:04:34.975: E/AndroidRuntime(712): at roboguice.inject.ViewMembersInjector.reallyInjectMembers(ViewListener.java:108)
11-26 17:04:34.975: E/AndroidRuntime(712): at roboguice.inject.ContextScope.injectViews(ContextScope.java:91)
11-26 17:04:34.975: E/AndroidRuntime(712): at roboguice.activity.RoboListActivity.setContentView(RoboListActivity.java:59)
11-26 17:04:34.975: E/AndroidRuntime(712): at com.jaspersoft.android.jaspermobile.activities.ServerProfilesManagerActivity.onCreate(ServerProfilesManagerActivity.java:74)
11-26 17:04:34.975: E/AndroidRuntime(712): at android.app.Activity.performCreate(Activity.java:4465)
11-26 17:04:34.975: E/AndroidRuntime(712): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
11-26 17:04:34.975: E/AndroidRuntime(712): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
11-26 17:04:34.975: E/AndroidRuntime(712): ... 11 more
potnuru.sunil's picture
Joined: Nov 11 2012 - 11:03pm
Last seen: 6 years 11 months ago
This is not obvious what is your problem when you just post a log or stack trace without any description. Please ask questions here, at least... and be more informative ;)
igadzhega - 6 years 11 months ago
hi community i am getting this error.......while run the jaspersoft application please tell me let me know.....and in source package how to update the roboguice 1.1.2 to 2.0b3 and later also......in roboguice 2.0b3 jar file contains some packages are missing how can i update that one........please help me
potnuru.sunil - 6 years 11 months ago

1 Answer:

0

Here is official migration guide for upgrading from RoboGuice 1.1 to 2.0:

http://code.google.com/p/roboguice/wiki/UpgradingTo20

I hope this will help.

igadzhega's picture
104
Joined: Jan 16 2011 - 3:44am
Last seen: 5 years 8 months ago

while update that version i am getting this error in cmd prompt

suni@TrendwiseAnalytics:~/jasperws/jaspermobile-android-1.1-src$ mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building js-android-jaspermobile 1.1
[INFO] ------------------------------------------------------------------------
Downloading: http://jasperforge.org/svn/repos/maven2/android/support/compatibility-v4...
Downloading: http://repo1.maven.org/maven2/android/support/compatibility-v4/r6/compat...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.177s
[INFO] Finished at: Mon Nov 26 19:15:23 IST 2012
[INFO] Final Memory: 7M/39M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project js-android-jaspermobile: Could not resolve dependencies for project com.jaspersoft.android:js-android-jaspermobile:apk:1.1: Failed to collect dependencies for [com.google.android:android:jar:4.0.1.2 (provided), com.jaspersoft.android.sdk:js-android-sdk-client:jar:1.0 (compile), com.jaspersoft.android.sdk:js-android-sdk-ui:apklib:1.0 (compile), org.roboguice:roboguice:jar:2.0b3 (compile), com.google.code.findbugs:jsr305:jar:1.3.9 (test), android.support:compatibility-v4:jar:r6 (compile)]: Failed to read artifact descriptor for android.support:compatibility-v4:jar:r6: Could not transfer artifact android.support:compatibility-v4:pom:r6 from/to JasperForge Maven Repository (http://anonsvn:anonsvn@jasperforge.org/svn/repos/maven2): Error transferring file: Server returned HTTP response code: 503 for URL: http://jasperforge.org/svn/repos/maven2/android/support/compatibility-v4... -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionExc...

potnuru.sunil - 6 years 11 months ago

Try point it to http://anonsvn:anonsvn@code.jaspersoft.com/svn/repos/maven2 instead of jasperforge.org. The source code repositories have been moved to here with the move from jasperforge.org.

igadzhega - 6 years 11 months ago
Feedback
randomness