java.lang.NullPointerException: null


Solutions on the web

Solution icon of sonatype
via Sonatype JIRA by Rich Seddon, 9 months ago
null

Stack trace

java.lang.NullPointerException: null
	at org.odata4j.producer.jpa.JPQLGenerator.toJpqlLiteral(JPQLGenerator.java:93)[wrap_file__Users_rseddon_temp_nexus-3.2.0-01_system_org_sonatype_sisu_sisu-odata4j_0.0.7_sisu-odata4j-0.0.7.jar:0.0.0]
	at com.sonatype.nexus.repository.nuget.odata.ODataUtils$CaseInsensitiveJPQLGenerator.toJpqlLiteral(ODataUtils.java:332)[com.sonatype.nexus.plugins.nexus-repository-nuget:3.2.0.01]
	at com.sonatype.nexus.repository.nuget.odata.ODataUtils$CaseInsensitiveJPQLGenerator.toJpql(ODataUtils.java:311)[com.sonatype.nexus.plugins.nexus-repository-nuget:3.2.0.01]
	at org.odata4j.producer.jpa.JPQLGenerator.binaryCommonExpressionToJpql(JPQLGenerator.java:389)[wrap_file__Users_rseddon_temp_nexus-3.2.0-01_system_org_sonatype_sisu_sisu-odata4j_0.0.7_sisu-odata4j-0.0.7.jar:0.0.0]
	at org.odata4j.producer.jpa.JPQLGenerator.toJpql(JPQLGenerator.java:260)[wrap_file__Users_rseddon_temp_nexus-3.2.0-01_system_org_sonatype_sisu_sisu-odata4j_0.0.7_sisu-odata4j-0.0.7.jar:0.0.0]
	at org.odata4j.producer.jpa.JPQLGenerator.toJpql(JPQLGenerator.java:99)[wrap_file__Users_rseddon_temp_nexus-3.2.0-01_system_org_sonatype_sisu_sisu-odata4j_0.0.7_sisu-odata4j-0.0.7.jar:0.0.0]
	at com.sonatype.nexus.repository.nuget.odata.ODataUtils$CaseInsensitiveJPQLGenerator.toJpql(ODataUtils.java:324)[com.sonatype.nexus.plugins.nexus-repository-nuget:3.2.0.01]
	at org.odata4j.producer.jpa.JPQLGenerator.toJpql(JPQLGenerator.java:373)[wrap_file__Users_rseddon_temp_nexus-3.2.0-01_system_org_sonatype_sisu_sisu-odata4j_0.0.7_sisu-odata4j-0.0.7.jar:0.0.0]
	at org.odata4j.producer.jpa.JPQLGenerator.toJpql(JPQLGenerator.java:264)[wrap_file__Users_rseddon_temp_nexus-3.2.0-01_system_org_sonatype_sisu_sisu-odata4j_0.0.7_sisu-odata4j-0.0.7.jar:0.0.0]
	at org.odata4j.producer.jpa.JPQLGenerator.toJpql(JPQLGenerator.java:99)[wrap_file__Users_rseddon_temp_nexus-3.2.0-01_system_org_sonatype_sisu_sisu-odata4j_0.0.7_sisu-odata4j-0.0.7.jar:0.0.0]
	at com.sonatype.nexus.repository.nuget.odata.ODataUtils$CaseInsensitiveJPQLGenerator.toJpql(ODataUtils.java:324)[com.sonatype.nexus.plugins.nexus-repository-nuget:3.2.0.01]
	at org.odata4j.producer.jpa.JPQLGenerator.toJpql(JPQLGenerator.java:373)[wrap_file__Users_rseddon_temp_nexus-3.2.0-01_system_org_sonatype_sisu_sisu-odata4j_0.0.7_sisu-odata4j-0.0.7.jar:0.0.0]
	at org.odata4j.producer.jpa.JPQLGenerator.toJpql(JPQLGenerator.java:272)[wrap_file__Users_rseddon_temp_nexus-3.2.0-01_system_org_sonatype_sisu_sisu-odata4j_0.0.7_sisu-odata4j-0.0.7.jar:0.0.0]
	at org.odata4j.producer.jpa.JPQLGenerator.toJpql(JPQLGenerator.java:99)[wrap_file__Users_rseddon_temp_nexus-3.2.0-01_system_org_sonatype_sisu_sisu-odata4j_0.0.7_sisu-odata4j-0.0.7.jar:0.0.0]
	at com.sonatype.nexus.repository.nuget.odata.ODataUtils$CaseInsensitiveJPQLGenerator.toJpql(ODataUtils.java:324)[com.sonatype.nexus.plugins.nexus-repository-nuget:3.2.0.01]
	at org.odata4j.producer.jpa.JPQLGenerator.toJpql(JPQLGenerator.java:373)[wrap_file__Users_rseddon_temp_nexus-3.2.0-01_system_org_sonatype_sisu_sisu-odata4j_0.0.7_sisu-odata4j-0.0.7.jar:0.0.0]
	at org.odata4j.producer.jpa.JPQLGenerator.toJpql(JPQLGenerator.java:264)[wrap_file__Users_rseddon_temp_nexus-3.2.0-01_system_org_sonatype_sisu_sisu-odata4j_0.0.7_sisu-odata4j-0.0.7.jar:0.0.0]
	at com.sonatype.nexus.repository.nuget.odata.ODataUtils.query(ODataUtils.java:155)[com.sonatype.nexus.plugins.nexus-repository-nuget:3.2.0.01]
	at com.sonatype.nexus.repository.nuget.internal.NugetGalleryFacetImpl.queryFeed(NugetGalleryFacetImpl.java:204)[com.sonatype.nexus.plugins.nexus-repository-nuget:3.2.0.01]
	at org.sonatype.nexus.transaction.TransactionalWrapper.proceedWithTransaction(TransactionalWrapper.java:56)[org.sonatype.nexus.transaction:3.2.0.01]
	at org.sonatype.nexus.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:54)[org.sonatype.nexus.transaction:3.2.0.01]
	at com.sonatype.nexus.repository.nuget.internal.proxy.NugetProxyGalleryFacet.feed(NugetProxyGalleryFacet.java:208)[com.sonatype.nexus.plugins.nexus-repository-nuget:3.2.0.01]
	at com.sonatype.nexus.repository.nuget.internal.NugetFeedHandler.feed(NugetFeedHandler.java:70)[com.sonatype.nexus.plugins.nexus-repository-nuget:3.2.0.01]
	at com.sonatype.nexus.repository.nuget.internal.NugetFeedHandler.doHandle(NugetFeedHandler.java:50)[com.sonatype.nexus.plugins.nexus-repository-nuget:3.2.0.01]
	at com.sonatype.nexus.repository.nuget.internal.AbstractNugetHandler.handle(AbstractNugetHandler.java:47)[com.sonatype.nexus.plugins.nexus-repository-nuget:3.2.0.01]
	at com.sonatype.nexus.repository.nuget.internal.NugetFeedHandler.handle(NugetFeedHandler.java:1)[com.sonatype.nexus.plugins.nexus-repository-nuget:3.2.0.01]
	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80)[org.sonatype.nexus.repository:3.2.0.01]
	at org.sonatype.nexus.repository.storage.UnitOfWorkHandler.handle(UnitOfWorkHandler.java:39)[org.sonatype.nexus.repository:3.2.0.01]
	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80)[org.sonatype.nexus.repository:3.2.0.01]
	at org.sonatype.nexus.repository.security.SecurityHandler.handle(SecurityHandler.java:52)[org.sonatype.nexus.repository:3.2.0.01]
	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80)[org.sonatype.nexus.repository:3.2.0.01]
	at org.sonatype.nexus.repository.view.handlers.TimingHandler.handle(TimingHandler.java:46)[org.sonatype.nexus.repository:3.2.0.01]
	at org.sonatype.nexus.repository.view.Context.proceed(Context.java:80)[org.sonatype.nexus.repository:3.2.0.01]
	at org.sonatype.nexus.repository.view.Context.start(Context.java:114)[org.sonatype.nexus.repository:3.2.0.01]
	at org.sonatype.nexus.repository.view.Router.dispatch(Router.java:63)[org.sonatype.nexus.repository:3.2.0.01]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.